incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naresh Bhatia" <NBha...@sapient.com>
Subject RE: How to add HTML markup to a page?
Date Sat, 07 Oct 2006 22:56:54 GMT
Just to be clear, what would be legal syntax in facelets? Something like
this?

    <h2>
        <h:outputText value="#{messages['Measure.Home']}" />
    </h2>

I see that I am running into this problem only if this code is inside
the <tr:document> tag. If so, why is this tag so restrictive? It is
making the page very unreadable. Would be nice to have some context
behind this design.

Thanks.
Naresh

-----Original Message-----
From: Adam Winer [mailto:awiner@gmail.com] 
Sent: Saturday, October 07, 2006 4:01 PM
To: adffaces-user@incubator.apache.org
Subject: Re: How to add HTML markup to a page?

Facelets is well worth the effort!

-- Adam


On 10/7/06, Naresh Bhatia <NBhatia@sapient.com> wrote:
>
> Hmmm... I was avoiding facelets just because it would be one more
thing
> to learn to get everything going :-). Anyway, if facelets can clean up
> the markup, it may be worth the effort!
>
> Thanks.
> Naresh
>
> -----Original Message-----
> From: Andrew Robinson [mailto:andrew.rw.robinson@gmail.com]
> Sent: Saturday, October 07, 2006 1:13 PM
> To: adffaces-user@incubator.apache.org
> Subject: Re: How to add HTML markup to a page?
>
> Use facelets. Verbatim is required if you use JSP
>
> On 10/7/06, Naresh Bhatia <NBhatia@sapient.com> wrote:
> > What is the preferred way of adding HTML markup to a page? So far, I
> > have found that only the following approach works (i.e. using
> > <f:verbatim>). Looks kind of verbose just to add <h2></h2>!
> >
> >
> >
> >     <f:verbatim><h2></f:verbatim>
> >
> >         <h:outputText value="#{messages['Measure.Home']}" />
> >
> >     <f:verbatim></h2></f:verbatim>
> >
> >
> >
> > Thanks.
> >
> > Naresh
> >
> >
> >
>

Mime
View raw message