handling on dynamic result
python <[email protected]> Thu, 14 Dec 2006 03:35:18 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <4295625.1166088948450.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Hi,
Are there anyway to write xwork.xml to make it can handle DYNAMIC result?
here is part of my xwork.xml
<action name="myAction"
class="MyJavaAction"
method="myAction">
<result name="A">
<param name="location">doApple.action</param>
</result>
<result name="B">
<param name="location">doBall.action</param>
</result>
<result name="C">
<param name="location">doCat.action</param>
</result>
........
in this case, the possible return to be return my the action class is "A", "B", "C", or others. so how am i going to configure the xwork.xml in order to drive all not A / B / C result to some action such as "showError.action"?
Thanks for ur advise
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=53457&messageID=107488#107488
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]