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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14951 Fri Oct 12 12:27:22 MDT 2007 adnan.durrani Fix for ICE-2188 (panelCollapsible throwing IllegalArgumentException inside dataTable/panelSeries)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelcollapsible/PanelCollapsible.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14950 Fri Oct 12 12:26:29 MDT 2007 adnan.durrani Fix for ICE-2188 (panelCollapsible throwing IllegalArgumentException inside dataTable/panelSeries)
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/component/src/com/icesoft/faces/component/panelcollapsible/PanelCollapsible.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: