Volker,
t:htmlTag is cleaner than h:outputText, but both solve it using the
same technique -- make the text into a componet.
On 3/15/07, Volker Weber <[EMAIL PROTECTED]> wrote:
A third solution, which i would prefer about the f:verbatim:
<h:outputText escape="false" value="<H1>"/>
<h:outputText value="#{msg['bla.bla']}"/>
<h:outputText escape="false" value="</H1>"/>
reason: content of verbatim tags dissapears after rerender in case of
validation/conversion errors.
Regards,
Volker
2007/3/15, Marcel Stonitsch <[EMAIL PROTECTED]>:
> Another possibility I forgot in my previous mail: Put your html-code
> into <f:verbatim>-tags.
>
> Mixing html-tags and jsf-tags can cause several problems.
>
> Hans Reip schrieb:
> > Hi,
> >
> > I'm doing my first steps with JSF and myFaces and I hav a question regarding
> > html-tags and JSF.
> >
> > I want to output a resource bundle key inside a <h1> html element. So I did
> > following:
> > <h1><h:outputText value="#{msg.inputname_header}"/></h1>
> >
> > What happens is, that the message from the resource bundle is printed out
> > and after this the empty <h1>.
> > No error is returned, so I think it is an basical understanding problem.
> >
> > I saw, that there is a <t:div> tag in the tomahawk tld but no <t:h1> tag.
> > What do I do wrong? Isn't it possible to use html tags together with JSF?
> >
> > Thanks in advance
> > Regards
> > Hans
> >
> >
>
>