(Jump to other KnowledgeBases)
DSpace Resources
DSpace Website
DSpace Documentation
DSpace Wiki
DSpace Demo Site
Contribute to KnowledgBase
...
We'll use a servlet class to query a SOLR core to generate a JSON responses, this responses will be wired to a textbox textboxes with autocomplete functionality. Here is a simple diagram of this dataflow.
...
Wiki Markup |
---|
First of all we'll add jquery and jquery-ui libraries to advanced search .jsp page. This libraries have the code necessary to implement autocomplete behavior. We can add them on head section of advanced search page \[dspace-source\]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/search/advanced.jsp, or use a on/off switch approach to attach them as described on [Adding jQuery (or other script library) support on JSPUI|DSpaceKB:Adding jQuery (or other script library) support on JSPUI]. In this manual we'll use second approach because we'llit's the fastes way to disable scriptaculous libraries to avoid colliding with jquery. |
...