[Seaside] Weird behavior with select

Damien Cassou damien.cassou at gmail.com
Sun Jan 17 11:18:10 UTC 2010


Try the following code:

renderContentOn: html
   html form: [
	html select
			list: (1 to: 14);
			selected: list1  asString";
			callback: [:val | nil]".
			
	html submitButton: 'Ok']


when the #callback: is commented as it is here, selecting some values
in the list produces weird results. For example:

- selecting '3' and pressing OK opens the configure dialog
- '4' toggles the halos
- '5' produces a walkback
- '6' displays the memory footprint

What's the reason behind this?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry


More information about the seaside mailing list