Start page / Templates (basics) / Composition of templates / Scripts / Template set tab

Template set tab

A unique tab is displayed for each template set added by the administrator for a project in the “Server and Project Configuration” application. The entries from the Page Store are checked, processed and evaluated in these template sets.

Template sets tabs

The template sets (e.g.: HTML, JSP, print, etc.) contain the actual BeanShell source code. Specifying the character string //! Beanshell in the first line of a script causes the system to interpret the following source text as BeanShell script.

Example:

//!Beanshell
print("My First Script!");

If the script is to be executable in each template set, each template set tab must be filled with the script code.

For information on the icons of the toolbar, please refer to page Composition of templates, paragraph “General functions”.

© 2005 - 2024 Crownpeak Technology GmbH | All rights reserved. | FirstSpirit 2024.2 | Data privacy