[ 
https://issues.apache.org/struts/browse/SHALE-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary VanMatre resolved SHALE-451.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0-SNAPSHOT
                   1.0.5-SNAPSHOT

Fix in the 20070728 nightly build.

> 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
>             Fix For: 1.0.5-SNAPSHOT, 1.1.0-SNAPSHOT
>
>
> 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="[EMAIL 
> PROTECTED]" />
>                               </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.

Reply via email to