Yeah, I have used DispatchAction in the past but found it a bit klugey.
Rather than adding the querystring parameters in the Struts config for
dispatch, I overrode the processActionPerform method in RequestDispatcher.
I forget the specifics of the way DispatchActions are handled but at the
time
If you want to reset the form values on cancel button click, you should use
html:reset instead of html:cancel
-Original Message-
From: deepali sharma [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 1:01 PM
To: user
Subject: Cancel button sets the form value
Hi
I am using
Sounds like you're expecting to do something with the form after after
cancel is selected. If, from a user experience perspective, the cancel
button is doing what it's supposed to, you shouldn't care what the form has
in it since the user cancelled anyway.
I don't use the execute() method of
Monkeyden wrote:
I don't use the execute() method of Action at all and have implemented a
separate abstract doCancel method in my base action, which cleans up any
unecessary state, but this requires an extension of the struts/tiles
request
processor.
I find it easier just to use an
Hi
I am using html:cancel button
before clicking on html:cancel button i am changing the values in the form.
But I want so that If the user clicks on html:cancel the values should not
be set to the form
Is there any solution for this
--
cheers
deepali
5 matches
Mail list logo