Extending : Widget extension : Enabling a customized widget in runtime : JSP template
  
JSP template
After the JavaScript class for the widget has been implemented, the class must be added into JSP require declaration section when generating XUI file to JSP file. A technical developer must create a new JSP template file or edit existing UNICOM® Digital Transformation Toolkit (UDTT™) JSP template file to add require declaration for the new JavaScript class. By default, JSP template files are located in the WebContent/templates folder of an XUI web project.
If implementing another tag library (for example: alphadojo.tld), the technical developer needs to add the taglib in the template:
<head>
<%@ taglib uri="/WEB-INF/bttdojo.tld" prefix="bttdojo"%>
<%@ taglib uri="/WEB-INF/alphadojo.tld" prefix="alphadojo"%>
<%@ page import="com.ibm.btt.cs.html.JSPUtil" %>
Go up to
Enabling a customized widget in runtime