ICEfaces
  1. ICEfaces
  2. ICE-9013

ice:panelSeries corrupts order of div's and span's

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7, Chrome, Firefox, IE

      Description

      For full description of the problem please see a forum link above.

      To reproduce use attached source code.

        Activity

        Hide
        Ted Goddard added a comment -

        Removing a call to setCursorParent() appears to resolve this issue. setCursorParent would have the effect of placing each child at the top of the output, resulting in incorrect order.

        +++ compat/components/src/main/java/com/icesoft/faces/component/panelseries/PanelSeriesRenderer.java (working copy)
        @@ -78,8 +78,9 @@
        childs = list.getChildren().iterator();
        while (childs.hasNext()) {
        UIComponent nextChild = (UIComponent) childs.next();
        +System.out.println("PanelSeries encoding " + nextChild);
        if (nextChild.isRendered())

        { - domContext.setCursorParent(root); +// domContext.setCursorParent(root); encodeParentAndChildren(facesContext, nextChild); }

        }

        Show
        Ted Goddard added a comment - Removing a call to setCursorParent() appears to resolve this issue. setCursorParent would have the effect of placing each child at the top of the output, resulting in incorrect order. +++ compat/components/src/main/java/com/icesoft/faces/component/panelseries/PanelSeriesRenderer.java (working copy) @@ -78,8 +78,9 @@ childs = list.getChildren().iterator(); while (childs.hasNext()) { UIComponent nextChild = (UIComponent) childs.next(); +System.out.println("PanelSeries encoding " + nextChild); if (nextChild.isRendered()) { - domContext.setCursorParent(root); +// domContext.setCursorParent(root); encodeParentAndChildren(facesContext, nextChild); } }

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Evgheni Sadovoi
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: