Rob,
You can add a parameter in your Form action called "next" or something
like that. Then in your link to the Form, you can include
next=listOne or next=listTwo. Then in the success and cancel in the
action config do
......
<result type="redirect">${next}.action</result>
or
<result type="redirect-action">${action}</result>
Just be sure you have both the setter and getter for "next" so your
result can pull it.
-D
On Oct 14, 2008, at 8:48 AM, 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
--
View this message in context:
http://www.nabble.com/AppFuse-2-%2B-Struts-2---One-JSP--%3E-two-different-Actions---possible-tp19826404s2369p19975767.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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]