You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 23 Members of 4546 |
| Forum: Seam Users |
27. Mar 2008, 01:17 CET | Link |
Hello,
I have made some searchs but I didn't found any issues. I sure that I haven't got the good keywords and that the problem has been already posted. Sorry for that.
I would like to format text in the internationalized files (messages-en.properties etc...)
It's just to put some br /, italic or bold effects. If i put some HTML tags, they are just displayed as text.
Is it possible or should I split my sentences and apply a style in code ?
Sorry if my English is not perfect.
Thanks for your answers
Regards, Paul
It works fine for me. How do you display the texts? Don't forget to disable escape:
<h:outputText value="#{messages['myText']}" escape="false"/>disabling escape also works for me.
but you should keep this in mind:
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.