If your problem is that < and > gets rendered as &lt; and &gt;, add
escape="false" to the h:outputFormat tag. Note, this is h:outputFormat,
not f:outputFormat.

Yes, or just put escape="false" to an outputText component.

But i would be little careful with this, especially taking html stuff
from resource bundles. This makes your view layer much more less
readable and more difficult to maintain.

Also it`s more difficult to see at a first glance what the output will be.

cheers,

Gerald

On 11/29/06, David Delbecq <[EMAIL PROTECTED]> wrote:
If your problem is that < and > gets rendered as &lt; and &gt;, add
escape="false" to the h:outputFormat tag. Note, this is h:outputFormat,
not f:outputFormat.


Stephen Osella a écrit :
> I tried using f:outputFormat...but that doesn't render the HTML that I
> have in a string in a message resource bundle.  Is there any way to do
> this? Have HTML in a resource bundle and then have it rendered as HTML
> in a page?
>
> Thanks!




--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to