struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Penhey" <...@penhey.net>
Subject RE: Removing form bean from where ever it is saved
Date Tue, 01 Jun 2004 16:54:37 GMT
Aaah, so that is what the attribute is for.  I did wonder why the form name appeared twice
(using MyEclipseIDE).

Thanks,
Tim

> -----Original Message-----
> From: Hubert Rabago [mailto:jakartauser@yahoo.com]
> Sent: 01 June 2004 17:13
> To: Struts Users Mailing List
> Subject: Re: Removing form bean from where ever it is saved
>
>
> Sounds like a better approach for you is to put your form in request scope.
> Try something like:
>
> <action path=/mySubmitPath"
>     scope="request"
>     ...>
>
> In any case, the attribute name is usually the same as the bean name,
> although an action mapping can change this by using the "attribute"
> attribute.
>
> Hubert
>
> --- Tim Penhey <tim@penhey.net> wrote:
> > Hi All,
> >
> > I am trying to test some validation that I have set up for one of my
> > actions.
> > I am using the org.apache.struts.validator.DynaValidatorForm with a couple
> > of Strings and
> > an Integer.  However in my test to check the required validation, it
> > appears to be
> > grabbing an existing form from some scope (almost certainly session) and
> > only updating the
> > parameters that I have passed in.
> >
> > How can I remove the form from scope after the action has finished with it?
> >  I don't know
> > that key that it is being stored against, is this defined somewhere?
> >
> > Thanks,
> > Tim
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>





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


Mime
View raw message