Create a widget manually
- Start by creating a new directory for your widget.
-
Describe it in the
widget.xml
file. -
Add the logic in the
widget.jsp
file.
Your widget should appear automatically after reloading the widgets in the Mashup Builder, and should be ready to be used.
Note:
JSP files are compiled at the application startup. Changing a .jsp file
requires restarting the searchserver.