[richfaces-issues] [JBoss JIRA] Commented: (RF-8625) Create functions to escape naming container separator char in IDs for usage in jQuery selectors

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri May 14 17:14:27 EDT 2010


    [ https://jira.jboss.org/jira/browse/RF-8625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12530835#action_12530835 ] 

Nick Belaevski commented on RF-8625:
------------------------------------

Added org.ajax4jsf.javascript.ScriptUtils.escapeCSSMetachars(String) & RichFaces.escapeCSSMetachars(s) methods. Escapement is done according to a list of meta-characters in this document: http://api.jquery.com/category/selectors/

> Create functions to escape naming container separator char in IDs for usage in jQuery selectors 
> ------------------------------------------------------------------------------------------------
>
>                 Key: RF-8625
>                 URL: https://jira.jboss.org/jira/browse/RF-8625
>             Project: RichFaces
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: client-lib, core
>    Affects Versions: 4.0.0.ALPHA2
>            Reporter: Nick Belaevski
>            Assignee: Nick Belaevski
>             Fix For: 4.0.0.ALPHA2
>
>
> Default separator for naming containers in JSF is colon symbol ':', however it should be escaped in order to be used in CSS ID selectors, because colon is used as pseudo-class delimiter there. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list