> I'm not sure if its necessary or not so you let me explain the problem.
> Lets say you have a multi-paged user profile service.  After you submit a
> page, the destination success page depends on your current role (e.g.
> child vs. adult).  How would you build that intelligence into a WW
> action?  An action's success page depends on the role of the user.

You should return values other than just plain "success" from the action. If
it's a parent, return "parent" and if it's a child return "child". In the
view mapping then you just do
YourAction.parent=parent.jsp
YourAction.child=child.jsp

// Anders Hovmöller




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to