> I was wondering if there is any way to retrieve the selection 
> index of the <html:select> during the action.  The value that I'm 
> storing is the coded value for the description that it 
> represents (e.g. 1 for male, 2 for female).  Instead of taking the 
> value and hitting the database, I would like to take the selection 
> index and use that to pull the information out of a List that is stored 
> as a session variable.

No, the only thing submitted for a <select> group is the value attribute of
the selection.

But you can make a compound value, something like "1;male" and "2;female".
Then, when the form is submitted you simply break that string on the
semicolon and use whichever part is convenient.


--
Tim Slattery
[EMAIL PROTECTED]


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

Reply via email to