[
https://issues.jboss.org/browse/RF-10227?page=com.atlassian.jira.plugin.s...
]
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=autocom...
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