Re: s:select with multiple

2009-06-21 Thread Bhaarat Sharma
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 wrote: > Bhaarat Sharma wrote: > >> >> Reason1* >> Reason2* >> Reason3* >> Reason4 >> > > > >> >> When I submit this form I am gett

Re: s:select with multiple

2009-06-21 Thread Dave Newton
Bhaarat Sharma wrote: Reason1* Reason2* Reason3* Reason4 > 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 ac

s:select with multiple

2009-06-21 Thread Bhaarat Sharma
I have the following code for s:select tag Reason1* Reason2* Reason3* Reason4 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

Re: confusion about s:select with multiple true

2009-06-20 Thread Dave Newton
Bhaarat Sharma wrote: I have been playing around with this sample code: This works as I want it to. My question is, if I want values for 'list' and 'value' coming from the action class then should the method for list be returning a hashMap? and value be returning a list? is that the only way?

confusion about s:select with multiple true

2009-06-20 Thread Bhaarat Sharma
I have been playing around with this sample code: This works as I want it to. My question is, if I want values for 'list' and 'value' coming from the action class then should the method for list be returning a hashMap? and value be returning a list? is that the only way?