[
https://jira.jboss.org/jira/browse/RF-3853?page=com.atlassian.jira.plugin...
]
Vladimir Molotkov resolved RF-3853.
-----------------------------------
Resolution: Rejected
Assignee: Tsikhon Kuprevich (was: Vladimir Molotkov)
replace
<f:param name="selector"
value="#formID\:hotKeySubviewID\:inputTextID" />
with
<f:param name="selector" value="#inputTextID" />
works fine
HotKey: Impossible to add/remove hotkeys using JS functions under
Opera and IE6-7.
----------------------------------------------------------------------------------
Key: RF-3853
URL:
https://jira.jboss.org/jira/browse/RF-3853
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Opera, IE6-7
Reporter: Alexander Dubovsky
Assignee: Tsikhon Kuprevich
Fix For: 3.2.2
Source:
<h:inputText id="inputTextID" value="test input" />
<rich:hotKey id="jsID" timing="onregistercall"/>
<h:panelGrid columns="2">
<h:commandButton id="jsAddCCID" value="add hotkey:
alt+b"></h:commandButton>
<h:commandButton id="jsRemoveCCID" value="remove hotkey:
alt+b"></h:commandButton>
<rich:componentControl disableDefault="true"
attachTo="jsAddCCID" for="jsID" event="onclick"
operation="add">
<f:param name="selector"
value="#formID\:hotKeySubviewID\:inputTextID" />
<f:param name="key" value="alt+b" />
<f:param name="handler" value="alert('alt+b')" />
</rich:componentControl>
<rich:componentControl disableDefault="true"
attachTo="jsRemoveCCID" for="jsID" event="onclick"
operation="remove">
<f:param name="key" value="alt+b" />
<f:param name="selector"
value="#formID\:hotKeySubviewID\:inputTextID" />
</rich:componentControl>
</h:panelGrid>
# click "add hotkey: alt+b" button
# set focus on input field
# try to call hotkey
Result: hotkey was not added.
--
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