ValueProvider?
On Wed, 16 Oct 2013 14:49:20 -0300, George Christman
<gchrist...@cardaddy.com> wrote:
I'm wondering if there is already a tapestry service available for
creating
a string array from an object list similar to the
SelectModelFactory.createSelectModel.
I find myself creating similar code to below in my autocompletes.
public List<String> onProvideCompletionsFromSupervisor(String keyword) {
List<LDAPProfile> ldapProfiles = ldapCache.findAllLDAPUsers(keyword);
List<String> results = new ArrayList<>()';
for(LDAPProfile ldapProfile : ldapProfiles) {
results.add(ldapProfile.getName);
}
return results;
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org