Hi, If you'd like to make a widget template for it, you can take example on what's done for the user suggestion (even if it is more complex than what you need):
http://hg.nuxeo.org/nuxeo/nuxeo-jsf/file/release-5.4.0/nuxeo-platform-webapp-base/src/main/resources/web/nuxeo.war/widgets/user_suggestion_widget_template.xhtml (multiple selection) http://hg.nuxeo.org/nuxeo/nuxeo-jsf/file/release-5.4.0/nuxeo-platform-webapp-base/src/main/resources/web/nuxeo.war/widgets/single_user_suggestion_widget_template.xhtml (single selection) You'll need to adapt the suggestionAction method bound to the rich:suggestionbox tag in a custom seam component and query the directory API there, based on the given input (e.g types letters). The method for user suggestion can be seen here as an example (but it uses the user manager, which is the one querying the user directory): http://hg.nuxeo.org/nuxeo/nuxeo-jsf/file/release-5.4.0/nuxeo-platform-webapp-base/src/main/java/org/nuxeo/ecm/webapp/security/UserSuggestionActionsBean.java You'll also have to adapt it to use nxdir:directoryEntryOutput in view mode http://community.nuxeo.com/api/nuxeo/5.4/tlddoc/nxdir/tld-summary.html --- Mailing list: [email protected] Forum: http://forum.nuxeo.org/f/1/
