[
https://issues.apache.org/jira/browse/WICKET-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johan Compagner reopened WICKET-1221:
-------------------------------------
i already thought we already reverted this again.?
But setRequired should be a no operation on a boolean
For this a tristate checkbox is the only option not a normal one.
> setRequired(true) will force a Checkbox to be checked
> -----------------------------------------------------
>
> Key: WICKET-1221
> URL: https://issues.apache.org/jira/browse/WICKET-1221
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Reporter: Kent Tong
> Assignee: Igor Vaynberg
> Priority: Minor
>
> If you call setRequired(true) on a Checkbox, then if the user clear the
> checkbox, it will be treated as an error. Suggest overriding checkRequired()
> in the Checkbox class to always return true.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.