[richfaces-issues] [JBoss JIRA] Created: (RF-11284) rich:autocomplete on Mojarra doesn't handle suggestions/selection correctly

Ján Jamrich (JIRA) jira-events at lists.jboss.org
Wed Aug 10 09:43:36 EDT 2011


rich:autocomplete on Mojarra doesn't handle suggestions/selection correctly
---------------------------------------------------------------------------

                 Key: RF-11284
                 URL: https://issues.jboss.org/browse/RF-11284
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.1.0.Milestone1
         Environment: RichFaces 4.1.0.20110805-M1 r.10246d45dddd1d2aa2034317d5a832394cc919f9
Metamer 4.1.0.20110805-M1 r.22604
Mojarra 2.0.3-
JBoss AS 6.0.0.Final
Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
Chrome 12.0.742.112 @ Linux i686, IE7, 
            Reporter: Ján Jamrich


In the contrary with rich:autocomplete with MyFaces, there is not working suggestions or suggestion selection for autocomplete.

Common case is type some keys into autocomplete input, e.g. "al" and wait for display suggestions, in this case "Alabama, Alaska". Then pick one of them, and this item should appear in autocomplete input instead of typed characters (so that value start with upper case and so on), and this value appears in output element.

It is working correctly with autocomplete example without any changes (just open page faces/components/richAutocomplete/autocomplete.xhtml).
But when set any attribute value (such as layout to div, or minChars to 2 or something else), selection from autocomplete suggestions stop work.
Then is not possible to select item from suggestion, but when click (or select by narrovs and press enter) on an item, then suggestions disappears, but autocomplete input remain empty not the output is updated by selected value.

The workaround is invalidate session, but it causes clean attribute value (so then is not minChars or layout attribute set to any value).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list