Template Structure
Each template has three main sections into which you insert your code.
- User Variable Declaration contains global variable declarations. (Do not declare any global variables unless it is absolutely necessary.)
- User Function Declarations contains your own functions. Your own functions are not called from the corresponding JSP file. Take coupling and cohesion into consideration when you design your functions.
- Functions Called from the Corresponding HTML page contains functions that are called from the HTML page. Uncomment the functions you need to use and add your code. You can find more technical information about the behavior of these functions in the external template files.