[
https://jira.jboss.org/jira/browse/RF-6504?page=com.atlassian.jira.plugin...
]
c_inconnu commented on RF-6504:
-------------------------------
Maybe i missed something but in the example file i'll attach next, only the first and
last cases are working...
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
Attachments: rf6504.xhtml
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