andy wix wrote the following on 9/14/2004 6:27 AM:
I have tried all the other suggestions in every combination but can't
get anything more elegant to work. This works but I'm not looking
forward to the code review!
Just one more reason that I really like calling the validation manually
from my
Hi,
Just for the record, I have contrived a particularly nasty work-around for
this problem and share it in case anyone ever ends up as desperate as me!
To recap, I have 3 buttons on a form including a cancel button for which
there should be no validation.
Because I have implemented a LookupDis
andy wix wrote:
Hi,
Sorry to harp on about this but I am sure html:cancel must work, as it
is fundamental to the way sites flow!
It says the following about the html:cancel 'property' attribute in the
Html Tag Developer Guide:
"WARNING - If you set this attribute to a value other than the defau
Hi,
Sorry to harp on about this but I am sure html:cancel must work, as it is
fundamental to the way sites flow!
It says the following about the html:cancel 'property' attribute in the Html
Tag Developer Guide:
"WARNING - If you set this attribute to a value other than the default, this
will N
What I usually do is check for isCancelled() in my Action (or
BaseAction) before anything else so I can forward to the appropriate
place if cancel was clicked.
As for the validation, I had to put my validation in a private method
in the Action instead of using the one in the ActionForm.
On Wed, 0
Hi,
Has anyone else had a problem with this?
I am using Struts 1.1 but presume it has worked in this and previous
versions as it must come up in almost every project.
I cannot switch validation to false as my submit button does require
validation.
I suppose I could put the cancel and submit butto
I believe the validation still happens because the validation step
occurs before the appropriate method in the action class in
determined. I got around this by turning off automatic validation.
On Tue, 07 Sep 2004 16:59:48 +, andy wix <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When using the foll
PROTECTED]
Sent: Tuesday, September 07, 2004 10:00 AM
To: [EMAIL PROTECTED]
Subject: html:cancel usage
Hi,
When using the following tag, my form still gets validated when I click the
cancel button.
The cancel method gets called correctly in my LookupDispatchAction class.
The tag is within an
Hi,
When using the following tag, my form still gets validated when I click the
cancel button.
The cancel method gets called correctly in my LookupDispatchAction class.
The tag is within an html:form tag as I believe it should be.
Does anyone have a working example of this tag or know of a d
9 matches
Mail list logo