[
https://issues.jboss.org/browse/RF-10227?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-10227:
---------------------------------
Guys, even though I find it understand your requirements,
I'm not sure the 'nothingLabel' is actually good approach:
autocomplete doesn't serve the purpose of selection from choices, but rather
suggesting when match is found.
If you want nothingLabel, I would suggest to use rich:select, which I believe should have
this functionality.
rich:select provides your with a set of options your input is limited to. That's why
it make sense to report user no valid option was found
/wrt the input he provided.
----
Without philosophical questions,
It seems jQuery UI Autocomnplete (which Rich Autocomplete is based on) also doesn't
has this functionality built-in,
and people suggest to use such workarounds:
http://stackoverflow.com/questions/4141945/jquery-ui-autocomplete-show-so...
If you want to help to proceed with this issue, please create an issue in RichWidgets
issue tracker first and we can discuss impl details there.
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