[Seaside] trigger an exception into live callback evaluation

Joseph Blatter josephblatter62 at yahoo.com
Wed Oct 25 16:56:58 UTC 2006


hello all.

i was testing the following code in the browser and
noticed that the "1 hello" inside the live callback
block doesn't trigger a walkback when I select an item
in the list.

	aRenderer select
		list: #(1 2 3 4 5);
		selected: 2;
		labels: [:ea | ea printString ];
		callback:[:v |  selection := v ];
		liveCallback: [:anIndex :h | 
				1 hello.
				selection := anIndex.
				h span id: 'sel'; with: 'Value selected= ' ,
selection displayString
			].
		aRenderer space.
		aRenderer span id: 'sel'; with: 'Value selected= ' ,
selection displayString

is there a way to raise an exception in this case?
regards



__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 


More information about the Seaside mailing list