You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (Resolved) (JIRA)" <de...@myfaces.apache.org> on 2011/11/25 11:22:40 UTC

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

     [ https://issues.apache.org/jira/browse/TOBAGO-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-601.
------------------------------------

    Resolution: Fixed
    
> UISelectBoolean.isSelected() produces ClassCastException
> --------------------------------------------------------
>
>                 Key: TOBAGO-601
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-601
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0
>
>
> ...
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira