>From http://www.w3.org/TR/html401/interact/forms.html#h-17.6:

"size = number [CN]
    If a SELECT element is presented as a scrolled list box, this
attribute specifies the number of rows in the list that should be
visible at the same time. Visual user agents are not required to
present a SELECT element as a list box; they may use any other
mechanism, such as a drop-down menu."

In other words, the size attribute that you are using *tells* the
browser to show up to ten rows from the selection list at once.  What
did you think it was for, out of curiosity?

-- Jeff

On 6/2/05, Andy <[EMAIL PROTECTED]> wrote:
> 
> Hi All,
> 
> Why does the following render as a box containing text (you know what I
> mean - where you can select multiple items) rather than a drop down menu ?
> 
>  <bean:define id="countryList" property="countryList" name="SearchForm"/>
>      <html:select size="10" property="countryList">
>      <html:options collection="countryList" labelProperty="displayName"
> property="id"/>
>             </html:select>
> 
> I mean how else can you define select and options? *confused*
> 
> Andy.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to