You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Guido Dubois (JIRA)" <de...@myfaces.apache.org> on 2008/01/18 20:13:34 UTC

[jira] Created: (TOBAGO-601) UISelectBoolean.isSelected() produces ClassCastException

UISelectBoolean.isSelected() produces ClassCastException
--------------------------------------------------------

                 Key: TOBAGO-601
                 URL: https://issues.apache.org/jira/browse/TOBAGO-601
             Project: MyFaces Tobago
          Issue Type: Bug
    Affects Versions: 1.0.14
         Environment: Facelets 1.1.14, MyFaces 1.1.6 snap (08.01.2008), Tobago 1.0.14 snap (16.01.2008)
            Reporter: Guido Dubois


...
  private Boolean primaryBacking;
  private UISelectBoolean primaryBackingSelectBoolean;
...
    if (this.primaryBackingSelectBoolean.isSelected()) {
...


Caused by: java.lang.ClassCastException: java.lang.String
	at javax.faces.component.UISelectBoolean.isSelected(UISelectBoolean.java:41)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.