How to do a select ?

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

How to do a select ?

Guillaume Bourachot
Hi !

I'm a newbie, and I want to know how to do a select with the content of an OrederedCollection for options, in seaside.
Thanks for your help

Guillaume Bourachot

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to do a select ?

cbeler
hi

depends if you use the WARenderCanvas or the old one... if so (browse
for sender of select (you should find exemples):

WAConfigurationEditor>> visitListAttribute: anAttrib with: html   (last
version of seaside)

html select
    list: <your collection>   ;
    selected:  ... ;
    callback: [:value |...] ;
    labels: [:each | ....]

ps: to use WARenderCanvas, put in your component
rendererClass
    ^WARenderCanvas


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