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 wrote:
I was having similar issues recently using an older vers
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 as
> 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:
Listing has a
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 lo
> 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.
uts2 are you running and what
> container are you using?
> >>
> >>
> >>
> >>> Best,
> >>
> >>
> >>
> >>> jb
> >>
> >>
> >>
> >>
> >>
W, I have apps that utilize redirectAction (ie
> ServletActionRedirectResult) without issue.
> >>
> >>
> >>
> >>> Just curious, what version of Struts2 are you running and what
> container are you using?
> >>
> >>
> >>
> >>> Best,
n of Struts2 are you running and what
> container are you using?
> >>
> >>
> >>
> >>> Best,
> >>
> >>
> >>
> >>> jb
> >>
> >>
> >>
> >>
> >>
> >>> ___
sion of Struts2 are you running and what container
>>> are you using?
>>
>>
>>
>>> Best,
>>
>>
>>
>>> jb
>>
>>
>>
>>
>>
>>>
>>
>>> From: Teres
>
>
>> Just curious, what version of Struts2 are you running and what container are
>> you using?
>
>
>
>> Best,
>
>
>
>> jb
>
>
>
>
>
>>
>
>> From: Teresa McGinley tdmc
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!
I am trying
: 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?
startInformation has a
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 mor
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
14 matches
Mail list logo