struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto A. Flores" <aaflo...@gmail.com>
Subject Struts 2.x: Redirecting "input" result
Date Mon, 17 Dec 2007 21:06:48 GMT
Is it possible to redirect the "input" result (after validation has 
finished) of an action mapping properly?

I currently have something like:

<action name="bar" class="x.y.z.ActionOne">
   <result type="tiles">showList.tile</result>
</action>

<action name="foo" class="x.y.z.MyAction">
   <result name="input" type="redirect-action">
     <param name="actionName">bar</param>
   </result>
   <result type="tiles">success.tile</result>
</action>

The current behavior I'm experiencing is one where the redirection takes 
place, however the validation errors appear to be lost. Thoughts?

-- 

Alberto A. Flores
http://www.linkedin.com/in/aflores



Mime
View raw message