Re: Radio button selection is not being saved on the front end

2024-03-12 Thread Lukasz Lenart
ton, it does sound like this is because the value is being >> >> processed as a string literal and not as an Ognl expression. >> >> >> >> Cheers, >> >> >> >> Nate >> >> >> >> -Original Message- >>

Re: Radio button selection is not being saved on the front end

2024-03-11 Thread Lukasz Lenart
t; Nate >> >> -Original Message----- >> From: Lukasz Lenart >> Sent: Monday, 11 March 2024 07:23 >> To: Struts Users Mailing List >> Subject: Re: Radio button selection is not being saved on the front end >> >> pon., 11 mar 2024 o 04:54 Mahabir Gu

Re: Radio button selection is not being saved on the front end

2024-03-11 Thread Mahabir Gupta
enart > Sent: Monday, 11 March 2024 07:23 > To: Struts Users Mailing List > Subject: Re: Radio button selection is not being saved on the front end > > pon., 11 mar 2024 o 04:54 Mahabir Gupta napisał(a): > > The radio button is working perfectly when using Struts2. I only did a

RE: Radio button selection is not being saved on the front end

2024-03-11 Thread Nate Kerkhofs
l and not as an Ognl expression. Cheers, Nate -Original Message- From: Lukasz Lenart Sent: Monday, 11 March 2024 07:23 To: Struts Users Mailing List Subject: Re: Radio button selection is not being saved on the front end pon., 11 mar 2024 o 04:54 Mahabir Gupta napisał(a): > T

Re: Radio button selection is not being saved on the front end

2024-03-10 Thread Lukasz Lenart
pon., 11 mar 2024 o 04:54 Mahabir Gupta napisał(a): > The radio button is working perfectly when using Struts2. I only did an > upgrade the Struts6.3.0.2 without making any changes to the code. When using > Struts6.3.0.2 the radio button issue arises. There is no change of code made. Could you

Re: Radio button selection is not being saved on the front end

2024-03-10 Thread Mahabir Gupta
Dear Lukasz, The radio button is working perfectly when using Struts2. I only did an upgrade the Struts6.3.0.2 without making any changes to the code. When using Struts6.3.0.2 the radio button issue arises. There is no change of code made. Thank you. Regards Mahabir On Sat, Mar 9, 2024 at 10:37 

Re: Radio button selection is not being saved on the front end

2024-03-09 Thread Lukasz Lenart
śr., 6 mar 2024 o 08:08 Mahabir Gupta napisał(a): > DotsCarRental dotsCarRental = new DotsCarRental(); > dotsCarRental = (DotsCarRental) > session.getAttribute(DBConstants.sessionCarId); You don't have to create an instance if in the next line you assign a value from session, this is enough: Do

Re: Radio button selection is not being saved on the front end

2024-03-05 Thread Mahabir Gupta
Hi, I have some radio button where I can select one radio button at a time and safe it. It is being saved in the database but on the frontend it is not being saved. public class getDotsCarRentalAction extends GenericMappingDispatchAction{ public String saveCr(){ HttpSession session =

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

RE: Radio button grouping in Struts 2

2009-05-18 Thread Martin Gainty
nataraja...@cognizant.com > To: user@struts.apache.org > Subject: RE: Radio button grouping in Struts 2 > > > Hi, > > Can you please attach the sample source code for this? even I am facing > the same problem. I am new to Stru

RE: Radio button grouping in Struts 2

2009-05-18 Thread NR031
>> >> Basically your properties are a map with id and Question objects and then >> struts can repopulate your answers in the correct question object in the >> map. It works very nice. I used it for a page that had a random number of >> file uploads. >> >>

RE: Radio button grouping in Struts 2

2009-05-11 Thread jdt.me.uk
Pearson [mailto:jon.pear...@sixnet.com] > Sent: May 4, 2009 8:18 AM > To: Struts Users Mailing List > Subject: RE: Radio button grouping in Struts 2 > >> Hi all, >> >> I have a page which iterates over a collection of questions, >> with each question havin

RE: Radio button grouping in Struts 2

2009-05-04 Thread Radu Solomon
List Subject: RE: Radio button grouping in Struts 2 > Hi all, > > I have a page which iterates over a collection of questions, > with each question having a number of radio buttons which can > be used to select the answer to that question. For example: > > Question 1: Unan

RE: Radio button grouping in Struts 2

2009-05-04 Thread Jon Pearson
> Hi all, > > I have a page which iterates over a collection of questions, > with each question having a number of radio buttons which can > be used to select the answer to that question. For example: > > Question 1: Unanswered O Yes O No O > Question 2: Unanswered O Yes O No O > etc..

Re: Radio button in Iterator

2008-06-11 Thread ashley_in
I want to display the information in following format: user name add to group address jack O blah blah jimO some address -- View this message in context: http://www.nabble.com/Radio-butt

Re: Radio button in Iterator

2008-06-11 Thread ashley_in
My entries in the iterator are value objects and I need to display all information in my value object with radio on each row of table on my html page. -- View this message in context: http://www.nabble.com/Radio-button-in-Iterator-tp17776089p17776917.html Sent from the Struts - User mailing lis

Re: Radio button in Iterator

2008-06-11 Thread Jim Kiley
You don't need to use the tag to accomplish this; you can use the tag. Just put the list of options in the "list" attribute of (http://cwiki.apache.org/WW/radio.html has more details). If you don't want the label displayed against the radio button, consider changing the theme from "simple" to

Re: Radio button with two boolean choices

2008-02-28 Thread Paranoid_Fabio
ok.No matter. Thank you Paranoid_Fabio wrote: > > Hello. I know it's really simple but I cannot make it works. > What I want to do is to put a radio button with two options, in a form. > The attribute that will be set by selecting one of the two options is a > boolean. That's it, simpy a true/f

Re: Radio button with two boolean choices

2008-02-28 Thread Dave Newton
--- Paranoid_Fabio <[EMAIL PROTECTED]> wrote: > Now it's ok. Only a question... your advice works but the jsp editor says > me: Syntax Error in EL. Do you know why? Probably because the "#" character is used by other ELs and most JSP editors don't parse OGNL as its own EL, let alone its anonymous

Re: Radio button with two boolean choices

2008-02-28 Thread Paranoid_Fabio
Thank you very much. It works now. I tried it before, but instead of what you suggested me I was trying with: and it didn't work. Now it's ok. Only a question... your advice works but the jsp editor says me: Syntax Error in EL. Do you know why? (the part in Bold is what the ed

Re: Radio button with two boolean choices

2008-02-28 Thread Randy Burgess
Yes it is. Have you tried something like this: ? Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Paranoid_Fabio <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 28 Feb 2008 09:17:45 -0800 (PST) > To: > Subject: Radio button with two boo

Re: Radio Button - setting a to 'checked'

2007-07-23 Thread yitzle
On 7/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I also experience this problem with the radio button. Could you please give me an example of how this is done? My code: gives a 'true' output. If I change from radio to select it works ok, strange... Thanks in advance for your h

Re: Radio Button - setting a to 'checked'

2007-07-06 Thread Nuwan Chandrasoma
Hi, Set the property that is associated with the tag to with the value you want to be checked. Thanks, Nuwan - Original Message - From: "yitzle" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, July 06, 2007 4:14 PM Subject: Radio Button - setting a to 'checked

Re: Radio Button

2006-08-25 Thread krishan rathi
use the code given below cheers krishan rathi. sheetal <[EMAIL PROTECTED]> wrote: Hi, To prepopulate, list box , I had attached LabelValueBean, with the select's collection ,attribute ">property="value" labelProperty="label" /> But Does anybody knows how to associate l

RE: Radio button group

2006-04-18 Thread Vidya \(Suvarna\) Mahavadi
Thanks Vijay! -Original Message- From: vijay venkataraman [mailto:[EMAIL PROTECTED] Sent: Tuesday 18 April 2006 09:23 To: Struts Users Mailing List Subject: Re: Radio button group Vidya, Here is the basic concept and hope you can build on from that. To make a radio button group, you

Re: Radio button group

2006-04-18 Thread vijay venkataraman
Vidya, Here is the basic concept and hope you can build on from that. To make a radio button group, you have to have the names of radio buttons in the group the same. Say for row one on the table you have to render radio buttons of the form Accept Reject Ignore So above acts as a radio

Re: Radio button group

2006-04-17 Thread manivannan84
do you want to map the radio button to a bean ? -- Manivannan Palanichamy http://geocities.com/manivannan57 -Original Message- From: Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Tue, 18 Apr 2006 08:28:28 +0200 Subject: RE: Radio

RE: Radio button group

2006-04-17 Thread Vidya \(Suvarna\) Mahavadi
Guys, I am still struggling to find a way out.. Any ideas how to get this right! Regards -Original Message- From: Vidya (Suvarna) Mahavadi [mailto:[EMAIL PROTECTED] Sent: Thursday 13 April 2006 16:37 To: Struts Users Mailing List Subject: Radio button group Hi, I have a jsp with a

Re: Radio Button in ActionForm

2005-09-19 Thread Murray Collingwood
You do it exactly the same way, although you specify the values on the tags as you would for adding a new record. eg Male Female Struts will automatically check the radio control that matches the current value. Kind regards mc On 19 Sep 2005 at 18:04, rahul wrote: > hi all, > > I am look

RE: Radio Button in ActionForm

2005-09-19 Thread rahul
thank you very much It worked! > -Original Message- > From: Harland, David [mailto:[EMAIL PROTECTED] > Sent: Monday, September 19, 2005 6:07 PM > To: Struts Users Mailing List > Subject: RE: Radio Button in ActionForm > > > Initialise your Action Form set sec equa

RE: Radio Button in ActionForm

2005-09-19 Thread Harland, David
Initialise your Action Form set sec equal to 'M' or 'F'. Add the following to your jsp -Original Message- From: rahul [mailto:[EMAIL PROTECTED] Sent: 19 September 2005 13:34 To: Struts Users Mailing List Subject: Radio Button in ActionForm hi all, I am looking at some simplified

Re: Radio button for a 3rd level list

2005-05-10 Thread Rick Reumann
Kalyan Ayyagari wrote the following on 5/10/2005 12:16 PM: Here is what I'm trying to do: I get the top level list from the backend. The list contains the other lists that I already described before. Apart from that it contains the information based on which I have to generate the UI. That is, my U

RE: Radio button for a 3rd level list

2005-05-10 Thread Kalyan Ayyagari
From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 11:00 AM To: Struts Users Mailing List Subject: Re: Radio button for a 3rd level list Kalyan Ayyagari wrote the following on 5/10/2005 10:47 AM: > > public class Component{ > int id; > > boolean amISelected; }

Re: Radio button for a 3rd level list

2005-05-10 Thread Rick Reumann
Kalyan Ayyagari wrote the following on 5/10/2005 10:47 AM: public class Component{ int id; boolean amISelected; } My JSP needs to have a radio button for each component. For example, say level3List has 3 components, red, green and blue. Then the JSP will have 3 radio buttons, one for red, one for g

Re: Radio Button Default Values

2005-02-14 Thread Daniel Kies
Worked great, thank you very much. On Mon, 14 Feb 2005 11:45:00 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Daniel Kies" <[EMAIL PROTECTED]> > > and struts config for this dynaactionform is > > > > > > > > I just can't figure out how to get UPS as the default radio button > > selecte

Re: Radio Button Default Values

2005-02-14 Thread Wendy Smoak
From: "Daniel Kies" <[EMAIL PROTECTED]> > and struts config for this dynaactionform is > > > > I just can't figure out how to get UPS as the default radio button > selected. Any suggestions? Did you try using the 'initial' attribute of the tag? Example: -- Wendy Smoak ---

RE: radio button

2004-06-02 Thread Kamholz, Keith (corp-staff) USX
You just want a default value for the radio button? Just make sure the corresponding value in your form bean is set to the value for the radio button that you want selected by default. That's all. - Keith -Original Message- From: ravishankar boddupalli [mailto:[EMAIL PROTECTED] Sent: