[Seaside] trigger an exception into live callback evaluation

Bany, Michel mbany at cincom.com
Wed Oct 25 17:08:16 UTC 2006


I would suggest that you refresh your web browser
after you changed the code in the Smalltalk browser
to ensure that you are using the new version of the code.
HTH
Michel. 

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf 
> Of Joseph Blatter
> Sent: Wednesday, October 25, 2006 6:57 PM
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] trigger an exception into live callback evaluation
> 
> 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/ 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 


More information about the Seaside mailing list