ICEfaces
  1. ICEfaces
  2. ICE-11118

ace:tooltip global attribute issue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.RC1
    • Fix Version/s: 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces4 trunk r.49103
      Server: Tomcat7
      Browsers: all
    • Assignee Priority:
      P2

      Description

      QA test app: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/tooltip

      ace:tooltip > DynamicAttribute:

      The global attribute testing fails for the h:outputText and h:commandLink, the html title being rendered Instead of the global tooltip. This test passes only for the h:commandButton.

      This can be reproduced with the steps:

      - navigate to /tooltipDynAttribute.jsf.
      - enable "rendered" and "global" attributes.
      - mouse over "OutputText" or "ComandLink"; see how the html title attributes are rendered instead of the global tooltip (fail).
      - mouse over "CommandButton", the global tooltip is rendered (pass).

      This issue can be reproduced with ICEfaces EE-4.1.0.RC1, but not with ICEfaces 4.1.1.

      This issue is a regression caused by ICE-10893.

        Activity

        Hide
        Carmen Cristurean added a comment -

        This is still an issue with IF4 trunk r49677 (tested on FF49, MsEdge38, Chrome55).

        Show
        Carmen Cristurean added a comment - This is still an issue with IF4 trunk r49677 (tested on FF49, MsEdge38, Chrome55).
        Hide
        Arturo Zambrano added a comment - - edited

        r49748: fix to assign separate internal IDs to individual qtip instances created with the 'global' attribute

        The issue wasn't with specific components. The tooltip was only being applied to the last element that had a 'title' attribute, because having the same IDs was causing to replace the instances of the previous elements.

        Show
        Arturo Zambrano added a comment - - edited r49748: fix to assign separate internal IDs to individual qtip instances created with the 'global' attribute The issue wasn't with specific components. The tooltip was only being applied to the last element that had a 'title' attribute, because having the same IDs was causing to replace the instances of the previous elements.
        Hide
        Liana Munroe added a comment -

        ICEfaces 4 trunk r49751, Tomcat 8
        Showcase ace:tooltip > Global demo fails.
        The tooltip on each element is rendered empty.

        Show
        Liana Munroe added a comment - ICEfaces 4 trunk r49751, Tomcat 8 Showcase ace:tooltip > Global demo fails. The tooltip on each element is rendered empty.
        Hide
        Arturo Zambrano added a comment -

        r49778: fixed issue with gobal tooltip displaying one more time after having been disabled; corrected global tooltip functionality to display the contents of the element's 'title' attribute if no content has been specified

        Show
        Arturo Zambrano added a comment - r49778: fixed issue with gobal tooltip displaying one more time after having been disabled; corrected global tooltip functionality to display the contents of the element's 'title' attribute if no content has been specified
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r49778, Tomcat 8, Chrome 55, FF 47, MS Edge, IE 11, 10.
        When toggling the global attribute in the tooltip dynamic attribute test a js error occurs when using IE 8.
        Message: Object doesn't support this property or method
        Line: 7
        Char: 89
        Code: 0
        URI: http://10.18.39.134:8080/tooltip/javax.faces.resource/tooltip/tooltip.c.js.jsf?ln=icefaces.ace&v=4_2_0_170103
        When doing the same using IE 11 emulating IE 8:
        SCRIPT438: Object doesn't support property or method 'trim'
        File: tooltip.c.js.jsf, Line: 7, Column: 116

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r49778, Tomcat 8, Chrome 55, FF 47, MS Edge, IE 11, 10. When toggling the global attribute in the tooltip dynamic attribute test a js error occurs when using IE 8. Message: Object doesn't support this property or method Line: 7 Char: 89 Code: 0 URI: http://10.18.39.134:8080/tooltip/javax.faces.resource/tooltip/tooltip.c.js.jsf?ln=icefaces.ace&v=4_2_0_170103 When doing the same using IE 11 emulating IE 8: SCRIPT438: Object doesn't support property or method 'trim' File: tooltip.c.js.jsf, Line: 7, Column: 116
        Hide
        Ken Fyten added a comment -

        I think we can consider this a Known Issue on IE8 when dynamically changing the global attribute, since this is unlikely to be a pattern used in a real world application.

        For future testing, reload the page once the global setting is made on IE8.

        Show
        Ken Fyten added a comment - I think we can consider this a Known Issue on IE8 when dynamically changing the global attribute, since this is unlikely to be a pattern used in a real world application. For future testing, reload the page once the global setting is made on IE8.
        Hide
        Arturo Zambrano added a comment -

        r49799: replaced 'trim' function for 'replace' function to trim string and avoid issues on ie8; expanded TLD documentation regarding global attribute to explain that the 'title' attribute used for the tooltip's content is overridden if explicit content is nested inside the component's tag

        Show
        Arturo Zambrano added a comment - r49799: replaced 'trim' function for 'replace' function to trim string and avoid issues on ie8; expanded TLD documentation regarding global attribute to explain that the 'title' attribute used for the tooltip's content is overridden if explicit content is nested inside the component's tag
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r49779, Tomcat 8, Chrome 55, FF 47, MS Edge, IE 11, 10, 8.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r49779, Tomcat 8, Chrome 55, FF 47, MS Edge, IE 11, 10, 8.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: