Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2 SP1
-
Fix Version/s: 1.8.2-EE-Beta, 1.8.2-EE-GA, 1.8.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Solaris, Glassfish v2
-
Workaround Exists:Yes
-
Workaround Description:The PanelCollapsible class has a typo when it defines the component type. Instead of defining COMPONENT_TYPE, it defines the public static variable COMPONENET_TYPE. If you use the typo variable, it works.
Description
The following line in our application fails:
PanelCollapsible panel = (PanelCollapsible) FacesContext.getCurrentInstance().getApplication().createComponent(PanelCollapsible.COMPONENT_TYPE);
The exception received is
java.lang.ClassCastException: javax.faces.component.UICommand cannot be cast to com.icesoft.faces.component.panelcollapsible.PanelCollapsible
PanelCollapsible panel = (PanelCollapsible) FacesContext.getCurrentInstance().getApplication().createComponent(PanelCollapsible.COMPONENT_TYPE);
The exception received is
java.lang.ClassCastException: javax.faces.component.UICommand cannot be cast to com.icesoft.faces.component.panelcollapsible.PanelCollapsible
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Ed Hillmann
created issue -
Ed Hillmann
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | issue_ICE_3915_1-7-2-sp1.patch [ 11423 ] |
Tyler Johnson
made changes -
Salesforce Case | [5007000000A77s4] |
Ken Fyten
made changes -
Fix Version/s | 1.8.3 [ 10211 ] |
Ed Hillmann
made changes -
Attachment | ICE-3915-1.8.2.patch [ 12034 ] |
Ken Fyten
made changes -
Assignee Priority | P2 | |
Assignee | Yip Ng [ yip.ng ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8.2-EE-Beta [ 10215 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8.2-EE-GA [ 10216 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 | |
Assignee | Yip Ng [ yip.ng ] |