[ 
https://issues.apache.org/jira/browse/WICKET-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747464#comment-13747464
 ] 

Jonas commented on WICKET-5324:
-------------------------------

Shouldn't the generation of those html5-only attributes be optional (i.e. 
controlled by some kind of setting)? How can I still generate valid xhtml 1.0 
which doesn't know these attributes?
                
> HTML5 "required" attributes on required fields break 
> 'setDefaultFormProcessing(false)'
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-5324
>                 URL: https://issues.apache.org/jira/browse/WICKET-5324
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.10.0
>         Environment: Wicket 6.10.0, Firefox 23.0.1
>            Reporter: Jonas
>            Priority: Blocker
>
> After updating to Wicket 6.10.0, all Buttons that use 
> setDefaultFormProcessing(false) no longer work properly if there are any 
> TextFields with required=true on the page, as such fields are now decorated 
> with HTML5 "required" attributes that keep the browser from submitting the 
> form.
> WICKET-5289 introduced those HTML5 "required" attributes, I guess this change 
> should be reverted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to