It would have to be passed in the session... A redirect is a new
request...

> -----Original Message-----
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 16, 2003 11:40 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] preserving error messages when using 
> redirect result
> 
> 
> anyone know if its possible to save action errors and have them 
> available to the action redirected to when using redirect result?
> 
> im using this now:
> 
>       <action name="templateDelete" 
> class="template.TemplateDeleteAction">
>              <result name="success" 
> type="redirect">templateList.action</result>
>              <result name="error" 
> type="redirect">templateList.action?message=${message}</result>
>          </action>
> 
> 
> but I think it would be better to be able to set action 
> errors in action 
> instead.
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to