Marius,

escape="false" works inside the tag, ex:

<h:outputText escape="false"  value="<b>boldText</b>"/>
will render 'boldText' in bold, but neither '<b>' nor '</b>'.

My needed is to render all the tag (<h:outputText.../>) stored in a
var on myBean class.

Thanks.


2005/11/24, Marius Kreis <[EMAIL PROTECTED]>:
> To answer your question:
> <h:outputText value="#{myBean.barCode}" escape="false"/>
> should work.
>
>
> Airton Carrara wrote:
> > Hi,
> >
> > how to render a string whose value is the jsf tag itself?
> >
> > example:
> >
> > a string barCode is assembled on myBean. Its value is something like
> >
> > <img src='b.gif' width= ' 1' height=50' border='0'><img src='w.gif'
> > width= ' 1' height=50' border='0'> ....
> >
> > I need it rendered on the page, but if I use <h:outputText
> > value="#{myBean.barCode}"/>, I get the string as is. Obviously, if I
> > write this tag direct on page, I see the bar code.
> >
> > Thanks.
> >
> > Regards,
> > Airton
> >
>
>

Reply via email to