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

        Hide
        Brennan Mckinney added a comment -

        Discovered fully functional workaround.

        Show
        Brennan Mckinney added a comment - Discovered fully functional workaround.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: