[richfaces-issues] [JBoss JIRA] (RF-13180) Autocomplete: ajax doesn't work with change event

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Oct 11 18:27:26 EDT 2013


    [ https://issues.jboss.org/browse/RF-13180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12813611#comment-12813611 ] 

Lukáš Fryč commented on RF-13180:
---------------------------------

According to jQuery UI Autocomplete:

onchange - Triggered when the field is blurred, if the value has changed.
http://api.jqueryui.com/autocomplete/#event-change

onclose - Triggered when the menu is hidden. Not every close event will be accompanied by a change event.
http://api.jqueryui.com/autocomplete/#event-close

----

It's rather onclose event that we are looking for listening for change,

but I would again emphasize need to analyse what RF4 done here and whether we shouldn't rather incorporate completely new event like onvalueupdated.


                
> Autocomplete: ajax doesn't work with change event
> -------------------------------------------------
>
>                 Key: RF-13180
>                 URL: https://issues.jboss.org/browse/RF-13180
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input, regression
>    Affects Versions: 5.0.0.Alpha2
>         Environment: RichFaces 5.0.0-SNAPSHOT
> Metamer 5.0.0-SNAPSHOT
> Mojarra 2.1.19
> JBoss AS 7.2.0.Final-redhat-8
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 29.0.1547.65 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Lukáš Fryč
>            Priority: Blocker
>             Fix For: 5.0.0.Alpha2
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richAutocomplete/autocomplete.xhtml
> # type "a" into input
> # select Alabama
> result:
> * ajax request is not fired
> * output is not updated
> * when "change" event in r:ajax is changed to "blur", the use-case works

--
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