Remove the size="10" and watch what happens... :)

The size directly maps to Html, where you're telling it how many rows 
you want it to span. Has nothing to do with how many options you have, 
that part will look after itself.

Arron.

Struts Newsgroup (@Basebeans.com) wrote:

>Subject: Re: is there drawdown select box in struts?
>From: "zb cong" <[EMAIL PROTECTED]>
> ===
>thanks for your answer
>
>see my code
>
> <html:select property="singleSelect" size="10" >
>        <html:option value="Single 0">Single 0</html:option>
>        <html:option value="Single 1">Single 1</html:option>
>        <html:option value="Single 2">Single 2</html:option>
>        <html:option value="Single 3">Single 3</html:option>
>        <html:option value="Single 4">Single 4</html:option>
>        <html:option value="Single 5">Single 5</html:option>
>        <html:option value="Single 6">Single 6</html:option>
>        <html:option value="Single 7">Single 7</html:option>
>        <html:option value="Single 8">Single 8</html:option>
>        <html:option value="Single 9">Single 9</html:option>
>        <html:option value="Single 10">Single 9</html:option>
>        <html:option value="Single 11">Single 9</html:option>
>        <html:option value="Single 12">Single 9</html:option>
>      </html:select>
>
>it give me a single select "list" box,but i want a single select "dropdown"
>box,could you help me to modify my code?
>thank you again
>
>"Arron Bates" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED].;
>
>>You do mean "dropdown" don't you?...
>>
>>The <html:select> tag will do both lists and single select drop down
>>boxes, in the same way that the Html select tag does both.
>>
>>Arron.
>>
>>Struts Newsgroup (@Basebeans.com) wrote:
>>
>>>Subject: is there drawdown select box in struts?
>>>From: "zb cong" <[EMAIL PROTECTED]>
>>>===
>>>hello
>>>
>>>i find that the "<html:select>" is a list select box,i wanna "drawdown"
>>>select box?
>>>
>>>how can i do?
>>>thank you very much!
>>>
>>>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
><mailto:[EMAIL PROTECTED]>
>
>>>For additional commands, e-mail:
>>>
><mailto:[EMAIL PROTECTED]>
>
>>>
>>
>>
>>--
>>To unsubscribe, e-mail:
>>
><mailto:[EMAIL PROTECTED]>
>
>>For additional commands, e-mail:
>>
><mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to