[richfaces-issues] [JBoss JIRA] Resolved: (RF-6504) Support colon in hotkey selector
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Fri Sep 11 11:34:23 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: Won't Fix
That's the specific of modal panel, use:
<a:commandButton value="Show" onclick="#{r:component('mydialog2')}.show();return false" />
<r:modalPanel id="mydialog2">
<r:hotKey key="esc" handler="#{r:component('mydialog2')}.hide();return false;" selector="#mydialog2 .rich-mp-container" />
<f:facet name="header">header</f:facet>
<a:commandButton value="OK" onclick="#{r:component('mydialog2')}.hide();return false;" />
</r:modalPanel>
> Support colon in hotkey selector
> --------------------------------
>
> Key: RF-6504
> URL: https://jira.jboss.org/jira/browse/RF-6504
> Project: RichFaces
> Issue Type: Bug
> Components: component-misc
> Affects Versions: 3.3.0
> Environment: Java 6
> Seam 2.1.1
> Reporter: c_inconnu
> Assignee: Nick Belaevski
> Fix For: 3.3.2.GA
>
> 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
More information about the richfaces-issues
mailing list