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

        Alok Mittal created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.6.2 [ 10111 ]
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.7DR#2 [ 10110 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Adnan Durrani [ adnan.durrani ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: