This content has been marked as final.
Show 3 replies
-
1. Re: Formatting message_xx.properties with HTML
danielc.roth Mar 27, 2008 8:34 AM (in response to elnino)It works fine for me. How do you display the texts? Don't forget to disable escape:
<h:outputText value="#{messages['myText']}" escape="false"/>
-
2. Re: Formatting message_xx.properties with HTML
mars1412 Mar 27, 2008 9:22 AM (in response to elnino)disabling escape also works for me.
but you should keep this in mind:
- the guys who translate your texts might not know about html and they sometimes mess up your html code: and that's sometimes difficult to find :(
- if you ever plan to use a different gui (not html aware), you are probably better off using plain text messages
-
3. Re: Formatting message_xx.properties with HTML
elnino Mar 27, 2008 5:26 PM (in response to elnino)Shame on me....
I didn't use h:outputText tag...
It's working now .
Thanks so much.
To Martin, yes you're right, but it's just to format paragraph. I prefer formatting in each language instead of created several labels.
The day I display my text in a non-HTML client............ Hum, I will think that you was right !
Thanks all.