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

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Oct 17 15:49:01 EDT 2013


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

Brian Leathem commented on RF-13180:
------------------------------------

Every "editable value holder" component should have a change event.  The only point up for debate is whether it's fired after a user selects a value, or after the component is blurred (and the value has changed since it received focus).

IMO we should stick to the HTML input semantics that the change event is fired after blur, but we should provide an event whenever the user changes the value.  The analogous event for the input component might be the "keypress" event.
                
> 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