struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <jakartau...@yahoo.com>
Subject RE: redirect=true & ActionErrors
Date Mon, 02 Feb 2004 16:59:03 GMT
Manjunath,

The patch was just submitted and Ted Husted indicated he will look at it, but
just because someone submits a patch doesn't mean it gets committed (I would
hope not!).  
If it doesn't and you still need it, I can help you add some subclasses to
your project to make it work for you.

- Hubert

--- Manjunath Bhat <mbhat@firstam.com> wrote:
> Hi
> Thanks for the reply. My first concerns is with the action errors
> display on the web page, which is lost due to redirect=true, since it is
> bound to the request. 
> 
> I looked into transaction token, but its does not solve error display. I
> am thinking of using it somewhere else in my app. Thanks for the info
> 
> I was going through the link provided by you, where the patch for
> ActionForward is being addressed. Please let me know which build of
> struts should I use to check the new implementation.
> 
>  
> <Manjunath/>
> 
> -----Original Message-----
> From: Hubert Rabago [mailto:jakartauser@yahoo.com] 
> Sent: Thursday, January 29, 2004 1:33 PM
> To: Struts Users Mailing List
> Subject: Re: redirect=true & ActionErrors
> 
> There's no built-in support for this in the current version of Struts.
> I'm currently working on a patch which would support this
> (http://issues.apache.org/bugzilla/show_bug.cgi?id=866), but of course
> there's no
> guarantee that the patch (or something like it) will make it to a struts
> release.
> 
> In the meantime, you may want to look into using struts' transaction
> tokens to
> allow you to detect double submissions when the user clicks refresh.
> 
> If you're aching for this enhancement for your app, let me know and I'll
> send you
> some Struts subclasses that you can incorporate in your current project.
> 
> (It's 2 AM my time, though, so I may not get back to you right away.)
> 
> - Hubert
> 
> --- Manjunath Bhat <mbhat@firstam.com> wrote:
> > The errors that I populated in ActionErrors in my action classes are
> not
> > displayed in page if I use redirect="true". I am using redirect="true"
> > to handle user clicking refresh button.
> > 
> > If I use redirect="false" the ActionErrors are displayed. But I don't
> > want to use redirect="false". Is there any work around for this
> problem?
> > 
> > TIA
> > 
> > Majnunath
> > 
> > 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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


Mime
View raw message