If you are using tomahawx then <t:htmlTag value="br" /> will work. Otherwise
use <f:verbatim><br/></f:verbatim> 

-----Original Message-----
From: Troy Bull [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 4:33 PM
To: MyFaces Discussion
Subject: Re: Something Simple

Ok, in the vein of avoiding HTML all together how do i do a </BR> without
html?

Thanks
troy

CD said the following on 6/21/2006 2:17 PM:
> I also would recommend the stylesheet approach rather than the h2.  In 
> fact, avoiding HTML tags altogether would be in your best interest.
> 
>  
> 
> 
> 
>  
> 
> On 6/21/06, *Clement, James* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     <af:outputText styleClass="my-own-h2-from-my-css"
>     value="Welcome #{authedUser.firstName}"/>
> 
>      
>
------------------------------------------------------------------------
>     *From:* CD [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>]
>     *Sent:* Wednesday, June 21, 2006 3:10 PM
>     *To:* MyFaces Discussion
>     *Subject:* Re: Something Simple
> 
>     <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
> 
> 
> 

Reply via email to