ICEfaces
  1. ICEfaces
  2. ICE-2188

panelCollapsible throwing IllegalArgumentException inside dataTable/panelSeries

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.2, 1.7DR#2, 1.7
    • 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

        Activity

        Hide
        Adnan Durrani added a comment -

        1.6 branch revision 14950
        1.7 DR#2 revision 14951

        Show
        Adnan Durrani added a comment - 1.6 branch revision 14950 1.7 DR#2 revision 14951

          People

          • Assignee:
            Unassigned
            Reporter:
            Alok Mittal
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: