RE: Radio button issue with list, map, collection, localisation and action class.

2009-11-04 Thread Qunhuan Mei
ruts Users Mailing List Subject: Re: Radio button issue with list, map, collection, localisation and action class. At least with String keys, it works fine: Code in your action: private Map myMap = new LinkedHashMap(); .. myMap .put("key1", "Yes");// or getText(..) myMap .pu

Re: Radio button issue with list, map, collection, localisation and action class.

2009-11-04 Thread Samuel Robert
=value" were shown together rather > than value were shown and the key were sent to the server after choice is > made. > > Cheers, Q > > -Original Message----- > From: Samuel Robert [mailto:samuelrobert@gmail.com] > Sent: 04 November 2009 16:07 > To:

RE: Radio button issue with list, map, collection, localisation and action class.

2009-11-04 Thread Qunhuan Mei
were sent to the server after choice is made. Cheers, Q -Original Message- From: Samuel Robert [mailto:samuelrobert@gmail.com] Sent: 04 November 2009 16:07 To: Struts Users Mailing List Subject: Re: Radio button issue with list, map, collection, localisation and action class. Thi

Re: Radio button issue with list, map, collection, localisation and action class.

2009-11-04 Thread Samuel Robert
This should also work: 2009/11/4 Greg Lindholm > You can't nest struts tags so you can't put a inside of > tag but you should be able to call getText(). > I would try this: > > value="true" /> > > > On Wed, Nov 4, 2009 at 10:44 AM, Qunhuan Mei > wrote: > > > Hi, > > > > > > > > For a s

Re: Radio button issue with list, map, collection, localisation and action class.

2009-11-04 Thread Greg Lindholm
You can't nest struts tags so you can't put a inside of tag but you should be able to call getText(). I would try this: On Wed, Nov 4, 2009 at 10:44 AM, Qunhuan Mei wrote: > Hi, > > > > For a single pair of radio buttons, e.g. "Yes" or "No" without > localisation, > the following jsp code

Radio button issue with list, map, collection, localisation and action class.

2009-11-04 Thread Qunhuan Mei
Hi, For a single pair of radio buttons, e.g. "Yes" or "No" without localisation, the following jsp code seems to be straight forward and will always come out with true/false returned to the server (localised Yes or No can be received on the server after user have made choice, but this is not t

Radio Button Issue

2006-08-10 Thread Krishna, Hari
Hi all, I am displaying a list of Radio buttons using inside a which is displaying the radio buttons properly.But when the selected value is submitted to the action i am unable to show the selected one in jsp.How to deal with Radio buttons more effectively (while passing values to action )and