wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Wicket 6.10 required attribute and cancel buttons
Date Wed, 04 Sep 2013 09:15:13 GMT
https://issues.apache.org/jira/browse/WICKET-5324
https://issues.apache.org/jira/browse/WICKET-5331


On Wed, Sep 4, 2013 at 12:12 PM, pureza <pureza@gmail.com> wrote:

> Hi,
>
> I have a form with a cancel button with type="submit" as suggested here:
> https://cwiki.apache.org/confluence/display/WICKET/Multiple+submit+buttons
> .
>
> Since version 6.10.0, Wicket adds the HTML5 required attribute which causes
> the browser validation to fail when the user clicks the Cancel button.
> Since
> the button's type is "submit", the browser forces the user to fill-in the
> required fields and doesn't  send the cancel request to the server.
>
> What is the best way to fix this?
>
> Thanks,
>
> Luis
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-6-10-required-attribute-and-cancel-buttons-tp4661191.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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