ś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
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
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
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
.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
Ł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
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.
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
ś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
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
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:
>>
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
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
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
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
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
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
* 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
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
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/
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
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
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);
.
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
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
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
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
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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
--
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
> .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
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
--
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
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
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:
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
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
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
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
: 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="
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
-
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
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':
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
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?
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
mic raido buttom list using
>
>
>
> where optionvalue is stored in database equal
>
> #{'Faculty':'Faculty','Staff':'Staff','Resident':'Resident','Intern':'Intern'}
>
> however struts2 doesn
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
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:
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
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
>
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
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
> 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
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
>
--
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
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
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
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
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
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="#{
I am sending a radio tag. Please use ...
list="#{'true':'Yes','false':'No'}" instead of
list="#{'Yes':'Yes','No':'No'}"/>.
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
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
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 - 100 of 327 matches
Mail list logo