wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Vaynberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WICKET-1221) setRequired(true) will force a Checkbox to be checked
Date Mon, 07 Jan 2008 03:53:34 GMT

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

Igor Vaynberg commented on WICKET-1221:
---------------------------------------

if you feel that strongly about it then bring it up on the list

strictly speaking in html the absense of check means there is no value in post vars  - eg
required makes sense but depends on what abstraction you are thinking about it.

> 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
>             Fix For: 1.3.1
>
>
> 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.


Mime
View raw message