>From: "Ian.Priest" <[EMAIL PROTECTED]> > Found it - it's a bug in Clay. The "escape" attribute is missing from > the definition of outputFormat in the clay-config.xml file in shale-clay > 1.0.3. > > The current definition for the tag is: > ><component jsfid="outputFormat" > componentType="javax.faces.HtmlOutputFormat" extends="baseOutput"> > <description>Render a readonly text value substituting inline > string parameters. </description> > </component> > <component jsfid="h:outputFormat" extends="outputFormat"/> > > > I edited the META-INF/clay-config.xml file in shale-clay-1.0.3.jar to be > as follows: > ><component jsfid="outputFormat" >componentType="javax.faces.HtmlOutputFormat" extends="baseOutput"> > <description>Render a readonly text value substituting inline > string parameters. </description> > <attributes> > <set name="escape" bindingType="VB"> > <description></description> > </set> ></attributes> > </component> > <component jsfid="h:outputFormat" extends="outputFormat"/> > > > > And now my escape attribute is no longer ignored. I've raised SHALE-451 > so it can be fixed. >
Thanks for reporting this. We should probably run the TLD's thru Hermod's converter now that we have a generation option. > Cheers, > Ian. > Gary > > > -----Original Message----- > > From: Ian.Priest [mailto:[EMAIL PROTECTED] > > Sent: 26 June 2007 16:01 > > To: user@shale.apache.org > > Subject: h:outputFormat ignores escape="false" (Might be MyFaces) > > > > My h:outputFormat tag is ignoring it's escape="false" attribute. My > > HTML > > is below. Can someone sanity check for me please! > > > > > > > > > > > > > > > > xmlns:t="http://myfaces.apache.org/tomahawk" > > > > xmlns:h="http://java.sun.com/jsf/html" > > > > xmlns:f="http://java.sun.com/jsf/core"> > > > > > > > > > > > > value="[EMAIL PROTECTED]" > > > > var="call" > > > > styleClass="call" > > > > > > > > > > > > > ... > > > > > > > > > > > > > > > > > > > > > > value="#{messages['myaccount$callhistory.moneycostcol.header']}"> > > > > > > value="[EMAIL PROTECTED]" /> > > > > > > > > > > > > > > > > > > > > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The value of @managed-bean-name.currencySymbol is "£", but it > > gets > > escaped to "£" by the formatter despite the escape="false". > > Any ideas anyone? (Am cross-posting this to the myfaces list too). > > > > > > > > Cheers, > > > > Ian. > > > > > > > > > > > > > >