ICEfaces
  1. ICEfaces
  2. ICE-8356

Issues with ace:tooltip and newlines (23 char limit?)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 3.1.0.RC1
    • Fix Version/s: 3.1.0.RC1, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tested on FF 13 with tomcat 7
    • Workaround Exists:
      Yes
    • Workaround Description:
      Instead of using the 'value' attribute, instead simply nest the text you want while using <br/>s in place of \n's

      Description

      When attempting to create a tooltip with a newline present within it, the newline only seems to present properly when the combined message is under a certain number of characters. Ie. "Tooltip works! \n Test" Properly displays the line break and makes the tooltip two lines high. "Tooltip works! \n Padding to make it taller." Does not, showing all of the information on one line. Adding additional characters to the pre \n part of the string decreases the number of characters you can have after it, and vice versa, making me think that there's some sort of character limit for a successful line break at ~23 characters.


      The code I was using can be can found in repo\qa\trunk\Regression-Icefaces2\Sparkle\Nightly\tooltip under tooltipSparkleTabset.xhtml

        Activity

        Brennan Mckinney created issue -
        Brennan Mckinney made changes -
        Field Original Value New Value
        Workaround Description Instead of using the 'value' attribute, instead simply nest the text you want while using <br/>s in place of \n's
        Workaround Exists [Yes]
        Salesforce Case []
        Hide
        Brennan Mckinney added a comment -

        Discovered fully functional workaround.

        Show
        Brennan Mckinney added a comment - Discovered fully functional workaround.
        Brennan Mckinney made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.1.0.RC1 [ 10337 ]
        Resolution Invalid [ 6 ]
        Ken Fyten made changes -
        Fix Version/s 3.1 [ 10312 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Brennan Mckinney
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: