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

        Deryk Sinotte created issue -
        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.
        Deryk Sinotte made changes -
        Field Original Value New Value
        Attachment ace-context-alone.png [ 14008 ]
        Attachment ace-context-datatable.png [ 14009 ]
        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.
        Deryk Sinotte made changes -
        Salesforce Case []
        Assignee Priority P3
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Ken Fyten [ ken.fyten ] Nils Lundquist [ nils.lundquist ]
        Hide
        Nils Lundquist added a comment -

        Please attach a testing environment.

        Show
        Nils Lundquist added a comment - Please attach a testing environment.
        Nils Lundquist made changes -
        Assignee Nils Lundquist [ nils.lundquist ] Deryk Sinotte [ deryk.sinotte ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P3 P1
        Deryk Sinotte made changes -
        Assignee Deryk Sinotte [ deryk.sinotte ] Nils Lundquist [ nils.lundquist ]
        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.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27849 Tue Feb 14 16:23:36 MST 2012 nils.lundquist ICE-7701 - JQuery context being reloaded multiple times by portlets. Fixed by checking for existing context pre-creation.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/core/core.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27850 Tue Feb 14 16:28:29 MST 2012 nils.lundquist ICE-7701 - JQuery context being reloaded multiple times by portlets Fixed by checking for existing context pre-creation.
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/core/core.js
        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.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27865 Wed Feb 15 12:27:57 MST 2012 art.zambrano ICE-7717 fixed problem caused by recent commit for ICE-7701 in Liferay 5, current fix works in both Liferay 5 and 6
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/core/core.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27866 Wed Feb 15 12:30:41 MST 2012 art.zambrano ICE-7717 fixed problem caused by recent commit for ICE-7701 in Liferay 5, current fix works in both Liferay 5 and 6
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/core/core.js
        Ken Fyten made changes -
        Fix Version/s EE-3.0.0.BETA [ 10324 ]
        Fix Version/s EE-3.0.0.GA [ 10262 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

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

            Dates

            • Created:
              Updated:
              Resolved: