Bhaarat Sharma wrote:
<select name="fmrTenant.terminationReason" size="9" id="
    DebtActionEditSave1_fmrTenant_terminationReason" multiple="multiple">
  <option value="1">Reason1*</option>
  <option value="2">Reason2*</option>
  <option value="3">Reason3*</option>
<option value="4">Reason4</option>
> </select>

When I submit this form I am getting the values like 1 2 3 4 back to my
action class just fine.   What if I want to get the content of the options
also? meaning what If I want to get back Reason1*, reason2* etc back to my
action class also?

*Also*?

That's not really how select tags work. You'd have to build the value manually and pull it apart again on the server side. I can't think of any reasons why you'd want to do that, though--what, exactly, are you trying to accomplish?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to