You should look at Facelets.

https://facelets.dev.java.net/nonav/docs/dev/docbook.html


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Matthias Wessendorf
Sent: Wed 21-Jun-06 2:16 PM
To: MyFaces Discussion
Subject: Re: Something Simple
 
Troy,

this article [1] has a lot's a information about your "problem" ;)

-Matthias

[1] http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html

On 6/21/06, Troy Bull <[EMAIL PROTECTED]> wrote:
> Thanks for the quick and correct answers!
> troy
>
> CD said the following on 6/21/2006 2:10 PM:
> > <f:verbatim>
> >   <h2>
> > </f:verbatim>
> > <af:outputText value="Welcome #{authedUser.firstName}"/>
> > <f:verbatim>
> >   </h2>
> > </f:verbatim>
> >
> >
> > On 6/21/06, *Troy Bull* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Greetings:
> >
> >     I have an attribute in a backing bean and I want to display it in a jsp
> >     "inline".  I tried to use OutputText and it doesn't seem to work
> >     correctly.
> >
> >     Here is what I want to do:
> >
> >     <f:verbatim>
> >     <h2>Welcome #{authedUser.firstName}</h2>
> >     </f:verbatim>
> >
> >     This doesn't work.  So I tried
> >
> >     <f:verbatim>
> >     <h2>Welcome             <af:outputText value="#{authedUser.firstName}"
> >                                binding="#{backing_mainMenu.outputText1}"
> >                                id="outputText1"/></h2>
> >     </f:verbatim>
> >
> >     This doesnt work either.  The first one prints out the #{authedUs...,
> >     the second one prints out the firstName but "outside" the h2 tag.
> >
> >     Thanks
> >     troy
> >
> >
>
>


-- 
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

<<winmail.dat>>

Reply via email to