The problem lies with Clay.
http://issues.apache.org/struts/browse/SHALE-451 for those who are
interested.

 

Cheers,

Ian.

 

 

From: Ian.Priest [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2007 16:09
To: [email protected]
Subject: h:outputFormat ignoring escape=false

 

 

 

My h:outputFormat tag is ignoring it's escape="false" attribute. My HTML
is below. Can someone sanity check for me please! 

 

 

<span

      xmlns:t="http://myfaces.apache.org/tomahawk"; 

      xmlns:h="http://java.sun.com/jsf/html";

      xmlns:f="http://java.sun.com/jsf/core";>

 

      <t:dataTable 

            value="[EMAIL PROTECTED]"

            var="call"

            styleClass="call"

      >

                        

...

            

            <t:column>

                              

                  <f:facet name="header">

                        <h:outputFormat escape="false"
value="#{messages['myaccount$callhistory.moneycostcol.header']}">

                              <f:param
value="[EMAIL PROTECTED]" />

                        </h:outputFormat>

                  </f:facet>

      

                  <h:outputText value="#{call.cost}">

                        <f:converter  converterId="com.scn.Currency" />

                  </h:outputText>

      

            </t:column>

            

      </t:dataTable>

</span>

 

The value of @managed-bean-name.currencySymbol is "&pound;", but it gets
escaped to "&amp;pound;" by the formatter despite the escape="false".
Any ideas anyone? (MyFaces 1.1.5, Tomahawk 1.1.6, running under
Shale/Clay so cross posted to their list).

 

Cheers,

Ian.

 

Reply via email to