[richfaces-issues] [JBoss JIRA] (RF-10227) autocomplete: implement "nothingLabel"

Brian Leathem (JIRA) jira-events at lists.jboss.org
Fri Oct 11 13:30:26 EDT 2013


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

Brian Leathem commented on RF-10227:
------------------------------------

To me, the nothing label is useful when you type something that yields no matches, and you are unsure if there are indeed no matches, or if the component  failed.

Take for example the autocomplete component in the showcase:
http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=autocomplete&skin=blueSky

In the first input, type "zz".  There is no change in the autocomplete component.  Is this because there is not value that starts with "zz"?  It's unclear.  As an application programmer I might want to give feedback to my user indicating that no match was found.

If not a _nothingLabel_ attribute, we could also meet this use case by firing an event when a search yields a zero result value.  An event-based approach might be more generally useful.
                
> autocomplete: implement "nothingLabel"
> --------------------------------------
>
>                 Key: RF-10227
>                 URL: https://issues.jboss.org/browse/RF-10227
>             Project: RichFaces
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: base functionality, component-input
>    Affects Versions: 4.0.0.Milestone5
>            Reporter: Juergen Zimmermann
>             Fix For: 5-Future
>
>
> rich:autocomplete doesn't have an attribute for a "nothingLabel" to indicate that there are no matches

--
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