myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glauco Pimentel Gomes <glaucopgo...@yahoo.com.br>
Subject Re: injecting HTML through a BackingBean
Date Tue, 08 May 2007 10:08:37 GMT
Use h:outputText with escape="false".

Eg.: <h:outputText value="#{yourBean.yourText}" escape="false" />

Glauco P. Gomes

omidh escreveu:
> Hi,
> I use a RichtextBox in my Portlet, which is using MyFaces.
> Now I would like to display the written Text (in the richtextBox Editor)
> in some other pages. As you know the Text out of the richtextbox looks like
> these:
> richtext <strong>RICHTEXT <em>bla&nbsp;&nbsp;
> u<u>nterstrichen</u></em></strong>
>
> how can I inject these String from a BackingBean into my "generated page"?
> is in myfaces or tomahawk a Tag for things like that?
>
> thanks in advance,
> Omid
>
>   


Mime
View raw message