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

Dan Haywood commented on ISIS-431:
----------------------------------

I think the deeper problem here is that our booleans are not tri-valued.  We 
might want to say that a boolean is explicitly specified as either false or 
true... which means that its initial value must be "neither" so that we can 
detect if it has been entered or not.
                
> A boolean atribute should never be mandatory
> --------------------------------------------
>
>                 Key: ISIS-431
>                 URL: https://issues.apache.org/jira/browse/ISIS-431
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-2.0.0
>            Reporter: Jeroen van der Wal
>            Assignee: Dan Haywood
>            Priority: Minor
>
> A boolean attribute only has two states and when the @Optional annotation is 
> omitted and the boolean is set to false, eg the checkbox is empty, it's 
> impossible to save the object.

--
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