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

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/

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 e

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 ? > > > > property="id"/> > You gave it a size of 10 so it makes a scrolling list with a size of 10 versus a drop-down me

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 ? Because you set the size: http://struts.apache.org/userGuide/struts-html.html#select Dave --