Skip to main content

Templating

Modules generate documents from templates with JMustache. A template holds the layout; the module supplies the data.

What it is used for​

OutputExamples
E-mailNotifications: account creation, password reset, reminders, with names, dates and links filled in
PDFSign-in sheets, certificates and reports
Word documentsStandardized official documents with fields filled in

Extensions​

The platform adds three extensions to JMustache:

ExtensionWhat it adds
TranslationTemplates are rendered in the member's language, from resource files holding the translations
DatesFilters that format a date (dd/MM/yyyy, yyyy-MM-dd HH:mm) and add or subtract days, months or years in the template
Static resourcesImages, style sheets and other resources included in the generated document, and content loaded from external files or from a database

New Quarkus code uses Qute instead. See Migrating from Open ENT NG.