struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Jacobsen" <jerome.jacob...@gentootech.com>
Subject RE: proper use of back button -- design patterns
Date Sun, 02 Feb 2003 14:09:10 GMT
The framework could be extended to support this on a per-action basis.  In
struts-config.xml we could have an additional element or attribute of the
'action' attribute to indicate the desired ActionForm populate/validate
behavior on invalid token.

> -----Original Message-----
> From: Craig R. McClanahan [mailto:craigmcc@apache.org]
> Sent: Friday, January 31, 2003 6:18 PM
> To: Struts Users Mailing List
> Subject: RE: proper use of back button -- design patterns
>
>
>
>
> On Fri, 31 Jan 2003 pqin@shareowner.com wrote:
>
> > Date: Fri, 31 Jan 2003 16:11:21 -0500
> > From: pqin@shareowner.com
> > Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> > To: struts-user@jakarta.apache.org
> > Subject: RE: proper use of back button -- design patterns
> >
> > I want to bring up another issue.
> >
> > The default behavior of RequestProcessor is to save everything
> into a new
> > ActionForm then do the validation. If token is invalid, why
> should we bother
> > populating the ActionForm at all?
>
> How is the framework supposed to decide whether the app actually cares
> about an invalid token or not?  It's possible for the app to decide to do
> something specific, but different -- like maybe say "did you really mean
> to submit this twice?" and accept it if they say OK.
>
> >
> > Regards,
> >
> >
> > PQ
>
> Craig
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
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