struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto A. Flores" <aaflo...@gmail.com>
Subject Re: Struts 2.x: Redirecting "input" result
Date Tue, 18 Dec 2007 13:32:57 GMT
Thanks to all for your answers. I completely missed that thread (Adam). 
I'll try it today.

Alberto

Adam Hardy wrote:
> 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
> 
> 

-- 

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



Mime
View raw message