[OT] RE: session form "reset"

2004-04-22 Thread Geeta Ramani
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

Re: session form "reset"

2004-04-22 Thread Matt Bathje
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! >

RE: session form "reset"

2004-04-22 Thread Geeta Ramani
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"

Re: session form "reset"

2004-04-22 Thread Matt Bathje
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

RE: session form "reset"

2004-04-22 Thread Geeta Ramani
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 -

Re: session form "reset"

2004-04-22 Thread Matt Bathje
> > > > 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

RE: session form "reset"

2004-04-22 Thread Geeta Ramani
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

Re: session form "reset"

2004-04-22 Thread Matt Bathje
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

RE: session form "reset"

2004-04-22 Thread Geeta Ramani
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

Re: session form "reset"

2004-04-22 Thread Jignesh Patel
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,

session form "reset"

2004-04-22 Thread Matt Bathje
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