I'm using MyFaces 1.2.5 and Tomahawk 1.1.8.  I'm a little confused with the 
link you sent.  From that, I see that outputLabel does not support the escape 
attribute, but the following MyFaces and Tomahawk docs says that it does.
 
http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc/t_outputLabel.html
http://myfaces.apache.org/core12/myfaces-impl/tlddoc/index.html
 
I found a work around.  From memory this is what I did.
 
<t:outputLabel for="requires3rdPartya">
  <t:outputText escape="false" value="#{labels['l.req3rdParty']}" 
/></t:outputLabel>
 
 
> Date: Thu, 8 Jan 2009 15:48:49 -0800> From: richard.k....@gmail.com> To: 
> users@myfaces.apache.org> Subject: Re: escape attribute does not work with 
> output Label> > What version of Tomahawk are you using? From the tag 
> documentation,> 
> http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_outputLabel.html,>
>  there is no 'escape' attribute for the tag. It looks like you should> file 
> an enhancement request in Jira.> > -R> > On Thu, Jan 8, 2009 at 5:39 AM, j 
> haley <jhale...@hotmail.com> wrote:> > Escape attribute with output Label 
> does not work. If I use this same label> > with outputText, it works fine. 
> Any ideas?> >> > Label> > l.req3rdParty=Requires 3<sup>rd</sup> Party> >> > 
> Does not renders super script properly - Renders the same if escape is true> 
> > or false> > <h:outputLabel for="requires3rdPartya" escape="false"> > 
> value="#{labels['l.req3rdParty']}" />> > <t:outputLabel 
> for="requires3rdPartyb" escape="false"> > value="#{labels['l.req3rdParty']}" 
> />> >> > Does render superscript properly> > <t:outputText escape="false" 
> value="#{labels['l.req3rdParty']}" />> >> > ________________________________> 
> > Windows Live™: Keep your life in sync. Check it out.
_________________________________________________________________
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009

Reply via email to