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
Andy wrote:
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
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
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
Thanks all, that was indeed the problem.
-Original Message-
From: Jeff Beal [mailto:[EMAIL PROTECTED]
Sent: 02 June 2005 18:01
To: Struts Users Mailing List
Subject: Re: Newbie Q - Rendering drop down menu
From http://www.w3.org/TR/html401/interact/forms.html#h-17.6:
size = number [CN
:) when i first read HTML, my first impression was SELECT.size was the
same INPUT.size hehe. ie it renders a box/select which contains that
many approximate characters
IMHO, honestly, i think its a bad choice of attribute name. rows as in
TEXTAREA.rows would have been more appropriate than
6 matches
Mail list logo