Add "escape" attribute to select* Components
--------------------------------------------

         Key: MYFACES-407
         URL: http://issues.apache.org/jira/browse/MYFACES-407
     Project: MyFaces
        Type: New Feature
  Components: JSF 1.1  
 Environment: myfaces 1.0.9
    Reporter: Peter Cheung


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  "〹". 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to