[richfaces-issues] [JBoss JIRA] (RF-11995) autocomplete only displaying select popup on minChars + 1

Brendan Healey (JIRA) jira-events at lists.jboss.org
Tue Feb 21 05:00:36 EST 2012


Brendan Healey created RF-11995:
-----------------------------------

             Summary: autocomplete only displaying select popup on minChars + 1
                 Key: RF-11995
                 URL: https://issues.jboss.org/browse/RF-11995
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-input
    Affects Versions: 4.2.0.CR1
         Environment: Glassfish 3.1.1 / Mojarra 2.1.7 / Chrome browser
            Reporter: Brendan Healey


I'm running the following test with org.richfaces.resourceOptimization.enabled
set to true.

After typing the minChars number of characters (2), I see an ajax request being
sent to the server and a response is successfully returned (observed using chrome
developer tools), but the popup selection list does not appear until minChars + 1
(3) characters are entered.

Typing the third character causes a get request for combo_list_shadow.png to be
sent.

<rich:autocomplete id="findSomething"
         mode="cachedAjax"
         var="var"
         fetchValue="#{var.name}"
         minChars="2"
         autocompleteMethod="#{bean.doSearch}">
     <rich:column>
        <h:outputText value="#{var.name}"/>
     </rich:column>
</rich:autocomplete>

I've only just migrated to rich:autocomplete from a self-developed custom component
so I don't know if this behavior existed in any richfaces version prior to 4.2.0.CR1.

I tried this on the showcase example here:
http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=autocomplete&skin=blueSky
(in the first autocomplete on the page) and could not reproduce the behavior.

I tried using mode="ajax" and mode="client" and could not get the popup to show in
either case, although I'd only ever want to use cachedAjax mode normally.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list