ICEfaces
  1. ICEfaces
  2. ICE-7701

ace:contextMenu doesn't display properly as a portlet if there is a datatable portlet also on the page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: EE-3.0.0.BETA, 3.0.1
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 3 ACE portlet portal

      Description

      When the portlet version ace:contextMenu example is put on a portal page by itself it works fine. It also behaves when sharing a page with most other portlets. However, when sharing a page with one of the ace:dataTable examples, it no longer remains hidden. This is likely some sort of CSS conflict.

        Activity

        Hide
        Deryk Sinotte added a comment -

        Screenshots showing the ace:contextMenu in a portlet alone on the page and with a datatable.

        Show
        Deryk Sinotte added a comment - Screenshots showing the ace:contextMenu in a portlet alone on the page and with a datatable.
        Hide
        Deryk Sinotte added a comment -

        Assigning to Ken for re-assignment to one of our CSS gurus.

        Show
        Deryk Sinotte added a comment - Assigning to Ken for re-assignment to one of our CSS gurus.
        Hide
        Nils Lundquist added a comment -

        Please attach a testing environment.

        Show
        Nils Lundquist added a comment - Please attach a testing environment.
        Hide
        Nils Lundquist added a comment -

        Confirmed as JS bug rather than as CSS issue, Menu construction fails with:

        TypeError: 'undefined' is not a function (evaluating 'this.jq.wijmenu(this.cfg)')

        Likely the cause of bad JQ reference.

        Show
        Nils Lundquist added a comment - Confirmed as JS bug rather than as CSS issue, Menu construction fails with: TypeError: 'undefined' is not a function (evaluating 'this.jq.wijmenu(this.cfg)') Likely the cause of bad JQ reference.
        Hide
        Nils Lundquist added a comment -

        Problem is not constrained to the DataTable. Combining with seemingly any other ace component example portlet exposes the issue.

        JQ context is likely being recreated at some point in some secondary resource of the second portlet, stomping over the Wijmo expansions that have been done.

        Show
        Nils Lundquist added a comment - Problem is not constrained to the DataTable. Combining with seemingly any other ace component example portlet exposes the issue. JQ context is likely being recreated at some point in some secondary resource of the second portlet, stomping over the Wijmo expansions that have been done.
        Hide
        Nils Lundquist added a comment - - edited

        Revision #27849
        Committed by nils.lundquist
        9 minutes ago
        ICE-7701 - JQuery context being reloaded multiple times by portlets. Fixed by checking for existing context pre-creation.

        Show
        Nils Lundquist added a comment - - edited Revision #27849 Committed by nils.lundquist 9 minutes ago ICE-7701 - JQuery context being reloaded multiple times by portlets. Fixed by checking for existing context pre-creation.

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: