HotKey: ajax request buzzes if two hot keys are defined on the page inside panelGrid.
-------------------------------------------------------------------------------------
Key: RF-5283
URL:
https://jira.jboss.org/jira/browse/RF-5283
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA3
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Add two hotKeys on the page:
- the first is registered, with selector defined or type="onkeyup"
- the second has timing="onregistercall"
Open page and click a4j submit
Result: ajax buzzes.
Source code:
<h:form id="formID">
<a4j:commandButton value="a4j submit"
reRender="grid"></a4j:commandButton>
<a4j:status id="a4jStatusID" startText="WORK!"
startStyle="color: red;"
stopText="a4j:status"></a4j:status>
<h:panelGrid columns="1" id="grid">
<h:commandButton id="commandButtonID" onclick="return false;"
value="test select"></h:commandButton>
<rich:hotKey id="hotKeyID" handler="alert('www')"
key="shift+q"
selector="#commandButtonID" type="onkeypress" />
<rich:hotKey id="jsID" timing="onregistercall" />
</h:panelGrid>
</h:form>
--
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