ICEfaces
  1. ICEfaces
  2. ICE-9975

ace:textAreaEntry - Leading newline characters not displayed correctly

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7.0
      Java 1.7
      ICEfaces Core/Ace 3.3.0
      Apache MyFaces 2.1.10

      Description

      When one or more leading newlines are used in an ace:textAreaEntry, one of the leading newlines is not displayed. This has been observed on current Firefox, Chrome and IE browsers on the windows platform.

      It can be reproduced simply by integrating this snippet:
      <ace:textAreaEntry id="textAreaEntry" value="&#10;&#10;text content with two leading newlines"/>
      The expected behaviour is that two blank lines should be visible here, whereas only one is visible.

      A similar bug has been discussed and fixed at Mojarra (https://java.net/jira/browse/JAVASERVERFACES-2858). In essence this fix states that the first newline character must be ignored by specification. To compensate this, the appropriate item renderer can be requested to add an additional leading newline character via component attribute.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Innova Developer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: