choiceDialog specifying the default selected item?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

choiceDialog specifying the default selected item?

stephane ducasse
Hi all

is there a way to specify the default selected item in a ChoiceDialog?
Should I really build my own Dialog :( ?

Stef

I did the following but I get a Request handling aborted :(




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

EnhChoiceDialog.1.cs (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: choiceDialog specifying the default selected item?

Lukas Renggli
Hi Stef

> is there a way to specify the default selected item in a ChoiceDialog?
> Should I really build my own Dialog :( ?

Yes, that seems to be an omission. I guess nobody ever used that
thing, except for some tutorials.

> I did the following but I get a Request handling aborted :(

It looks like in your code you send #options:seletion: to the
instance, while it is only defined in the class.

I integrated your (fixed) changes in the latest Seaside 2.9 code.

http://code.google.com/p/seaside/issues/detail?id=422

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside