[Seaside] optionGroup -> callback does not fire

Max Leske maxleske at gmail.com
Sun Apr 21 10:40:03 UTC 2013


I think you need to add #beOnChange or something similar. That will add the script for the callback.

On 21.04.2013, at 12:24, Sabine Knöfel <sabine.knoefel at gmail.com> wrote:

> I want to use an optionGroup and copied the code from
> WAInputElementContainer>>renderNestedSelectionOn:.
> The callback does not fire. See below.
> Is this a bug?
> How can I force the callback to fire?
> 
> Sabine
> 
> |selectTag |
> selectTag := html select.
> selectTag
> 	callback: [ :value | value inspect ];
> 	selected: 'Lisp';
> 	with: [#(#('Functional' #('Haskell ' 'Lisp' 'ML')) #('Dataflow' #('G' 'Max'
> 'Prograph')))
> 	do: [ :list | 
> 		html optionGroup
> 			label: list first;
> 			with: [
> 				list second	
> 					do: [ :each | 
> 						html option
> 							value: each with: selectTag;
> 							with: each ] ] ] ].
> 
> 
> 
> --
> View this message in context: http://forum.world.st/optionGroup-callback-does-not-fire-tp4682815.html
> Sent from the Seaside General mailing list archive at Nabble.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