[
http://jira.jboss.com/jira/browse/RF-413?page=comments#action_12412623 ]
Pavel Yaschenko commented on RF-413:
------------------------------------
callSuggestion and getSelectedItems have been implemented.
Usage:
$('id').component.callSuggestion(ignoreMinChars);
$('id').component.getSelectedItems(); - returns array of objects;
Also you can get array of properties from the object array using folowing prototype
method:
$('id').component.getSelectedItems().pluck(propertyName);
Could we provide an JS API to make the suggestions and access objects
with suggestion box?
------------------------------------------------------------------------------------------
Key: RF-413
URL:
http://jira.jboss.com/jira/browse/RF-413
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Pavel Yaschenko
Priority: Critical
Fix For: 3.2.1
For example I wan to use onclick on the input field and callthe suggestion list like a
modalPanel - using JS object method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira