yippee, time for lunch then: you've earned it..:)
> -Original Message-
> From: Matt Bathje [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 12:22 PM
> To: Struts Users Mailing List
> Subject: Re: session form "reset"
>
>
> Well I changed
att Bathje
- Original Message -
From: "Geeta Ramani" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 11:09 AM
Subject: RE: session form "reset"
> Ok, then I guess I'm stumped too.. Sorry!
>
it without doing the removeattribute, and it
> still leaves the
> wrong data. (No crashes though...)
>
> Matt Bathje
>
>
> - Original Message -
> From: "Geeta Ramani" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
t Bathje
- Original Message -
From: "Geeta Ramani" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 10:43 AM
Subject: RE: session form "reset"
> How about just this: (iow, don't add
How about just this: (iow, don't add the "session.removeAttribute("myform"); bit.
That's the part that gives you the error, right?)
>
> myForm.set("mybean", mybean);
> request.setAttribute("mybean", mybean);
> session.setAttribute("myform", myForm);
Won't that work for you?
Geeta
-
> >
> > Here is the chain of events, maybe that will help
> >
> > Form Preloader -> Form Page -> Submit Action -> Form
> > Preloader -> Form Page
> >
> > In Submit Action, I have tried doing
> > session.removeAttribute("myForm"); and
> > it doesn't work (gives the beanutils.populate error). I have
Matt:
> -Original Message-
> From: Matt Bathje [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 11:27 AM
> To: Struts Users Mailing List
> Subject: Re: session form "reset"
>
>
> Here is the chain of events, maybe that will help
>
&g
L PROTECTED]
> Sent: Thursday, April 22, 2004 10:59 AM
> To: strutslist
> Subject: session form "reset"
>
>
> Hey all - I'm having a small problem and was wondering if anybody could
> help.
>
> I have a page with a form, that when I submit, comes right back
saying that if in the
action preceeding the forward you reset the form (and set the session var again
maybe?), this does not work?
Regards,
Geeta
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 10:59 AM
To: strutslist
Subject: session form
Go through with SessionBindingListener and SessionAttributeListener.
And implement the appropriate one.
-Jignesh
On Thursday 22 April 2004 20:29, Matt Bathje wrote:
> Hey all - I'm having a small problem and was wondering if anybody could
> help.
>
> I have a page with a form, that when I submit,
Hey all - I'm having a small problem and was wondering if anybody could
help.
I have a page with a form, that when I submit, comes right back to the same
page with the updated information. The form is held in the session scope
because it has some dynamic indexed data in it.
My problem is that par
11 matches
Mail list logo