myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Smith (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-407) Add "escape" attribute to select* Components
Date Mon, 21 Nov 2005 22:07:43 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-407?page=comments#action_12358204 ] 

Grant Smith commented on MYFACES-407:
-------------------------------------

No, I just added the attributes to the Tags. Sorry for the oversight. 

Hopefully in the not too distant future I'll get a few free minutes to add the new Sandbox
versions of selectItem and selectItems too.

> Add "escape" attribute to select* Components
> --------------------------------------------
>
>          Key: MYFACES-407
>          URL: http://issues.apache.org/jira/browse/MYFACES-407
>      Project: MyFaces
>         Type: New Feature
>   Components: Implementation
>  Environment: myfaces 1.0.9
>     Reporter: Peter Cheung
>     Assignee: 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.
-
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


Mime
View raw message