You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Grant Smith (JIRA)" <de...@myfaces.apache.org> on 2007/05/18 19:24:17 UTC

[jira] Resolved: (TOMAHAWK-630) Add "escape" attribute to select* Components

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

Grant Smith resolved TOMAHAWK-630.
----------------------------------

    Resolution: Fixed

> Add "escape" attribute to select* Components
> --------------------------------------------
>
>                 Key: TOMAHAWK-630
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-630
>             Project: MyFaces Tomahawk
>          Issue Type: New Feature
>         Environment: myfaces 1.0.9
>            Reporter: Peter Cheung
>         Assigned To: Grant Smith
>
> Currently, the "selectMany*", "selectOne*", "selectItem*" components don't have the option to disable the "escape" functionality. For example for "selectItems", renderSelectOptions method of HtmlRendererUtils.java invokes "writer.writeText" (line 478), which escapes the string before displaying it. In my application, I store the Chinese texts as "Numeric Character Reference" in the format of  "&#12345;". After the string is escaped, it becomes unreadable. The NCR characters are displaying fine using "escape=true" in outputText. This is inconsistency within JSF. I hope that this feature can be added to these components. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.