This wasn't the solution of my problem, thanks anyway. I found it
accidently: switching from a list to a comboBox is done by setting the
attribute "size" of the <html:select> tag to "1"


> -----Ursprüngliche Nachricht-----
> Von: Gus Delgado [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 9. August 2001 15:07
> An: [EMAIL PROTECTED]
> Betreff: RE: ComboBox
>
>
> create a collection an set it in the session:
>
> session.setAttribute("myCollection", myCollection)
>
> <html:select name="myForm" property="myProperty">
> <html:options collection="myCollection" property="value"
> labelProperty="label"/>
> </html:select>
>
> -----Original Message-----
> From: Bernhard J. Hirschmann [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 09, 2001 7:53 AM
> To: Struts-User
> Subject: ComboBox
>
>
>
> My <html:select> only displays a list of options, but how can I get
> something like a ComboBox instead of this list?
>
> Greetings
>
>

Reply via email to