[Seaside] [Q] Ordering Effect and Updater

"S.J.Chun" chunsj at embian.com
Tue Jul 17 08:43:59 UTC 2007


Hi,

My code snipper is this;

canvas submitButton
	onClick: (canvas effect
				id: 'kGoogle';
				highlight;
				onBeforeStart: (canvas updater
					id: 'kGoogle';
					triggerForm: 'searchForm';
					callback: [ :r | self searchWeb. r render: [ self renderResultsOn: r]]);
				return: false);
	text: 'Search'.

What I want is this, after search results are updated to kGoogle div, then kGoogle should
be highlighted. Current (above) code does not do that. It just highlights kGoogle div, as
soon as search results is sent.

Thanks in advance.





More information about the Seaside mailing list