and what container are
you using?
Best,
jb
From: Teresa McGinley tdmcgin...@gmail.com
To: user@struts.apache.org
Sent: Tuesday, May 10, 2011 6:01 PM
Subject: RedirectAction Help!
I am trying to send an id from one action
@struts.apache.org
Sent: Tuesday, May 10, 2011 6:01 PM
Subject: RedirectAction Help!
I am trying to send an id from one action to another and it seems to be
sending a null. Please assist and I am really at my wits end with this.
How do I get the formId from the Listing to the QuestionListing
running and what
container are you using?
Best,
jb
From: Teresa McGinley tdmcgin...@gmail.com
To: user@struts.apache.org
Sent: Tuesday, May 10, 2011 6:01 PM
Subject: RedirectAction Help!
I am trying to send an id from
@struts.apache.org
Sent: Tuesday, May 10, 2011 6:01 PM
Subject: RedirectAction Help!
I am trying to send an id from one action to another and it seems
to be
sending a null. Please assist and I am really at my wits end with
this.
How do I get the formId
From: Teresa McGinley tdmcgin...@gmail.com
To: user@struts.apache.org
Sent: Tuesday, May 10, 2011 6:01 PM
Subject: RedirectAction Help!
I am trying to send an id from one action to another
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.
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
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
.
Just curious, what version of Struts2 are you running and what container
are you using?
Best,
jb
From: Teresa McGinley tdmcgin...@gmail.com
To: user@struts.apache.org
Sent: Tuesday, May 10, 2011 6:01 PM
Subject: RedirectAction Help
@struts.apache.org
Sent: Tuesday, May 10, 2011 6:01 PM
Subject: RedirectAction Help!
I am trying to send an id from one action to another and it seems to be
sending a null. Please assist and I am really at my wits end with this.
How do I get the formId from the Listing to the QuestionListing
I am trying to send an id from one action to another and it seems to be
sending a null. Please assist and I am really at my wits end with this.
How do I get the formId from the Listing to the QuestionListing?
startInformation has a yourForm=41, when I click the Begin button I get the
redirect to
Hi,
My experience say not always just getter setters works.
So try to use
ActionContext - get context - getvalue stack. set
or
ActionContext - get context - getvalue stack. push
If only problem is formId not available to OGNL during redirect.
There any be some other issue which needs more
14 matches
Mail list logo