Chapter 9. Operations With ECM Groovy Templates

Creation and editing templates
View properties

The template file is a combination of HTML code and groovy code blocks. The usage of eXo IDE gives the possibility to create and edit those files in editor.

To create new groovy template, click on Toolbar "New->Groovy Template" button or select "File->New->Groovy Template" in top menu. The editor will open new empty file; add content there and the code will be highlighted. Save file using "Save As" in "File" on top menu or Toolbar button. With groovy template file Outline Panel and autocomplete, but only in HTML tags by now, can be used.

Picture 27. Operations with groovy templates

To view properties of the groovy template click "Show Properties" button on the right corner of the Toolbar.