[richfaces-issues] [JBoss JIRA] Commented: (RF-413) Could we provide an JS API to make the suggestions and access objects with suggestion box?
Pavel Yaschenko (JIRA)
jira-events at lists.jboss.org
Tue May 13 11:38:27 EDT 2008
[ 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
More information about the richfaces-issues
mailing list