My mistake. Yeah, I knew it was against the convention so I have modified the code to take care of this. Thanks
On Sun, Jun 21, 2009 at 8:01 PM, Dave Newton <newton.d...@yahoo.com> wrote: > 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 > >