Re: Re: RedirectAction Help!

2011-05-13 Thread tdmcginley
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

Re: RedirectAction Help!

2011-05-13 Thread Marcus Bond
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

Re: Re: RedirectAction Help!

2011-05-13 Thread Eric Lentz
> 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

Re: Re: RedirectAction Help!

2011-05-13 Thread tdmcginley
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

Re: RedirectAction Help!

2011-05-13 Thread Eric Lentz
> 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.

Re: RedirectAction Help!

2011-05-13 Thread Marcus Bond
uts2 are you running and what > container are you using? > >> > >> > >> > >>> Best, > >> > >> > >> > >>> jb > >> > >> > >> > >> > >>

Re: Re: RedirectAction Help!

2011-05-13 Thread tdmcginley
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,

Re: RedirectAction Help!

2011-05-13 Thread jagdeep singh
n of Struts2 are you running and what > container are you using? > >> > >> > >> > >>> Best, > >> > >> > >> > >>> jb > >> > >> > >> > >> > >> > >>> ___

Re: RedirectAction Help!

2011-05-13 Thread Teresa McGinley
sion of Struts2 are you running and what container >>> are you using? >> >> >> >>> Best, >> >> >> >>> jb >> >> >> >> >> >>> >> >>> From: Teres

Re: RedirectAction Help!

2011-05-13 Thread Jeffrey Black
> > >> Just curious, what version of Struts2 are you running and what container are >> you using? > > > >> Best, > > > >> jb > > > > > >> > >> From: Teresa McGinley tdmc

Re: Re: RedirectAction Help!

2011-05-12 Thread tdmcginley
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

Re: RedirectAction Help!

2011-05-11 Thread Jeffrey Black
: 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

Re: RedirectAction Help!

2011-05-10 Thread Amol Ghotankar
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

RedirectAction Help!

2011-05-10 Thread Teresa McGinley
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