JQCheckTree callback

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

JQCheckTree callback

Mirko-2
Hi,
I'm trying to get the CheckTree from the JQWidgetBox library to return
the selected items everytime a checkbox is checked.

I tried out the following two modifications to JQCheckTreeExample that
didn't work:

renderContentOn: html
        |id|
        id := 'ul.tree'.
  html unorderedList
                class: 'tree';
                script: ((html jQuery id: id) checkTree onCheck: (html jQuery ajax
callback: [:values | values ...]));
                with: [self renderCheckTreeOn: html]

and:

renderContentOn: html
        |id|
        id := 'ul.tree'.
  html unorderedList
                class: 'tree';
                script: ((html jQuery id: id) checkTree onCheck:
                        (trigger: [ :values | values ... ]
                                passengers: (html jQuery this find 'li'));
                with: [self renderCheckTreeOn: html]

Would be great if someone could help me on this.

Thanks,
Mirko

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside