[richfaces-issues] [JBoss JIRA] Updated: (RF-4565) Whitespaces can not be preserved in rerendered arrea
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Sat Dec 6 13:49:37 EST 2008
[ https://jira.jboss.org/jira/browse/RF-4565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski updated RF-4565:
-------------------------------
Fix Version/s: Future
> 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
> Fix For: Future
>
>
> 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
More information about the richfaces-issues
mailing list