Support for optgroup ina select list

2003-08-30 Thread Richard Mixon
I've searched the documentation and mailing lists and find only a couple of oblique references to the optgroup option for select lists. Is there any way to support this directly or indirectly? Thanks - Richard - To

Multi-Select List Box

2003-02-01 Thread Cohan, Sean
If I use a collection to create a multi-select html:select, how do I get the selected items back to my action class? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multi-Select List Box

2003-02-01 Thread David Graham
Define a String[] in your form bean with the same name as your select box. David From: Cohan, Sean [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] Subject: Multi-Select List Box Date: Sat, 1 Feb 2003 11:39:40 -0500 If I use

RE: Multi-Select List Box

2003-02-01 Thread Cohan, Sean
Thanks. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 01, 2003 11:56 AM To: [EMAIL PROTECTED] Subject: Re: Multi-Select List Box Define a String[] in your form bean with the same name as your select box. David From: Cohan, Sean [EMAIL

Re: Multi-Select List Box

2003-02-01 Thread Guido
Can anyone post a sample? I don't know how to set the indexed properties. If I do: public void setSelectBox(int index, String item) { selectBox[index] = item; } i can get a NullPointerException or an ArrayIndexOutOfBoundsExceptions because I don't know selectBox array size... What is the

Re: Multi-Select List Box

2003-02-01 Thread David M. Karr
Guido == Guido [EMAIL PROTECTED] writes: Guido Can anyone post a sample? I don't know how to set the indexed properties. Guido If I do: Guido public void setSelectBox(int index, String item) { GuidoselectBox[index] = item; Guido } Guido i can get a

Re: Multi-Select List Box

2003-02-01 Thread David Graham
] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Multi-Select List Box Date: Sat, 1 Feb 2003 18:58:45 +0100 (MET) Can anyone post a sample? I don't know how to set the indexed properties. If I do: public void setSelectBox(int index, String item) { selectBox[index] = item; } i

How do I pre-select an element from a select list?

2002-03-21 Thread @Basebeans.com
Subject: How do I pre-select an element from a select list? From: Scott Danzig [EMAIL PROTECTED] === Hi, Using Struts, I'm able to create an instance of a form, and prepopulate it with various information, then have it display this information in HTML spawned from a JSP page after the forward

Re: How do I pre-select an element from a select list?

2002-03-21 Thread Sudipta Sarkar
Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How do I pre-select an element from a select list? Date: Thu, 21 Mar 2002 13:55:02 -0800 Subject: How do I pre-select an element from a select list? From: Scott Danzig [EMAIL PROTECTED] === Hi, Using Struts, I'm able to create

Re: How do I pre-select an element from a select list?

2002-03-21 Thread @Basebeans.com
Subject: Re: How do I pre-select an element from a select list? From: Scott Danzig [EMAIL PROTECTED] === This helps a lot... it was very clear. I'm stuck on one more thing. I need to dynamically set the preselected value from the Action class. I tried adding a property to the form

Re: How do I pre-select an element from a select list?

2002-03-21 Thread Jim Crossley
Remove the value attribute from the html:select tag. In your action's perform method, call formbean.setChoice(2) prior to forwarding the request to your jsp. Struts Newsgroup (@Basebeans.com) [EMAIL PROTECTED] writes: Subject: Re: How do I pre-select an element from a select list? From

Mainatinig Select list state

2001-09-06 Thread Vinay Cerejo
HI, I have two select lists, one filled with data and the other empty Lets call the filled list as AllElements and the empty list as UserElements AllElements UserElements -- --- | element1| | | |

Re: Mainatinig Select list state

2001-09-06 Thread Doug Smith
]' riant.com [EMAIL PROTECTED] cc: 09/06/2001 01:41 Subject: Mainatinig Select list state AM

Re: select list

2001-08-31 Thread chiji nwankwo
Hi, This might answer your question(s). http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg14470.html From: Aaron O'Hara <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: select list Date: Thu, 30 Aug 2001 10:04:54 -0700 MIME-Version: 1.0 Re

Re: select list

2001-08-30 Thread Blaine Kendall
: Thursday, August 30, 2001 1:04 PM Subject: select list All, I'm familiar with Java, but new to the struts framework and have what is probably an elementary question. I'm creating a database-driven application and on my JSP page I want to populate, amoung many things, a select list. In options

Design Q - Select List Data of possible values of a business object attribute

2001-07-24 Thread Mary Jo Serrino
as other attributes such as size, width, size, number) I have a database table, Container Types, that stores these values and related text descriptions (ID, Desc). The user interface (web) will access the data contained in the Shipment and Container objects. I need to present the user with a select list

Multiple Select List

2001-06-28 Thread Vaibhav Patil
Hello, I am trying to put a multiple select in the page list using struts tag. I have defined a array attribute in the corresponding form bean. The size of the select list as well as the array is three. But I am getting an Array OutofBound exception as soon as I submit the page. Please