myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (Resolved) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (TOBAGO-601) UISelectBoolean.isSelected() produces ClassCastException
Date Fri, 25 Nov 2011 10:22:40 GMT

     [ 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

        

Mime
View raw message