Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:panelCollapsible + expanded
Description
The panelCollapsible is using the Boolean object type for the expanded attribute, which does not align with the API of other components. In addition to that it is not convenient to use in the bean. To make a decision based on expanded state the following call needs to be made:
if (component.isExpanded().booleanValue()) {
....
}
instead of
if (component.isExpanded()) {
....
}
if (component.isExpanded().booleanValue()) {
....
}
instead of
if (component.isExpanded()) {
....
}
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Fix Version/s | 1.6.1 [ 10070 ] | |
Resolution | Fixed [ 1 ] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Adnan Durrani
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Adnan Durrani [ adnan.durrani ] |
Adnan Durrani
created issue -
fixed revision # 14617:
The expanded attribute has been changed to use the primitive boolean type. This change might require some modification to the existing applications.
1- bean.
component.isExpanded().booleanValue() should be replaced with component.isExpanded()
2- JSP
{true}<ice:panelCollapsible expanded="#
"> should be replaced with <ice:panelCollapsible expanded="true">