[
https://jira.jboss.org/jira/browse/RF-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Dubovsky updated RF-5283:
-----------------------------------
Summary: HotKey: ajax request buzzes for hotKey with
timing="onregistercall" until we do not register. (was: HotKey: ajax request
buzzes if two hot keys are defined on the page inside panelGrid.)
Description:
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>
<rich:hotKey id="jsID" timing="onregistercall" />
</h:form>
Open page and click a4j submit
Result: ajax buzzes.
This repeats until we do not register this hotKey.
was:
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>
> HotKey: ajax request buzzes for hotKey with timing="onregistercall" until we
> do not register.
> ----------------------------------------------------------------------------------------------
>
> 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
>
> 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>
> <rich:hotKey id="jsID" timing="onregistercall" />
> </h:form>
> Open page and click a4j submit
> Result: ajax buzzes.
> This repeats until we do not register this hotKey.
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues