[Seaside] JQCheckTree callback

Mirko mirko.kiefer at arcor.de
Tue Nov 24 23:56:42 UTC 2009


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



More information about the seaside mailing list