struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict" <pbened...@apache.org>
Subject Re: problem with html:cancel
Date Thu, 02 Aug 2007 16:36:46 GMT
Paste in the generated HTML for both cases please.

Thanks,
Paul

On 8/2/07, Charl Gerber <charlgerber@yahoo.com> wrote:
>
> Hi,
>
> I've got this tag:
>
> <html:cancel styleId="cancelButton"
> styleClass="submitbutton" />
>
> But the isCancelled() in the action then always return
> false, even if I hit the cancel button.
>
> If I replace the tag with a default
>
> <html:cancel></html:cancel>
>
> then it works. Looks like something with the generated
> ID and CLASS attributes that's fishy. Its worth
> mentioning that the styleId 'cancelButton' isn't
> defined in my css (but class 'submitbutton' is), I
> merely use it to get a handle on the button
> (document.getElementById()) to disable/enabled it
> using javascript.
>
> Any ideas?
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message