You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Karim REFEYTON (JIRA)" <de...@myfaces.apache.org> on 2012/12/07 15:33:21 UTC
[jira] [Created] (MYFACES-3661) outputFormat and multiline text
property
Karim REFEYTON created MYFACES-3661:
---------------------------------------
Summary: outputFormat and multiline text property
Key: MYFACES-3661
URL: https://issues.apache.org/jira/browse/MYFACES-3661
Project: MyFaces Core
Issue Type: Bug
Components: JSR-252
Affects Versions: 2.0.14
Reporter: Karim REFEYTON
outputFormat doesn't replace parameters out of the first line of the property:
---cut here [myfile.properties]---
myText=First line with parameter 0 value : {0} \
<br/>Second line with parameter 0 value: {0}
---cut here---
---cut here [xhtml extract]---
<h:outputFormat value="#{msg.myText}" escape="false">
<f:param value="prm0"/>
</h:outputFormat>
---cut here---
Due to the multiline property (use of the "\" character in property value), the result is:
---cut here---
First line with parameter 0 value : prm0
Second line with parameter 0 value: {0}
---cut here---
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira