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

2024-03-12 Thread Lukasz Lenart
this means I have to wait for Struts > 6.4 before the radio button will be able to display on the frontend? > Kindly confirm. Thank you. > > Regards > Mahabir > > On Mon, Mar 11, 2024 at 5:29 PM Lukasz Lenart wrote: >> >> I assume you meant Struts 2.5 and I ass

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

2024-03-11 Thread Lukasz Lenart
l be fixed in Struts 6.4 >> (https://issues.apache.org/jira/browse/WW-5365). While it's not a Boolean >> radio button, it does sound like this is because the value is being >> processed as a string literal and not as an Ognl expression. >> >> Cheers, >> >&g

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

2024-03-11 Thread Mahabir Gupta
.4 ( > https://issues.apache.org/jira/browse/WW-5365). While it's not a Boolean > radio button, 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- > From: Lukasz L

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

2024-03-11 Thread Nate Kerkhofs
Łukasz, I think this might be related to the issue I reported in November last year which will be fixed in Struts 6.4 (https://issues.apache.org/jira/browse/WW-5365). While it's not a Boolean radio button, it does sound like this is because the value is being processed as a string litera

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.

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

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: [ask] How to pass multiple radio button in struts2

2018-12-24 Thread M Huzaifah
2018 11:44 AM >> To: Struts Users Mailing List >> Subject: [ask] How to pass multiple radio button in struts2 >> >> Hi Members, >> >> i would like to ask something about radio button in strtus2. >> >> i have radio button in jsp like this: >>

RE: [ask] How to pass multiple radio button in struts2

2018-12-22 Thread Yasser Zamani
t: [ask] How to pass multiple radio button in struts2 > >Hi Members, > >i would like to ask something about radio button in strtus2. > >i have radio button in jsp like this: > > > >All >Self >Custom > > > >All >Self >C

[ask] How to pass multiple radio button in struts2

2018-12-21 Thread M Huzaifah
Hi Members, i would like to ask something about radio button in strtus2. i have radio button in jsp like this: All Self Custom All Self Custom and in my JavaAction class i add property " private String viewAccess[]; “ also with setter and getter. the probl

Re: Tooltip not getting updated when radio button is changed

2013-03-15 Thread Lukasz Lenart
2013/3/15 : > if (whichANM == "2") { Maybe try === instead and whichANM is what kind of type? Did you try to use JavaScript debugger? Did you check the source code of the generated page? Is it related to Struts? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Struts 2 Radio Button for show and hide fields

2010-12-30 Thread Kushan Jayathilake
> I want to create two struts 2 radio button one for delegate,one for pull, > if i click delegate and submit only some of the fields i will show and some of the > fileds i will hide same like pull also. any body help my problem. > > Thanks and Regards, > Karthick G > Mobile:89713

Re: Struts 2 Radio Button for show and hide fields

2010-12-30 Thread tito
do you want to selectively show/hide certain fields on the page while selecting the radio button ? In tat case you can use a div tag and use display/block styles.The solution is not at all related to struts though and is purely javascript. As you work in Wipro,which is a software giant,guess it

Re: Struts 2 Radio Button for show and hide fields

2010-12-30 Thread Dave Newton
While I'm not entirely sure what you're asking, it sounds like trivial JavaScript, and unrelated to Struts. Dave On Thu, Dec 30, 2010 at 10:17 AM, wrote: > Hi, > I want to create two struts 2 radio button one for delegate,one for pull, > if i click delegate and submit only s

Struts 2 Radio Button for show and hide fields

2010-12-30 Thread karthick.gunasekaran
Hi, I want to create two struts 2 radio button one for delegate,one for pull, if i click delegate and submit only some of the fields i will show and some of the fileds i will hide same like pull also. any body help my problem. Thanks and Regards, Karthick G Mobile:8971318927 Please do not print

Re: Validation xml for Radio button

2010-11-15 Thread Li Ying
What data type of the property [yourAnswer] is ? If it is an int property, try delete the double-quotation surrounding the value 1. 2010/11/15 Prabhubalaji Ragavan : > Hi > I am using a radio option in my code. when i try to validate that thru the > validator.xml, the validation is not happenin

Validation xml for Radio button

2010-11-15 Thread Prabhubalaji Ragavan
Hi I am using a radio option in my code. when i try to validate that thru the validator.xml, the validation is not happening. this is my jsp content. this is my validator.xml content enter gen1 Please help, am new to struts2. Thanks Prabhu Ragavan

Retrieving random radio button value

2010-07-07 Thread oneofthelions
to set that same value to that radio button selected. [/code] My action class [code] public ActionForward doDel(ActionMapping mapping, ActionForm theForm, HttpServletRequest request, HttpServletRespons

s2: validation of checkbox a radio button

2009-11-18 Thread Ignacio de Córdoba
View this message in context: http://old.nabble.com/s2%3A-validation-of-checkbox-a-radio-button-tp26418892p26418892.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-uns

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

Re: Generating Dynamic radio button list

2009-06-25 Thread BlackKnight
dynamic raido buttom list using where optionvalue is stored in database equal #{'Faculty':'Faculty','Staff':'Staff','Resident':'Resident','Intern':'Intern'} however struts2 doesn't generate the radio butto

Re: Generating Dynamic radio button list

2009-06-24 Thread Jim Kiley
mic raido buttom list using > > > > where optionvalue is stored in database equal > > #{'Faculty':'Faculty','Staff':'Staff','Resident':'Resident','Intern':'Intern'} > > however struts2 doesn

Generating Dynamic radio button list

2009-06-24 Thread BlackKnight
Hi, I am trying to generate a dynamic raido buttom list using where optionvalue is stored in database equal #{'Faculty':'Faculty','Staff':'Staff','Resident':'Resident','Intern':'Intern'} however struts2 doesn&#x

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
> above works on page load (grouped nicely), but on submit I > get all kinds of OGNL errors complaining about long id > invalid expressions (understandable I guess). But when I > choose a sensible name, for example: > > > > I get an array of selected buttons in the target action

Radio button grouping in Struts 2

2009-05-04 Thread jdt.me.uk
s in the target action's responses property on submit but the radio grouping isn't working - you can only select on radio button from the whole page because they all share the same name element in the HTML. I then tried: To try and force struts to set the responses property, but it still

Radio button

2009-01-27 Thread elyes sallem
Hello, i display a liste of row that i get back from a database among the attribute, there one that i wanna display in a radio button if it is checked , i wanna save one value "PERM", else, i.e unchecked, an other value "revers" -- other attributes   in this case , if

Radio button default checked with Indexed properties

2008-11-14 Thread danipruebas
Hi, How can I get a radio button checked by default using indexed properties? I read in forums to do it in the reset method of the ActionForm, but dont know exactly how to do it... In my jsp I render X radio buttons, where X is the number of questions saved in the request Bean "choice

help with radio button array

2008-08-06 Thread cpanon
Hello I am trying to construct a model that has multiple radio buttons per object but keep them distinct, therefore they need a different name.  I almost have it by creating a array of objects and using nested iterate, with the code below.  However, of course it does not increment the index on t

Struts2 tags radio button default select

2008-08-04 Thread dynamicd
Hey I am trying to create a radio button and I want one of the values selected by default, I thought I could use the value to select by default. However Its not working. Any help is appreciated. -- View this message in context: http://www.nabble.com/Struts2-tags-radio-button-default-select

Re: Ajax based implementation for Radio Button in Struts 2.0

2008-07-08 Thread Jeromy Evans
to ur reply... Thanks, Srini. Simple solution (no ajax): include the s:optiontransferselect etc in hidden divs in the page. use javascript to show/hide the divs on radio button events. Ajax solution: Attach an event listener to the radio button (eg. with the onchange ). Have the listener publ

Ajax based implementation for Radio Button in Struts 2.0

2008-07-08 Thread AjaySrini
hanks, Srini. -- View this message in context: http://www.nabble.com/Ajax-based-implementation-for-Radio-Button-in-Struts-2.0-tp18338979p18338979.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

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

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

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 th

Radio button in Iterator

2008-06-11 Thread ashley_in
I am newbie and need to display radio button for per entry in the iterator. Also, I need one of the option selected based on the attribute value in the entry of the iterator and I don't want the label displayed against radio button. How can I accomplish this using Struts2 tags? Please

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. Tha

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
s what the editor highlight as syntax error...) 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

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 boolean choices

2008-02-28 Thread Paranoid_Fabio
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/false choice. 1) Is it possible to declare a s

Fwd: How to preselect a radio button in Struts 2

2007-11-20 Thread Pankaj Gupta
Hey, I tried it out   But it didn't worked. I tried name="users(${u_rowNum}) .access_lvl_types_id"/> But this was also of not much help. Sic eit didn't selected a radio button by default I want by default a value of radio button to be pre selected w

Re: How to preselect a radio button in Struts 2

2007-11-20 Thread Pankaj Gupta
Hey, I tried it out   But it didn't worked. I tried name="users(${u_rowNum}).access_lvl_types_id"/> But this was also of not much help. Sic eit didn't selected a radio button by default I want by default a value of radio button to be pre selected w

Re: How to preselect a radio button in Struts 2

2007-11-15 Thread Randy Burgess
; To: Struts Users Mailing List > Subject: Re: How to preselect a radio button in Struts 2 > > Hi, > I tried the same. But it didn't worked > list="{'Yes','No'}" value="No" required="true" /> > Regards, > Pankaj >

Re: How to preselect a radio button in Struts 2

2007-11-14 Thread Pankaj Gupta
Hi, I tried the same. But it didn't worked Regards, Pankaj On 11/14/07, Randy Burgess <[EMAIL PROTECTED]> wrote: > > Use the value attribute and the radio button with that value will be > selected. > > > > Regards, > Randy Burgess > Web Applica

Re: How to preselect a radio button in Struts 2

2007-11-14 Thread Martin Gainty
XWork expression too- http://struts.apache.org/2.0.11/docs/radio.html M-- - Original Message - From: "Randy Burgess" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, November 14, 2007 9:05 AM Subject: Re: How to preselect a radio button in

Re: How to preselect a radio button in Struts 2

2007-11-14 Thread Randy Burgess
Use the value attribute and the radio button with that value will be selected. Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: Pankaj Gupta <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 14 Nov 2007 10:42:20 +0530 > T

How to preselect a radio button in Struts 2

2007-11-13 Thread Pankaj Gupta
Hi, I am working on Struts 2 and I want to preselect a radio button. If somebody can let me know how to go about it. Regards, Pankaj

Radio Button Validation - Struts 2

2007-10-17 Thread Cory D. Wiles
How does one use server-side validation (requiredstring) for radio buttons? Thanks, Cory

RE: Client side validation for radio button

2007-10-12 Thread Mitch Claborn
In this case it is the xhtml theme. (Isn't specified in the mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2000 5:52 PM To: Struts Users Mailing List Subject: Re: Client side validation for radio button in your jsp head tag.. what value have you assigned to them

Re: Client side validation for radio button

2007-10-11 Thread Martin Gainty
in your jsp head tag.. what value have you assigned to theme? M- - Original Message - From: "Mitch Claborn" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Thursday, October 11, 2007 5:38 PM Subject: Client side validation for radio bu

Client side validation for radio button

2007-10-11 Thread Mitch Claborn
Using the xhtml theme, client-side validation for radio button is not working. I've tried both "required" and "requiredstring" but I suspect that none will work. The javascript code (from form-close-validation.ftl) does this: function validateForm_

RE: Struts 2 Radio button - seperate value/label

2007-08-30 Thread Dean Pullen
= new ArrayList(); (then added the relevant values) Then used this in the JSP: Et voila. -Original Message- From: Dean Pullen [mailto:[EMAIL PROTECTED] Sent: 30 August 2007 16:48 To: user@struts.apache.org Subject: Struts 2 Radio button - seperate value/label Hi guys. I can't

Struts 2 Radio button - seperate value/label

2007-08-30 Thread Dean Pullen
Hi guys. I can't work out via the Struts 2 documentation how to make a radio button have a separate value and label from a given Map. I'm trying: Where 'options' is a HashMap What I get out on the JSP is one radio button only, with the following text as the

Re: S1-1.3.8 Validation using 'validwhen' for radio button

2007-08-11 Thread Paul Benedict
ons (values 'Yes' and 'No') and on > selecting > any one of them either a drop down box is displayed or a text box is > displayed. > > I want to validate the text box or drop down box based on which radio > but

S1-1.3.8 Validation using 'validwhen' for radio button

2007-08-10 Thread Vivek Chauhan
this mailing list Thanks -- View this message in context: http://www.nabble.com/S1-1.3.8-Validation-using-%27validwhen%27-for-radio-button-tf4248440.html#a12090493 Sent from the Struts - User mailing list archive at Nabble.com. -

Re: Problem with radio button for one default selection

2007-07-25 Thread yitzle
s I am not able to make the default selection. is there anything to make one of the radio button deafultly selected. I found strange that for a checkbox there are two componants like checkbox and checkboxlist why can't we have something simillar to this for radio but

Problem with radio button for one default selection

2007-07-25 Thread Vamsi
. is there anything to make one of the radio button deafultly selected. I found strange that for a checkbox there are two componants like checkbox and checkboxlist why can't we have something simillar to this for radio button,so that it will more flexible for users when

SV: Radio Button - setting a to 'checked'

2007-07-23 Thread anine.louise.medhus-dale
ig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av yitzle Sendt: 23. juli 2007 17:04 Til: Struts Users Mailing List Emne: Re: Radio Button - setting a to 'checked' On 7/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I also experience

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

SV: Radio Button - setting a to 'checked'

2007-07-23 Thread anine.louise.medhus-dale
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 help :) ALM -Opprinnelig melding-

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: Ra

Radio Button - setting a to 'checked'

2007-07-06 Thread yitzle
How to I make a radio button get rendered as checked? I'm making several radio buttons, one per and they all render unchecked. Even when I generate several with one radio tag and a map, I can't figure out how to set one

RE: Regarding dynamic radio button..

2007-02-20 Thread Vijay Prajapati
dynamic radio button.. On 2/20/07, Vijay Prajapati <[EMAIL PROTECTED]> wrote: > > > > > I am using Struts2.0.1. > > I have created groups of 3 dynamic radiobuttons through iterator(Array List) tag. But I have to give different names to these groups. I am here giving code whic

Re: Regarding dynamic radio button..

2007-02-20 Thread Tim Williams
my jsp. Here "groupname" is collection(ArrayList which store groupname(String)) in Action class. So can I user name as value of collection so every radio button would have different name as per collection value? So Help me to assign different names for each radio but

Regarding dynamic radio button..

2007-02-20 Thread Vijay Prajapati
groupname(String)) in Action class. So can I user name as value of collection so every radio button would have different name as per collection value? So Help me to assign different names for each radio button group. With Regards, | Vijay Prajapati | | Sr. Software Engineer | | Real Soft (Intl

Re: Struts 1.3.5 - Radio Button validation

2007-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Laurie, Laurie Harper wrote: > Actually, assuming it's a radio button group that maps to a single > property, you probably just need the 'required' validation to ensure > that property has a value. You should only need

Re: Struts 1.3.5 - Radio Button validation

2007-01-30 Thread Laurie Harper
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pushkar, [EMAIL PROTECTED] wrote: Can you please tell me whether I can validate a set of radio buttons so that atleast one of them is checked, using the struts validation.xml? Is there a pre-defined validator method (like

Re: Struts 1.3.5 - Radio Button validation

2007-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pushkar, [EMAIL PROTECTED] wrote: > Can you please tell me whether I can validate a set of radio buttons so that > atleast one of them is checked, using the struts validation.xml? Is there a > pre-defined validator method (like required) defined for t

Struts 1.3.5 - Radio Button validation

2007-01-30 Thread pushkar . p
Hi all, Can you please tell me whether I can validate a set of radio buttons so that atleast one of them is checked, using the struts validation.xml? Is there a pre-defined validator method (like required) defined for that or will I have to write a custom validator method? Thanks. -Pushkar

Re: Struts Dynamic Radio Button Query

2007-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Priya, Priya Khanna wrote: > My problem is that both the questions and the number of radio buttons > needs to be dynamic (based on what is currently in the database). I can > iterate through the questions and display them in the table but I am > unsur

RE: Struts Dynamic Radio Button Query

2007-01-10 Thread Barun Kumar Yadav
Is your problem in retrieving the options from the DB or is it with displaying it on the JSP. _barun -Original Message- From: Priya Khanna [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 1:22 PM To: user@struts.apache.org Subject: Struts Dynamic Radio Button Query Hi

RE: Struts Dynamic Radio Button Query

2007-01-10 Thread Anjishnu Bandyopadhyay
Hi Priya, You can use a for each Question row. For each question, you can have another inner for each answer radio button. <%-- Question comes h

Struts Dynamic Radio Button Query

2007-01-09 Thread Priya Khanna
Hi All, I am attempting to create a (fairly) simple web app using struts.I need to create a table of questions with each question having radio buttons (a range of numeric values) so the user can input and submit their answers: question1o o o o o o o o question2o o o o o o o o

Re: Multiple radio button groups

2006-09-27 Thread yamilka vallejo ramos
or a radio group? if it is just one radio button group, i can get it from the property of the form bean. But when i there are multiple radio button groups, then how do i get the value of each of the button groups. I already spent a day of my time on this. Please advice me on this. Please direct

Re: Multiple radio button groups

2006-09-26 Thread Chris Pratt
].primary_or_adjunct" > > value="A" checked="checked" onclick="">Pri. > >> name="apprEntry[0].primary_or_adjunct" > > value="B" onclick="">Adj. > > ... > > > >

Re: Multiple radio button groups

2006-09-26 Thread Uday Chandra Karrothi
;>Adj. > ... > >name="apprEntry[1].primary_or_adjunct" > value="A" checked="checked" onclick="">Pri. >name="apprEntry[1].primary_or_adjunct" > value="B" onclick=""

Re: Multiple radio button groups

2006-09-26 Thread Chris Pratt
the radio with the same name are considered in one group . Now how do i obtain the value or which radio button is checked. Can I access in Javascript or in the action class.? Please do let me know. Thank you for your response once again. Uday Karrothi On 9/26/06, Chris Pratt <[EMAIL PR

Re: Multiple radio button groups

2006-09-26 Thread Uday Chandra Karrothi
considered in one group . Now how do i obtain the value or which radio button is checked. Can I access in Javascript or in the action class.? Please do let me know. Thank you for your response once again. Uday Karrothi On 9/26/06, Chris Pratt <[EMAIL PROTECTED]> wrote: All the radio butto

Re: Multiple radio button groups

2006-09-26 Thread Chris Pratt
All the radio buttons (or checkboxes) with the same name are in a "button group". The value of the selected radio button (or list of selected checkboxes) is returned from request.getParameter() (or request.getParameterValues()). (*Chris*) On 9/26/06, Uday Chandra Karrothi <[EM

Multiple radio button groups

2006-09-26 Thread Uday Chandra Karrothi
Hi there, I have a problem. I am using groups of radio buttons. .. Pri. Adj. .. How can get the value of the selected radio buttons in the action form. Is there something like a multibox for a radio group? if it is just one radio button group, i can get it from the property of the form

Re: Radio Button

2006-08-25 Thread krishan rathi
But Does anybody knows how to associate labelvaluebean with radio button } (As per my knowledge we do not have a collection attrib. for radio). Regards, Sheetal - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Radio Button

2006-08-24 Thread sheetal
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 labelvaluebean with radio button } (A

Re: check box should behaves as radio button

2006-08-16 Thread Aladin Alaily
l for helping me in Struts problem > here now i got stucked in one problem > > Here i need to show check box in UI but this must behaves like Radio > button > so how to do that i wrote java script to do that but it is not working > perfectly > > please help

check box should behaves as radio button

2006-08-16 Thread Parvat Singh Ranawat
Hi, Thanks to all for helping me in Struts problem here now i got stucked in one problem Here i need to show check box in UI but this must behaves like Radio button so how to do that i wrote java script to do that but it is not working perfectly please help me out Thanks in advance Shakti

Radio Button Issue

2006-08-10 Thread Krishna, Hari
)and how to show the selected radio button in jsp? With Best Regards, I.Hari krishna. Franklin Templeton Investments +91- 44 - 24407000 Extn:17123 -- Notice: All email and instant

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

Radio button group

2006-04-13 Thread Vidya \(Suvarna\) Mahavadi
Hi, I have a jsp with a table showing few records of data where each record corresponds to an object of a bean. Beside the bean data I need to have a radio button group with (Approve, Reject and Ignore). Can any one help me to put the bean object and the radio button group together.. in Jsp

  1   2   >