Hi I have tried out nested:select in both IE and netscape and it works
fine. The property bandList is the one I set in my nested beans which is
a collection (Arraylist ) of label Value beans(name-value pairs).
This is the syntax I use and the values are returned properly.
<nested:define id="Y" property="bandList"/>
         <nested:select property="bandName"
onchange="<%=\"trial(\"+counter+\")\"%>" >
        <html:options collection="Y" property="label"
labelProperty="value"/>
 </nested:select>       


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 14, 2002 2:21 PM
To: Struts Users Mailing List
Subject: select dropdown with a nested name-attribute doesnt work in any
browser - sends wrong value in request

Neither Mozilla nor IE are handling my HTML produced from nested tags.
They ignore any selection I make in a select dropdown when I submit. The
incoming parameters at the server show that the original value is always
sent. 

My HTML:

<select name="operationList[0].locationIdString">
<option value="0" selected="selected">-- please select --</option>
<option value="1">Strange Location</option>
<option value="2">Up a tree</option>
<option value="3">Kebabhouse</option>
</select>

In my debug logging, I see all the other parameters with correct values,
but I get operation[0].locationIdString=0 no matter what I select.

Is anybody successfully using nested dropdowns / select boxes? Why does
this affect both browsers? Am I going mad?

Adam

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

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

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

Reply via email to