You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by AMIR-TAHMASSEB Marc <ma...@ombudsman.europa.eu> on 2007/03/26 13:57:46 UTC
html value in t:outputText value
Hi everybody,
How can I put a html tag such as <strong> or <em>... in an outputText
value ?
I have something like this :
<t:outputText value="#{myBean.myText}" />
with myBean.myText = "This is<strong>my Text</strong>."
thanks
Marc AT
Re: html value in t:outputText value
Posted by Marcel Stonitsch <st...@klute-thiemann.de>.
Hi!
Try <t:outputText value="#{myBean.myText}" escape="false" />
This should solve the problem.
Regards
AMIR-TAHMASSEB Marc schrieb:
> Hi everybody,
>
> How can I put a html tag such as <strong> or <em>... in an outputText
> value ?
> I have something like this :
> <t:outputText value="#{myBean.myText}" />
> with myBean.myText = "This is<strong>my Text</strong>."
>
> thanks
>
> Marc AT