You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Gary VanMatre (JIRA)" <ji...@apache.org> on 2007/07/28 03:43:05 UTC
[jira] Assigned: (SHALE-451) outputFormat ignores "escape"
attribute
[ https://issues.apache.org/struts/browse/SHALE-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary VanMatre reassigned SHALE-451:
-----------------------------------
Assignee: Gary VanMatre
> outputFormat ignores "escape" attribute
> ---------------------------------------
>
> Key: SHALE-451
> URL: https://issues.apache.org/struts/browse/SHALE-451
> Project: Shale
> Issue Type: Bug
> Components: Clay
> Affects Versions: 1.0.3
> Reporter: Ian Priest
> Assignee: Gary VanMatre
>
> The "escape" attribute is missing from the definition of outputFormat in the clay-config.xml file in shale-clay-1.0.3.jar, causing the attribute to be ignored when used in the html.
> My HTML is as follows...
> <h:outputFormat escape="false" value="#{messages['myaccount$callhistory.moneycostcol.header']}">
> <f:param value="#{@managed-bean-name.currencySymbol}" />
> </h:outputFormat>
> but I found that escape was defaulting to true. The definition for the tag in META-INF/clay-config.xml 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 esacpe attribute works correctly. Someone needs to make the change described above for the next release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.