[richfaces-issues] [JBoss JIRA] (RF-13410) Inplace input: when triggering 'click' event on control buttons a wrong request is made
Jiří Štefek (JIRA)
jira-events at lists.jboss.org
Wed Dec 4 05:04:06 EST 2013
[ https://issues.jboss.org/browse/RF-13410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiří Štefek updated RF-13410:
-----------------------------
Description:
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceInput/simple.xhtml
# set @showControls=true
# open console and run this command:
{code}$("[id='form:inplaceInputCancelbtn']").trigger('click');{code}
* have: an ajax request is sent
* expected: no request is sent
With this command it works as expected:
{code}$("[id='form:inplaceInputCancelbtn']").trigger('mousedown');{code}
was:
1. deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceInput/simple.xhtml
2. set showControls=true
3. click on inplace input, change value and click cancel button
result:
an ajax request is sent (status and time in header change)
> Inplace input: when triggering 'click' event on control buttons a wrong request is made
> ---------------------------------------------------------------------------------------
>
> Key: RF-13410
> URL: https://issues.jboss.org/browse/RF-13410
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.4, 5.0.0.Alpha1
> Reporter: Jiří Štefek
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceInput/simple.xhtml
> # set @showControls=true
> # open console and run this command:
> {code}$("[id='form:inplaceInputCancelbtn']").trigger('click');{code}
> * have: an ajax request is sent
> * expected: no request is sent
> With this command it works as expected:
> {code}$("[id='form:inplaceInputCancelbtn']").trigger('mousedown');{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list