Charl Gerber wrote:
OK, I think I found the problem. So if someone can
come up with a feasible workaround, please! Its
nothing struts related, btw. Javascript.
I have a form onSubmit function which disabled all the
input buttons to prevent users from clicking buttons
twice or clicking another bu
You need to submit a form field -- could be anything -- with the name of the
cancel button Struts expects. Take a look at your generated HTML again to
get the name of the button. That needs to be in the submission for the
isCancelled() method to detect cancellation.
On 8/3/07, Charl Gerber <[EMAIL
OK, I think I found the problem. So if someone can
come up with a feasible workaround, please! Its
nothing struts related, btw. Javascript.
I have a form onSubmit function which disabled all the
input buttons to prevent users from clicking buttons
twice or clicking another button (the actions take
server
--- Paul Benedict <[EMAIL PROTECTED]> wrote:
> Is the problem with server or client validation?
>
> On 8/2/07, Charl Gerber <[EMAIL PROTECTED]>
> wrote:
> >
> > OK, more info if I remove the styleId
> attribute,
> > then it works. Maybe something to do with the
> actual
> > style id
Is the problem with server or client validation?
On 8/2/07, Charl Gerber <[EMAIL PROTECTED]> wrote:
>
> OK, more info if I remove the styleId attribute,
> then it works. Maybe something to do with the actual
> style id (#submitButton) not being declared in the
> .css?
>
>
>
> --- Paul Benedict
OK, more info if I remove the styleId attribute,
then it works. Maybe something to do with the actual
style id (#submitButton) not being declared in the
.css?
--- Paul Benedict <[EMAIL PROTECTED]> wrote:
> This is interesting. The name isn't changing so I
> don't know what is going
> on. Ca
You mean check in my action class?
Why should the name change? Its the same for both
"cancel" buttons, one works, the other not just
the id and class extras that "breaks" it.
--- Paul Benedict <[EMAIL PROTECTED]> wrote:
> This is interesting. The name isn't changing so I
> don't know what i
This is interesting. The name isn't changing so I don't know what is going
on. Can you debug into the Controller and tell me what you see when it tries
to detect when the cancel flag?
On 8/2/07, Charl Gerber <[EMAIL PROTECTED]> wrote:
>
> name="org.apache.struts.taglib.html.CANCEL"
> value="Cance
> Paste in the generated HTML for both cases please.
>
> Thanks,
> Paul
>
> On 8/2/07, Charl Gerber <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi,
> >
> > I've got this tag:
> >
> > > styleClass="submitbutton" />
> >
> > But the isCancelled() in the action then always
> return
> > false, even if
Paste in the generated HTML for both cases please.
Thanks,
Paul
On 8/2/07, Charl Gerber <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've got this tag:
>
> styleClass="submitbutton" />
>
> But the isCancelled() in the action then always return
> false, even if I hit the cancel button.
>
> If I replace
10 matches
Mail list logo