Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEFaces 1.6.1, JSF 1.1, IE 6 / Firefox 2
Description
I have a list where each row is displayed as a collapsible panel. Depending on a field, some rows are displayed expanded initially, driven by the expanded attribute.
The page comes up fine - only rows with expanded set to true are displayed expanded. However, if I click on any panel to expand/collapse it, a bunch of "java.lang.IllegalArgumentException" are displayed as JSF errors - number_of_rows -1 to be precise. As I keep clicking on panels, the number of errors keep getting reduced by 1. Note that page works as expected, except for the error message. The expanded attribute is the correct type (boolean). Here is the code:
Here is the code:
<ice:dataTable value="#{bb.myList}" var="myObj">
<ice:column>
<ice:panelCollapsible expanded="#{myObj.expanded}">
<f:facet name="header">
...
</f:facet>
<ice:panelGroup>
...
Same results are obtained if I use a panelSeries for iteration rather than dataTable.
Links to the forum discussion about this bug:
http://www.icefaces.org/JForum/posts/list/5848.page
The page comes up fine - only rows with expanded set to true are displayed expanded. However, if I click on any panel to expand/collapse it, a bunch of "java.lang.IllegalArgumentException" are displayed as JSF errors - number_of_rows -1 to be precise. As I keep clicking on panels, the number of errors keep getting reduced by 1. Note that page works as expected, except for the error message. The expanded attribute is the correct type (boolean). Here is the code:
Here is the code:
<ice:dataTable value="#{bb.myList}" var="myObj">
<ice:column>
<ice:panelCollapsible expanded="#{myObj.expanded}">
<f:facet name="header">
...
</f:facet>
<ice:panelGroup>
...
Same results are obtained if I use a panelSeries for iteration rather than dataTable.
Links to the forum discussion about this bug:
http://www.icefaces.org/JForum/posts/list/5848.page
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
1.6 branch revision 14950
1.7 DR#2 revision 14951