Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Templates are loaded based on the theme (see Selecting Themes) and the template directory. The template directory is defined by the webwork.ui.templateDir property in webworkaction.properties (defaults to template). This means, by default, if a tag is using the ajax theme, the following two locations will be searched (in this order):

...

WebWork supports three template engines, which can be controlled by the webwork.ui.templateSuffix in webworkaction.properties:

  • ftl (default) - FreeMarker-based template engine
  • vm - Velocity-based template engine
  • jsp - JSP-based template engine

...