ICEfaces
  1. ICEfaces
  2. ICE-2855

ice:menu inconsistent repeat rendering behaviour

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2, 1.7Beta1
    • Fix Version/s: 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Running on JBoss under Linux. Firefox and IE, although IE shows the problem less often. Prevalent on public www.icefaces.org site menus.

      Description

      This came up on icefaces.org (still visible on the live site as of March 12/08).
      ice:menuItem appears to render two links sometimes, such as:

      <a href="../community/contribute.iface"/>
       <div>
        <a href="../community/contribute.iface">
         Contribute
        </a>
       </div>

      In the case of the site, we get a blank white menu entry. Initially the menus were generated dynamically, with embedded loops similar to:

      c:forEach
       menuBar
        menuItem
         c:forEach
          more menuItem

      Various different approaches were used try to get around the problem. ice:panelSeries, ice:dataTable, ui:repeat, less menuItem elements, using ice:menuItems directly, using f:subview, moving forms around, moving includes around, adding or removing IDs, and so on.

      In the end a static page was used (ie: the menuItem elements are hardcoded directly on the page), and although less common the problem is still visible (again, see the live site).

      The problem does not happen locally, so perhaps it is a threading issue or some sort of problem with the rendering order. Regardless, the app can be reviewed on http://lnstage1.ice/main/ and associated source is under /repo/applications/icefaces.org/project (specifically WEB-INF/inc-plugins/header.jspx).

        Activity

        Carlo Guglielmin created issue -
        Carlo Guglielmin made changes -
        Field Original Value New Value
        Attachment menuprobscreenshot.png [ 10869 ]
        Carlo Guglielmin made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Assignee Priority P1
        Assignee Ken Fyten [ ken.fyten ] Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Assignee Adnan Durrani [ adnan.durrani ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Mark Collette [ mark.collette ]
        Ken Fyten made changes -
        Assignee Mark Collette [ mark.collette ] Yip Ng [ yip.ng ]
        Ken Fyten made changes -
        Environment Running on JBoss under Linux. Firefox and IE, although IE shows the problem less often. Running on JBoss under Linux. Firefox and IE, although IE shows the problem less often. Prevalent on public www.icefaces.org site menus.
        Assignee Priority P1 P2
        Assignee Yip Ng [ yip.ng ] Arturo Zambrano [ artzambrano ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Assignee Priority P2 P1
        Assignee Arturo Zambrano [ artzambrano ] Mark Collette [ mark.collette ]
        Mark Collette made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Mark Collette [ mark.collette ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Carlo Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: