getListLocalization() is a method of my Enum, not of my Action class.
Matthieu MARC
-Message d'origine-
De : Steven Yang [mailto:kenshin...@gmail.com]
Envoyé : vendredi 13 mai 2011 03:03
À : Struts Users Mailing List
Objet : Re: Iterator tag and enumeration
I dont quite get what
Hi,
How I can stop duplicate submit in Struts2? Is there any working example
code for the reference. I am looking for any pattern (Token Interceptor,
Token Session Interceptor, Execute and Wait Interceptor) to solve this
problem.
Thanks,
Rajeev
--
View this message in context:
Hi Teresa.
By container I meant Tomcat, Jetty, et al.
Are you leveraging Spring for DI needs?
Best,
jb
Sent from my iPad
Follow me on Twitter @jeffblack360
On May 12, 2011, at 12:10 PM, tdmcgin...@gmail.com wrote:
Jeff,
I am running struts 2.2.1
I also created this with Spring 3.0,
the duplicate submit may be come from your code, can you put out some code
to help us to solve your problem
2011/5/12 Rajeev430 rajeev.ranjan...@gmail.com
Hi,
How I can stop duplicate submit in Struts2? Is there any working example
code for the reference. I am looking for any pattern (Token
Have you had a look at the csrf-protection? Not sure if it is request
or session oriented.
http://nickcoblentz.blogspot.com/2008/11/csrf-prevention-in-struts-2.html
On Thu, May 12, 2011 at 10:42 PM, Rajeev430 rajeev.ranjan...@gmail.com wrote:
Hi,
How I can stop duplicate submit in Struts2? Is
I'm using Tomcat.
Sent from my iPod
On May 12, 2011, at 6:08 PM, Jeffrey Black jeffrey.bl...@yahoo.com wrote:
Hi Teresa.
By container I meant Tomcat, Jetty, et al.
Are you leveraging Spring for DI needs?
Best,
jb
Sent from my iPad
Follow me on Twitter @jeffblack360
On May
Use result type chain for example
result name=success type=chainHelloWorld/result
On Fri, May 13, 2011 at 4:39 PM, Teresa McGinley tdmcgin...@gmail.comwrote:
I'm using Tomcat.
Sent from my iPod
On May 12, 2011, at 6:08 PM, Jeffrey Black jeffrey.bl...@yahoo.com
wrote:
Hi Teresa.
By
Hi,
you have to use s:token/ tag in your form. s:token/ tag is used to solve
the re-submission use a hidden token in the form. The token is autogenerated
and unique from time to time.
And do following entries in you struts.xml file:
interceptor-ref name=token /
result
I didn't think I could send parameters with the chain?
I am really trying to pass the an id from one action to another. I'll take
any suggestions to get this working.
Teresa
On May 13, 2011 6:48am, jagdeep singh jagdeepsinghdhi...@gmail.com wrote:
Use result type chain for example
...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Regards,
Jagdeep
__ NOD32 6118 (20110513) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
I'll take any suggestions to get this working.
Your code snippet lacks important details that would help me answer your
question. Use pastebin or a like service and include a minimal running
example and then perhaps I can help.
I'm new to Struts; working on getting a small app running with the
Convention plugin. It seems to work perfectly well in finding the
actions I have - a little *too* well, actually. The problem is that if
I visit a url like localhost:8080/foo/bar/baz/ I get my IndexAction,
which should only work
Speaking of which, Dave, have you used displaytag recently?
It seems to have been abandoned. It's good for regular usage, but as
time goes by we start having some problems.
For example, with the export options (displaytag can export to excel,
pdf, etc automatically) we see a ognl WARN:
WARN
On Fri, May 13, 2011 at 10:04 AM, Miguel wrote:
Speaking of which, Dave, have you used displaytag recently?
I've never used it at all.
This is due to the fact that displaytag's export url is
Someaction.action?6578706f7274=1d-16533-e=5 and 6578706f7274 doesn't
seem to be valid on recent
This peaked my interest so a colleague of mine and I talked about it and came
up with this working example:
jsp:
s:select name=color list=@my.package.Color@values() listKey=name()
listValue=description/s:select
action:
private String color; // RED, GREEN, or BLUE
Color selectedColor =
On Fri, May 13, 2011 at 10:17 AM, Biesbrock, Kevin wrote:
This peaked my interest [...]
Piqued, piqued.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
Touché. I've only been speaking English my whole life...
Beez
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Friday, May 13, 2011 10:20 AM
To: Struts Users Mailing List
Subject: [OT] Re: Iterator tag and enumeration
On Fri, May 13, 2011 at 10:17
Great, it nearly solve my problem.
Thanks,
Matthieu MARC
-Message d'origine-
De : Biesbrock, Kevin [mailto:biesbrock.ke...@aoins.com]
Envoyé : vendredi 13 mai 2011 16:18
À : Struts Users Mailing List
Objet : RE: Iterator tag and enumeration
This peaked my interest so a colleague of
displaytag1.2 + struts2 + tiles works good for me.
displaytag is a very good tool for pagination.
http://www.displaytag.org/1.2/
Emi
On 05/11/2011 07:47 AM, Pankaj Gupta wrote:
Hi,
But I am looking for Pagination in Struts framework specifically.
Thanks,
Pankaj
On Wed, May 11, 2011
displaytag1.2 + struts2 + tiles works good for me.
displaytag is a very good tool for pagination.
http://www.displaytag.org/1.2/
Another paging feature I found just recently is: DataTables
http://www.datatables.net/index
The online doc shows good features, but I have not done production
Eric,
I have never used pastebin before but I created my project files out there
and here is the link:
http://pastebin.com/u/tdmcginley
The problem is getting from startInformation.jsp begin button to questions
with the formid.
In event I list the URL's that I start with and what they
The problem is getting from startInformation.jsp begin button to
questions with the formid.
When you hit begin from startInformation.jsp, you are submitting a form to
beginQuestions which is acting on actions.survey.Listing.
startInformation.jsp has a hidden field of form_id:
input
I was having similar issues recently using an older version of struts2
(can't remember which unfortunately) and I upgraded to 2.2.3 which
seems to work fine..
fyi the first example I have is below where selectedUserId is set on the
action I redirect to with the value from user.getId passed
hi,
i am using struts v2.1.8.1 + spring 3.0 + junit 4.0. it should be
noted that i am using convention plugin for spring.
my action class extends ActionSupport and implements
ServletRequestAware and ServletResponseAware. the method i am testing
inside my action class never returns a string
never mind, i tinkered a little bit and read the API docs. if anyone
is interested, here's what i did.
ActionProxy proxy = getActionProxy(/dummy-action);
MyAction action = (MyAction)proxy.getAction();
MockHttpServletResponse response = new MockHttpServletResponse();
I have it working now. Not sure what exactly fixed it but I upgraded struts
to 2.2.3.
I also changed yourForm to formId to be consistent.
Thanks for the help! I sure am learning alot!
Teresa
On May 13, 2011 1:33pm, Marcus Bond mar...@marcusbond.me.uk wrote:
I was having similar issues
26 matches
Mail list logo