do that:

<f:verbatim>
<h4>
</f:verbatim>
<h:outputText value="My heading"/>
<f:verbatim>
</h4>
</f:verbatim>

and you should be all set!

regards,

Martin

p.s.: variant: do what bruno told you, but do not use the <h4> in the
attribute directly, but get the value from a backing bean with a
valuebinding.


On 7/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Sorry my response got truncated, the full error is :
> 
> org.apache.jasper.JasperException: /WEB-INF/templates/footer.jsp
> (8,22) The value of attribute "value" associated with an element type
> "h:outputText" must not contain the '<' character.
> 
> Gianni
> 
> 
> On 06/lug/05, at 19:35, [EMAIL PROTECTED] wrote:
> 
> > I get an error:
> >
> > [ServletException in:/WEB-INF/templates/footer.jsp] /WEB-INF/
> > templates/footer.jsp(8,22)
> > The value of attribute "value" associated with an element type
> > "h:outputText" must not contain the '
> >
> >
> > On 06/lug/05, at 19:29, Bruno Aranda wrote:
> >
> >
> >> And if you do this?
> >>
> >> <h:outputText value="<h4>My heading</h4>" escape="false"/>
> >>
> >> Regards,
> >>
> >> Bruno
> >>
> >> 2005/7/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> >>
> >>
> >>> Hi
> >>> I'm trying to use a combination of html and jsf in a tiles included
> >>> subview.
> >>> This isn't the actual code but serves to illustrate the problem.
> >>>
> >>> If I do this:
> >>>
> >>> <f:verbatim>
> >>> <h4>
> >>> <h:outputText value="My heading"/>
> >>> </h4>
> >>> </f:verbatim>
> >>>
> >>> the jsf output appears before the html:
> >>>
> >>> My heading<h4></h4>
> >>>
> >>> However if I do this:
> >>>
> >>> <f:verbatim><h4></f:verbatim>
> >>> <h:outputText value="My heading"/>
> >>> <f:verbatim></h4></f:verbatim>
> >>>
> >>> I get a mismatched tag exception:
> >>>
> >>> [ServletException in:/WEB-INF/templates/footer.jsp] /WEB-INF/
> >>> templates/footer.jsp(9,19)
> >>> The element type "h4" must be terminated by the matching end-tag "
> >>>
> >>> I appreciate some suggestions it's really driving me crazy, I
> >>> need to
> >>> mix html and jsf but can find no practical way of doing so.
> >>> Thanks
> >>> Gianni
> >>>
> >>>
> >>
> >>
> >
> >
> 
>

Reply via email to