Re: Radio Buttons issue in 6.3.x

2024-03-20 Thread Lukasz Lenart
śr., 20 mar 2024 o 19:45 Nordmeyer, William, E (Serco NA) napisał(a): > > I remember reading a few months back about an issue with radio buttons in > Struts 6.3 and that the issue was going to be resolved in 6.4. > > 2 questions - > 1. is there a bug entry that I can referen

Radio Buttons issue in 6.3.x

2024-03-20 Thread Nordmeyer, William, E (Serco NA)
I remember reading a few months back about an issue with radio buttons in Struts 6.3 and that the issue was going to be resolved in 6.4. 2 questions - 1. is there a bug entry that I can reference and monitor? 2. Is there a timeline for when 6.4 will be released? Will This e-mail and

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: Dynamically generating multiple sets of radio buttons

2018-03-03 Thread Dave Weis
That was it! It's now putting key-value pairs in the map obtained by getVariation and they appear when I get to the execute method. 08:19:35.682 ERROR CartAction - getVariation was called 08:19:35.698 ERROR CartAction - getVariation was called 08:19:36.086 DEBUG CartAction - cart action execute 08

Re: Dynamically generating multiple sets of radio buttons

2018-03-02 Thread Yasser Zamani
On 2/27/2018 4:37 PM, Dave Weis wrote: > value="1500"/>HOTTER > public void setVariation(HashMap variationItem){ > > logger.error("setVariation was called with variations"); > > for (Map.Entry entry : variationItem.entrySet()) { > String key = entry.getKey(); > Str

Re: Dynamically generating multiple sets of radio buttons

2018-02-27 Thread Dave Weis
I've distilled my issue down a bit. Now I can't get my indexed setters to be called with the values from the page. This is in my HTML created with the radio tag: HOT HOTTER Small Medium Large My setter in the destination action is: public void setVariati

Re: Dynamically generating multiple sets of radio buttons

2018-02-25 Thread Dave Weis
I'm trying to make a form that can contain an arbitrary number of attribute choices. Think of a tshirt with color and size. I have a Product that contains Variations (size, color) that contain VariationItems (blue, XL). The variation can be either a dropdown or a radio button set. we

Re: Dynamically generating multiple sets of radio buttons

2018-02-25 Thread Dave Newton
* of the list varies by list content then the list should be presented in a structure that represents that, e.g., Class ViewList { String representation; // e.g., “radio”, “dropdown”, etc. List items; // The things to show } If it depends on actions *taken* in the view layer

Dynamically generating multiple sets of radio buttons

2018-02-24 Thread Dave Weis
Hello I am trying to make multiple sets of radio buttons with independent lists of valid options. The options are all generated dynamically. I'm having trouble figuring out how to declare the item list provider in my java code. I have it working fine for a single item. With the sample be

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: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Mounir Benzid
Fair question... it's because the right label which is the localised name of the current TicketDescription will be determined only by the choosen locale during runtime and is not knowm during compile time. For instance German clients will be presented with German translations. Someone in France

Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Dave Newton
Why not just build the list with the right label already in it? Dave On Wed, Jun 27, 2012 at 8:01 AM, Mounir Benzid wrote: > > Can I do something along the lines of this? > > > list="ticketDescriptions" > li

Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Mounir Benzid
Can I do something along the lines of this? using #this as a reference for the current TicketDescription instance. Am 6/27/2012 1:41 PM, schrieb Mounir Benzid: Like this? String getTicketLabelById(Long id) { TicketDescription td = lookupTicketDescriptionBy(id); .

Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Mounir Benzid
Like this? String getTicketLabelById(Long id) { TicketDescription td = lookupTicketDescriptionBy(id); } The only downside I see is the lookup that has to be carried out every time the method is called, since in theory I'm already iterating through the appropri

Re: How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Dave Newton
My idea would be to create presentation layer data outside of the JSP. Dave On Wed, Jun 27, 2012 at 6:38 AM, Mounir Benzid wrote: > Hi > > > here's the deal. > > Suppose I want to display a tag showing a list of > TicketDescriptions where each has the property ticketName, i.e. a method > getTi

How to string concatenate listValue in struts (radio) tag?

2012-06-27 Thread Mounir Benzid
Hi here's the deal. Suppose I want to display a tag showing a list of TicketDescriptions where each has the property ticketName, i.e. a method getTicketName()). getTicketName itself returns an instance of type LocalizedString for which I wrote a custom struts conversion. LocalizedString is

freemarker radio tag with map literals [solved, kind of]

2011-10-13 Thread struts . rgm
I'm having a hard time using the freemarker syntax radio tag. This works fine: <@s.radio name="cars" list=[ "ford", "toyota" ] /> But using a literal map does not: <@s.radio name="cars" list={ "ford" : "mustang", "to

Re: Handling dynamic set of radio buttons

2011-02-17 Thread Dave Newton
Yep :) Check out the type conversion docs; they discuss array and map naming conventions. Dave On Feb 17, 2011 8:58 PM, "Nick Broadhurst" wrote: > Thanks Dave. > > So are you saying have a Map property in the Action and the first radio > button would have Map position 1

Re: Handling dynamic set of radio buttons

2011-02-17 Thread Nick Broadhurst
Thanks Dave. So are you saying have a Map property in the Action and the first radio button would have Map position 1 as its name? Nick On Thu, Feb 17, 2011 at 2:40 PM, Dave Newton wrote: > Use a map or array rather than actual field names that include the index as > part of the field

Re: Handling dynamic set of radio buttons

2011-02-17 Thread Dave Newton
Use a map or array rather than actual field names that include the index as part of the field names. dave On Feb 17, 2011 12:04 PM, "Nick Broadhurst" wrote: > Hi Folks, > > I have a set of radio buttons and text fields that display based on user > selections from

Handling dynamic set of radio buttons

2011-02-17 Thread Nick Broadhurst
Hi Folks, I have a set of radio buttons and text fields that display based on user selections from prior page. This code: displays it fine and names the radio/text inputs, but is there any other way to accept this info in my submit action than hard coding the field

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 validati

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

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

Re: Passing Value through Radio Buttons in struts

2010-06-30 Thread Paweł Wielgus
e that takes in a name and a text and runs an algo on the > text and then asks for user feedback. > > I use radio Buttons to ask for the feedback (Positive or Negative) > > Therein lies the catch.. I am not able to pass the value from the radio > button onto the bean and hence to the

Passing Value through Radio Buttons in struts

2010-06-29 Thread akshay.ramani
Hi, I have a bit of a problem and would appreciate some help! I am creating a page that takes in a name and a text and runs an algo on the text and then asks for user feedback. I use radio Buttons to ask for the feedback (Positive or Negative) Therein lies the catch.. I am not able to pass the

Re: Dynamic list of radio buttons

2010-04-24 Thread Mario Lipinski
Creating the html forms itself is not a problem. However i would like to have a dynamic amount of radio button sets. So to use this radio buttons within a loop with dynamic size. So how to set the name of the radio button? For each set one value should be selected. So the name must be unique

RE: Dynamic list of radio buttons

2010-04-23 Thread Martin Gainty
truts.apache.org > Subject: Re: Dynamic list of radio buttons > > Hi, > > thank you for your reply. > Taking your comments I ended with the following jsp code: > > > > > > > > > > > > > Having for

Re: Dynamic list of radio buttons

2010-04-23 Thread Mario Lipinski
Hi, thank you for your reply. Taking your comments I ended with the following jsp code: Having for example two datasets in results, I can only select one radio button (because the name has no dynamic component in the name). I tried something

RE: Dynamic list of radio buttons

2010-04-23 Thread Martin Gainty
le contenu fourni. > Date: Fri, 23 Apr 2010 15:55:52 -0700 > From: ma...@lipinski.tk > To: user@struts.apache.org > Subject: Dynamic list of radio buttons > > Hello, > > I am wondering how to create a dynamic form containing a set of radio > buttons. > > So

Dynamic list of radio buttons

2010-04-23 Thread Mario Lipinski
Hello, I am wondering how to create a dynamic form containing a set of radio buttons. So I have an iterable list of database results. Any of the results should be rated using radio buttons. When the form is submitted I want to have a hashmap with an id as the key and the value selected

s2: validation of checkbox a radio button

2009-11-18 Thread Ignacio de Córdoba
a value even if you don't checkit. I guess the same happens with a group of radio buttons. (all with the same field name). They have a value. I have not found a OGNL expression that might work. Anybody know how to solve this? I'd like to use simple client side validation. Thanks, Ignacio --

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
nhuan Mei > Greg and Samuel, > > Thank you very much indeed for your quick response. Your suggestions are > indeed working! > > Just out from my curiosity, would it be possible to achieve the same effect > by the code from the action class (I have got no more clue since all m

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

2009-11-04 Thread Qunhuan Mei
, radio) said "If the list is a Map (key, value), the Map key will become the option 'value' parameter and the Map value will become the option body." But when I tried my "map" list, the "key=value" were shown together rather than value were shown and the key

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

2009-11-04 Thread Samuel Robert
n Mei > wrote: > > > 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

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" wit

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 cho

RE: Not display value next to radio

2009-10-15 Thread Lee Clemens
ou are using and the HTML? -Original Message- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: Thursday, October 15, 2009 3:17 PM To: 'Struts Users Mailing List' Subject: RE: Not display value next to radio U tried it But it still display the

RE: Not display value next to radio

2009-10-15 Thread Odelya YomTov
U tried it But it still display the value next to the radio button.. -Original Message- From: Lee Clemens [mailto:j...@leeclemens.net] Sent: Thursday, October 15, 2009 2:35 AM To: 'Struts Users Mailing List' Subject: RE: Not display value next to radio You can iterate t

RE: Not display value next to radio

2009-10-14 Thread Lee Clemens
You can iterate through the answers to create the tags, and then iterate through the same answers again to create the radio buttons -Original Message- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: Wednesday, October 14, 2009 3:30 PM To: 'Struts Users Mailing List' Su

Not display value next to radio

2009-10-14 Thread Odelya YomTov
Hi! I would like to display a question, and next to it radio button option but in a table. In the table header, I will display the 1,2,3 option like this: 1 2 3 But I must enter list!! When I enter values,it displays them next to the radio button. How can I do it

Re: iterator and radio struts2

2009-10-13 Thread Odelya YomTov
hi! the problem was that i didn't have a get method for id and content. Now my question is: when i run the page, the source code writes the radio buttons like this: what i need it to save the answer for each question. how can i do it? what variable do i have to declare in the action clas

RE: iterator and radio struts2

2009-10-13 Thread Lee Clemens
It looks like you may be able to nest tags to achieve this. --Lee -Original Message- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: Tuesday, October 13, 2009 6:09 PM To: 'Struts Users Mailing List' Subject: iterator and radio strut

iterator and radio struts2

2009-10-13 Thread Odelya YomTov
Integer id; private String content; } I would like to iterate over the questions, and for each one display the option to choose the answer in a radio button. In the action class I have the followings: List videoQuestion = ... (I get it from the database). List answers; I wrote the

Re: Radio options left aligned

2009-08-31 Thread Dave Newton
Martin Gainty wrote: if you want to take a look https://issues.apache.org/struts/browse/WW-3231 Please post the rendered HTML of the form and radio buttons. If it's rendering as the other commenter stated then it's an issue with people not understanding CSS, not Stru

RE: Radio options left aligned

2009-08-31 Thread java
Thanks Andy. The docs recomend not doing that, but it seems to work fine. I ended up just copying radiomap.ftl to /templates/simple since there aren't any radio buttons I want to be listed outside of the tr and td tags I added to the template. -Original Message- From: And

RE: Radio options left aligned

2009-08-31 Thread Martin Gainty
From: w...@wantii.com > To: user@struts.apache.org > Subject: Re: Radio options left aligned > Date: Sun, 30 Aug 2009 23:50:58 -0400 > > On Sunday 30 August 2009 11:06:55 pm Martin Gainty wrote: > > if you take it outside the form it works > > /styles/main.css conte

RE: Radio options left aligned

2009-08-31 Thread Martin Gainty
> From: w...@wantii.com > To: user@struts.apache.org > Subject: Re: Radio options left aligned > Date: Sun, 30 Aug 2009 23:50:58 -0400 > > On Sunday 30 August 2009 11:06:55 pm Martin Gainty wrote: > > if you take it outside the form it works > > /styles/main.css

RE: Radio options left aligned

2009-08-31 Thread Andy Law
ed the specific styling. FWIW (and IIRC from code I wrote a while ago), coding the radiolist as a list (ul) with each radio-option as a list element within that combined with a div/span/specific css-style was the easiest option for getting the format you want. Hope that helps. Later, Andy -- V

RE: Radio options left aligned

2009-08-30 Thread Lee Clemens
While it is very interesting that it works outside a form, Wes is correct in thinking I want the radio buttons to be inputs for a form (no pun intended) -Original Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: Sunday, August 30, 2009 11:51 PM To: Struts Users Mailing List

Re: Radio options left aligned

2009-08-30 Thread Wes Wannemacher
> .jsp.. > > test for lee > > > > > .. > > > value="0"/> > value="1" /> > > > > ..will render 2 radio buttons aligned to the left... > Call me crazy, but don't inputs have to be inside of

RE: Radio options left aligned

2009-08-30 Thread Martin Gainty
if you take it outside the form it works /styles/main.css contents radio.CustomClass { border: 1px solid black; background-color: InfoBackground; align:left; valign:middle } .jsp.. test for lee .. ..will render 2 radio buttons aligned to the left

RE: Radio options left aligned

2009-08-30 Thread Lee Clemens
-- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Sunday, August 30, 2009 8:56 PM To: Struts Users Mailing List Subject: RE: Radio options left aligned put align:left and/or valign:top in your Class if for any reason the align or valign does'nt render thats a definite bug.. which ve

RE: Radio options left aligned

2009-08-30 Thread Martin Gainty
on, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: j...@leeclemens.net > To: user@struts.apache.org > Subject: RE: Radio options left aligned > Date: Sun, 30 Aug 2009 16:37:59 -0400 > > Doesn't seem to work, but maybe my description w

RE: Radio options left aligned

2009-08-30 Thread Lee Clemens
new row). Using cssClass adds a class attribute to the tags, but isn't being rendered (tried only color=red;). If I wrap the tag in a , it is rendered - but radio buttons are still displayed in same row. -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent:

RE: Radio options left aligned

2009-08-30 Thread Martin Gainty
te. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: j...@leeclemen

RE: Radio options left aligned

2009-08-30 Thread Lee Clemens
Subject: Re: Radio options left aligned Lee Clemens wrote: > theme 'simple' is horizontally aligned (and my default) > theme 'xhtml' puts everything else out of whack > theme 'ajax' puts everything else out of whack > > Are you suggesting my own them

RE: Radio options left aligned

2009-08-29 Thread Lee Clemens
I guess I'm trying to ask, how would you do this? -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Saturday, August 29, 2009 5:50 PM To: Struts Users Mailing List Subject: Re: Radio options left aligned Lee Clemens wrote: > theme 'simple' is ho

Re: Radio options left aligned

2009-08-29 Thread Dave Newton
Lee Clemens wrote: theme 'simple' is horizontally aligned (and my default) theme 'xhtml' puts everything else out of whack theme 'ajax' puts everything else out of whack Are you suggesting my own theme, where I put a or whatever > between the options? If you're not going to do it via CSS I

RE: Radio options left aligned

2009-08-29 Thread Lee Clemens
: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Saturday, August 29, 2009 4:00 PM To: Struts Users Mailing List Subject: Re: Radio options left aligned Lee Clemens wrote: > If this can only be done by changing the theme, is there a way for changing > that single element to use theme="

Re: Radio options left aligned

2009-08-29 Thread Dave Newton
Lee Clemens wrote: If this can only be done by changing the theme, is there a way for changing that single element to use theme="" to not complete destroy the integrity of the rest of the page? Use the "theme" attribute? That aside, you may be able to just use plain CSS. Dave -

Radio options left aligned

2009-08-29 Thread Lee Clemens
Hello, I'm using Struts 2.1.6 with an tag. I want the radio options to line up vertically against the left margin (one option per line), rather than in a straight line. By default, I'm using (and have to use do to other aspects of the page) theme="simple" Is there a w

Re: preselect value for radio tag

2009-07-10 Thread Bhaarat Sharma
ah HAA thats was my problem. the datatypes were different. Thanks On Fri, Jul 10, 2009 at 12:37 PM, Dale Newfield wrote: > Bhaarat Sharma wrote: > >> I have a very simple radio tag like following >> > list=" #{'1':'1','2':

Re: preselect value for radio tag

2009-07-10 Thread Dale Newfield
Bhaarat Sharma wrote: I have a very simple radio tag like following questionVo.correctAnswer returns 2. So I want the second radio button to be preselected but it is not happening. I even tried: but that does not work either. what am I doing wrong? http://struts.apache.org/2.1.6/docs/why

preselect value for radio tag

2009-07-10 Thread Bhaarat Sharma
I have a very simple radio tag like following questionVo.correctAnswer returns 2. So I want the second radio button to be preselected but it is not happening. I even tried: but that does not work either. what am I doing wrong?

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

Problem creating multiple radio buttons groups into an logic:iterate

2009-06-22 Thread Luis Ureña
First, thanks for your help I am having problems to build JSP with multiple questions and some radio buttons for each question. I am using two logic:iterate, one for questions and anotherone for answer for each question, like this:

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
t; 2) populates all the possible answers into the answersList > 3) populates the map with the current answers, keyed by question id > > When the page loads, the current answer is selected in the radio (due to > value selecting the answer from the answersMap), and the radios are unique >

RE: Radio button grouping in Struts 2

2009-05-11 Thread jdt.me.uk
nswersMap; } In the ViewQuestionsAction (which sources the JSP): 1) loads the questions from the DB; 2) populates all the possible answers into the answersList 3) populates the map with the current answers, keyed by question id When the page loads, the current answer is selected in the radio (due to

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

Radio button grouping in Struts 2

2009-05-04 Thread jdt.me.uk
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.. If the question

Re: radio with two values

2009-04-28 Thread dusty
> -- View this message in context: http://www.nabble.com/radio-with-two-values-tp23272838p23290532.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apach

Re: radio with two values

2009-04-28 Thread PEGASUS84
ok but i try to use an hidden tag but it set all values of name because it is into an iterator tag -- View this message in context: http://www.nabble.com/radio-with-two-values-tp23272838p23274112.html Sent from the Struts - User mailing list archive at Nabble.com

Re: radio with two values

2009-04-28 Thread Stefano Tranquillini
od moorning. > > I've this question: > Can I send to an action two vakues using radion button? > for example i want send the code and the name for each element of radio > buttons. > Is it possible? > -- > View this message in context: > http://www.nabble.com/radio-wit

radio with two values

2009-04-28 Thread PEGASUS84
good moorning. I've this question: Can I send to an action two vakues using radion button? for example i want send the code and the name for each element of radio buttons. Is it possible? -- View this message in context: http://www.nabble.com/radio-with-two-values-tp23272838p23272838

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

Re: radio

2008-12-04 Thread srinivasa_v .
Thx Boss On Thu, Dec 4, 2008 at 5:36 PM, Seshagiri V <[EMAIL PROTECTED]> wrote: > I am sending a radio tag. Please use ... > > list="#{'true':'Yes','false':'No'}" instead of > list="#{&#

RE: radio

2008-12-04 Thread Seshagiri V
I am sending a radio tag. Please use ... list="#{'true':'Yes','false':'No'}" instead of list="#{'Yes':'Yes','No':'No'}"/>.

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

Re: Dynamic radio buttons with bean

2008-09-11 Thread danipruebas
Hi I am still (fighting) trying to display a radio button dynamically reading data from a DB, but I get this error: javax.servlet.ServletException: No getter method available for property control for bean under name org.apache.struts.taglib.html.BEAN This is the "route", code atta

Re: Dynamic radio buttons with bean

2008-09-10 Thread danipruebas
Hi, There is nothing wrong : ) I just wanted to know if there was another method to deal with this. Thanks for the reply. Regards, - Original Message - From: Dave Newton To: Struts Users Mailing List Sent: Wednesday, September 10, 2008 6:18 PM Subject: Re: Dynamic radio

  1   2   3   4   >