HotKey: Impossible to add/remove hotkeys using JS functions under Opera and IE6-7.
----------------------------------------------------------------------------------
Key: RF-3853
URL:
http://jira.jboss.com/jira/browse/RF-3853
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Opera, IE6-7
Reporter: Alexander Dubovsky
Assigned To: Nick Belaevski
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:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira