[richfaces-issues] [JBoss JIRA] (RF-11453) Add autocomplete functionality to the rich:select component

Jiří Štefek (JIRA) issues at jboss.org
Tue Aug 19 07:55:32 EDT 2014


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

Jiří Štefek commented on RF-11453:
----------------------------------

Good job, now it works also on Firefox.

I have looked at the newly introduced attributes: {{mode}}, {{minChars}} (not mentioning those already used in sample) and found that:
* {{minChars}} works only with *ajax {{mode}}, is it correct ?
* using {{autocompleteList}} with {{clientFilterFunction}} doesn't work when used with *ajax {{mode}}. Is it correct?
* there should be a note in javadocs about {{mode}} and {{minChars}} which works only in 'autocomplete mode'

You can now use Metamer Application to verify this (only on branch RF-11453 now).

I have discovered another issue with {{minChars}} which can be reproduced in Metamer:
# deploy metamer and open http://localhost:8080/metamer/faces/components/richSelect/autocompleteMethod.xhtml
# set {{minChars}} to 2
# type {{al}} in the select, two suggestions will appear (Alaska, Alabama)
# delete last character // >>> "a"
# type {{q}} // >>> "aq"  ; this will produce no suggestions
# delete last character // >>> "a"
# type {{l}} again // >>> "al"
** expected: two suggestions will appear (Alaska, Alabama)
** have: no suggestion will appear and the select is broken, no value can be selected thereafter, even if you delete the input

[~michpetrov] or [~bleathem] could you look at this?

> Add autocomplete functionality to the rich:select component
> -----------------------------------------------------------
>
>                 Key: RF-11453
>                 URL: https://issues.jboss.org/browse/RF-11453
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-selects
>            Reporter: Cody Lerum
>            Assignee: Michal Petrov
>             Fix For: 4.5.0.Beta1
>
>   Original Estimate: 3 days
>          Time Spent: 2 days
>  Remaining Estimate: 1 day
>
> Add an "autocompleteMethod" to rich:select



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the richfaces-issues mailing list