Details
-
Type: Bug
-
Status: Open
-
Priority: 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=" 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.
It can be reproduced simply by integrating this snippet:
<ace:textAreaEntry id="textAreaEntry" value=" 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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion