Any ideas are appreciated.
Is there anyway to keep my session-scoped form from being populated by a
click of an html:cancel button? Is there any hook in the underlying
Action that I can intercept prior to the ActionForm auto-population?
Thanks,
Angie
Angie Lin wrote:
Hi there,
How can
Just quickly thinking it over ...
When your form submits, you're going to hit an action. Your action is
going to look and see what the user told you they wanted to do and act
appropriately. Now, that doesn't help you keep the form from being
populated, but you can certainly keep from
Actually ... I've never done this before, but ...
Why couldn't you invoke a javascript method on your Cancel button that
invoked the forms reset method? That might be the easiest solution ...
Eddie Bush wrote:
Just quickly thinking it over ...
When your form submits, you're going to hit
Thanks for the tip, but I'm trying to avoid javascript as much as
possible. It looks like I'll have to go ahead and manage my session
form manually, and use a request-scoped form so that the auto-population
doesn't blow away the properties.
Thanks again,
Angie
Eddie Bush wrote:
Actually
: Sun, September 29, 2002 10:26 PM
To: Struts Users Mailing List
Subject: Re: Help Re: cancel and session-scope form
Thanks for the tip, but I'm trying to avoid javascript as much as
possible. It looks like I'll have to go ahead and manage my session
form manually, and use a request-scoped form
5 matches
Mail list logo