...
If you want to try it, implement it!
How it works
Via Javascript event handlers are attached to all input fields of the form. When something is changed in such an input field a AJAX http request is sent asynchronously to dspace. The EPersonListServlet handles this request and sends results back using JSON. Via javascript these results are displayed in HTML.
...
- Download the file SelectEPersonTag.java|^SelectEPersonTag.java||||\
- The file SelectEPersonTag.java in src/org/dspace/app/webui/jsptag must be replaced (make a backup copy!)
- edit jsp/WEB-INF/dspace-tags.tld and add the following to the selecteperson tag:
...
Merge EPersonListServlet.java|^EPersonListServlet.java||||\ with the current version of the file (make a backup copy!):
...
- download eperson-list-json.jsp|^eperson-list-json.jsp||||\
- place this file in the jsp/tools directory
...
- download select_eperson.js|^select_eperson.js||||\ and ajax.js|^ajax.js||||\
- place these files in the new directory ajax inside jsp
...
- download EPerson.java|^EPerson.java||||\
- merge this with the current version of the file (make a backup copy!). The following function was added:
...
- download eperson-list.jsp|^eperson-list.jsp||||\
- place this file in the jsp/local/tools directory (if you already have a local version, please merge those files)
...