I have the following problem: The "value"-Attribute of my "h:outbuttext" is set dynamically as follows:
<h:outputText value="#{bean.getText()}" style="position: relative;" escape="false"/>
So the "value"-Attribute of "h:outbuttext" looks like this:
1. Cars<br/>2. Busses<br/>3. Plains
And my expected result is:
- Cars
- Busses
- Plains
But the <'br/'>s are not recognized as word wrap and my actual result looks like this:
1. Cars<br/>2. Busses<br/>3. Plains
When I set the "value"-Attribute of my "h:outputtext" as a raw string like this:
<h:outputText value="1. Cars<br/>2. Busses<br/>3. Plains" style="position: relative;" escape="false"/>
then I get the expected result.
So my question is, how do I get the <'br'/> work for dynamically set "value"-Attributes?
Thanks in advance!!!!
" and now it just works fine!!! Thank you very much again!!! – shaolinmonkabbot Nov 18 '16 at 10:38