[richfaces-issues] [JBoss JIRA] Resolved: (RF-6504) Support colon in hotkey selector

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Mar 12 10:42:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski resolved RF-6504.
--------------------------------

    Resolution: Rejected


Not a bug. Use selector="#myComponentId", rich:hotKey will convert this internally

> Support colon in hotkey selector
> --------------------------------
>
>                 Key: RF-6504
>                 URL: https://jira.jboss.org/jira/browse/RF-6504
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: Java 6
> Seam 2.1.1
>            Reporter: c_inconnu
>
> When using hotkey selector with a component which has a composite ID (with colon, ie. "myDecorator:myComponentId") one cannot use :
> <r:hotKey key="esc" handler="doSth()" selector="##{r:clientId(myComponentId)}" />
> Since jQuery does not understand colon. We must escape it :
> <r:hotKey key="esc" handler="doSth()" selector="##{r:clientId(myComponentId).replace(':','\\:')}" />
> I would be nice if it was supported out of the box.
> Thanks

-- 
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