Rob Hills wrote:
>
> Hi All,
>
>
> Rob Hills wrote:
>>
>> In my AppFuse 2 + Struts app, I have one Form JSP (with one Action class)
>> that is accessed from two different lists. When the user quits the form
>> (save, cancel etc.) they need to return to the list they came from...
>>
>
> I still haven't been able to work this one out. Has anyone been able to
> find a way to have one JSP work with two different Actions in Struts?
>
> TIA,
>
> Rob Hills
> Waikiki, Western Australia
>
Struts 2 In Action's last chapter has a good example of this. Basically if
did it to dynamically alter the next screen, but the process should work in
reverse. Store the last screen as a property in your action. Use OGNL in the
struts.xml to get the value.
Regards, Jeremy (BTW: The rest of book is not so good. Webwork in Action is
still best resource for Struts 2)
--
View this message in context:
http://www.nabble.com/AppFuse-2-%2B-Struts-2---One-JSP--%3E-two-different-Actions---possible-tp19826404s2369p19980678.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]