struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: Struts 2.x: Redirecting "input" result
Date Mon, 17 Dec 2007 23:40:41 GMT
Alberto A. Flores on 17/12/07 21:06, wrote:
> 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?

I guess you missed this thread:

http://www.nabble.com/How-to-redirect-error-message-to14238972.html


Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message