You'll have to specify something like this:

 <html:select property="categories" size="1">
  <html:options collection="Categories_Collection" property="value" 
labelProperty="label"/>
  </html:select>

Is what you're doing?  I see a pulldown list with more than one value displayed at 
once.


>  -----Original Message-----
> From:         [EMAIL PROTECTED]@AFG   On Behalf Of "Fabian Sommer" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 10, 2002 10:12 AM
> To:   [EMAIL PROTECTED]
> Subject:      DropDown-Selects
> 
> Hello folks!
> 
> I got a problem thatīs perhaps noch struts-specific:
> 
> If I create a struts-html-select within a form with a size of 1, I
> expect to get a dropdown-list. Self-html describes this as the
> standard-behaviour. But when I have a look at my jsp I find a normal
> select-field with the size 1 and when I use the scroll-elements to its
> right, I just can scroll through my options, showing only one while I
> was hoping that there appears a dropdown-list when I click on the
> scroll-elements?
> Is this normal behaviour?
> And if so, how to create dropdown-lists within struts-forms?
> Thanks, Fabian Sommer
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 

Reply via email to