Start page
Start page

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

Template set tab

A unique tab is displayed for each template set or presentation channel 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 presentation channels.

Line numbering can be shown or hidden using the icon in the top right-hand corner.

Search in templates

 

The following icons are used to run searches in templates:

Find (Ctrl+F): Opens a window in which the user can search for text.

Replace (Ctrl+R): Opens a window in which the user can search for and replace text.

Next occurrence (F3): Jumps to the next search result.

Previous occurrence (Shift+F3): Jumps to the last search result.

Undo (Ctrl+Z): Undoes the last change.

Redo (Ctrl+Y): Restores changes that have been undone.

Output channels

The output channels (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 output channel, each channel must be filled with the script code.

© 2005 - 2015 e-Spirit AG | All rights reserved. | Last change: 2014-03-27