Megatest

Diff
Login

Differences From Artifact [e5b104a203]:

To Artifact [41e384af97]:


13
14
15
16
17
18
19
20

21
22
23
24
25
26
27
28
29
30


31
32

33
34
35
36

37

38
39
40
13
14
15
16
17
18
19

20
21
22
23
24
25
26
27
28
29

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44







-
+









-
+
+


+




+

+




(define (home-action action)
  (case (string->symbol action)
    ((filter)
     (let ((target-type   (s:get-input 'target-type))
	   (target-filter (s:get-input 'tfilter))
	   (target        (s:get-input 'target))
	   (row-or-col    (s:get-input 'row-or-col)))
           (row-or-col    (s:get-input 'row-or-col)))
       ;;
       ;; s:set! is a page local var. Better than s:session-var-set! but still not a good idea.
       ;;
       (s:set! "row-or-col" (if (list? row-or-col)
				(string-intersperse row-or-col ",")
				row-or-col))
       (s:set! "target-type" target-type)
       (s:set! "tfilter" target-filter)
       (s:set! "target"  target)
       (s:set! "target-filter" target-filter)))
       (s:set! "target-filter" target-filter)
       ))
((filter2)
     (let ((tslice-select   (s:get-input 'tslice-select))
           (page (s:get-input 'page)) 
	   (t-slice-filter (s:get-input 't-slice-filter)))
       ;;
       ;; s:set! is a page local var. Better than s:session-var-set! but still not a good idea.
       ;;
        ;(s:set! "var" "xyz")
       (s:set! "tslice" tslice-select)
       (s:set! "page"  page)
       (s:set! "t-slice-patt" t-slice-filter)))
))