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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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">