Newbie Q - Rendering drop down menu

2005-06-02 Thread Andy
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

Re: Newbie Q - Rendering drop down menu

2005-06-02 Thread Dave Newton
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

Re: Newbie Q - Rendering drop down menu

2005-06-02 Thread Brian Bezanson
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

Re: Newbie Q - Rendering drop down menu

2005-06-02 Thread Jeff Beal
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

RE: Newbie Q - Rendering drop down menu

2005-06-02 Thread Andy
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

Re: Newbie Q - Rendering drop down menu

2005-06-02 Thread Riyaz Mansoor
:) 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