[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:06: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 HTTP request is sent
* expected: no request is sent (canceling the value, when confirming an ajax request should be made)

With this command it works as expected:
{code}$("[id='form:inplaceInputCancelbtn']").trigger('mousedown');{code}



  was:
# 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 HTTP request is sent
* expected: ajax request is sent

With this command it works as expected:
{code}$("[id='form:inplaceInputCancelbtn']").trigger('mousedown');{code}




    
> 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 HTTP request is sent
> * expected: no request is sent (canceling the value, when confirming an ajax request should be made)
> 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