I think you want escape="false" not escape="true"

- Brendan

-----Original Message-----
From: Helmut Juskewycz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 24, 2005 3:30 PM
To: MyFaces Discussion
Subject: Re: HTML output


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i dont get it, i already tried it with the outputText

example:
<h:outputText value="thats a <b>bold</b> text" escape="true" />

produces:
thats a <b>bold</b>

what i make wrong?

albartell wrote:
> And depending on whether you want it escaped you should also add the
> 'escape="[true|false]"' attribute to the outputText tag. 
> 
> -----Original Message-----
> From: Joel Wilson [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 24, 2005 1:36 PM
> To: MyFaces Discussion
> Subject: Re: HTML output
> 
> 
> <h:outputText value="#{myBean.myRandomText}" styleClass="myCssClass"  
> style="embeddedCSS"/>
> On Aug 24, 2005, at 2:22 PM, Helmut Juskewycz wrote:
> 
> 
> Hi,
> 
> please dont laugh but which component do i need to print out an html 
> text?
> i want something like this:
> 
> <h:dontKnowTag value="#{MyBean.myHtmlText}" />
> 
> and then the text should be printed in html style
> 
> thx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE

iD8DBQFDDNjVkg7OsoSBexYRAofsAJ92SEI2US5Bo4f+gUJrQv4/M0Tw/QCfaAbd
zowpSP1pSWm4l7GjtylLk8E=
=OOeM
-----END PGP SIGNATURE-----

Reply via email to