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


Reply via email to