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;

Reply via email to