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

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Thu Oct 17 04:23:02 EDT 2013


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

Pavol Pitonak commented on RF-13180:
------------------------------------

1. your test (link 1) isn't very useful because it doesn't simulate what a user does
2. autocomplete doesn't fire change event in Metamer even after blur is done, it *is a regression*
3. r.taglib.xml doesn't contain attribute onselect, however, there is onselectitem attribute, I *don't* agree with removing onchange attribute, there is a difference in behavior between onblur and onchange, see link 2

(link 1) https://github.com/richfaces/richfaces/blob/master/framework/src/test/integration/org/richfaces/ui/autocomplete/ITAutocompleteEvents.java#L104
(link 2) http://docs.jboss.org/richfaces/latest_5_X/vdldoc/r/autocomplete.html
                
> 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: Pavol Pitonak
>            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