You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "NARANJO-SANCHEZ, Annick" <a....@bouygues-construction.com> on 2001/04/19 09:47:36 UTC
RE: how to use a select option with a property from the form bean
?
Have a look at this reply of this user-list :
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg05661.html
Annick Naranjo Sanchez
a.naranjosanchez@bouygues-construction.com
-----Message d'origine-----
De : Roxie Rochat [mailto:rrochat@journee.com]
Envoyé : mercredi 18 avril 2001 20:40
À : struts-user@jakarta.apache.org
Objet : how to use a select option with a property from the form bean?
I would like to configure a form bean with a property that contains a
collection to be rendered as a select statement, but I can't get it to work.
If the options collection attribute is not specified, the docs say that you
can
specify just the property:
"The value of this attribute is the name of a property of the
ActionForm bean associated with our form, which will return the collection."
What should this collection look like? Can anyone point me at an example?
Thanks,
Roxie