[
https://jira.jboss.org/jira/browse/RF-4565?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-4565.
--------------------------------
Fix Version/s: (was: Future)
Resolution: Won't Fix
Resolving as "Won't fix" because the problem seems to be not completely
addressable for IE browsers - they combine adjacent white spaces into a single one.
For inputs and Tidy filter: please see the linked issue for a workaround. The workaround
isn't applied into RF code due to possible backward compatibility issues.
Whitespaces can not be preserved in rerendered arrea
----------------------------------------------------
Key: RF-4565
URL:
https://jira.jboss.org/jira/browse/RF-4565
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: alepekhin
Assignee: Nick Belaevski
Whitespaces should be preserved in rerendered area if they are inside form fields or text
areas with style attribute "white-space:pre"
Test case:
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<f:view>
<h:outputText value="Five spaces between stars:* *"
id="output" style="white-space:pre"/>
<h:form>
<h:inputText value="Five spaces between stars:* *"
id="input"/>
<h:commandButton action="#" value="Submit"/>
<a4j:commandLink action="#" reRender="input, output">
<h:outputText value="rerender"/>
</a4j:commandLink>
</h:form>
</f:view>
Aftre pressing "rerender" link five spaces are trimmed to one in both text
fields.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira