I am using AutoComplete in the most basic way. Here is the xhtml
<p:autoComplete id="ldapId" value="#{ldapLoc.ldapId}" completeMethod="ldapLoc.complete"/>
and here is the method on the bean
public List<String> complete(String stub) {
List<String> rtn = autoc.getAutoComplete(stub);
return rtn;
}
This exception is thrown:
SEVERE: java.lang.IllegalArgumentException: Cannot convert ldapLoc.complete of type class java.lang.String to interface java.util.List
It seems straightforward, but apparently not. This uses Prime 3.0.M1, Mojarra 2.04, Tomcat 7.014. Thanks
AutoComplete throwing IllegalArgumentException
-
- Information
-
Who is online
Users browsing this forum: No registered users and 50 guests