Sometimes, document templates are used to perform actions in addition to or even instead of displaying results. Methods can be called when evaluating name attributes or in expr attribute expressions. These methods may perform a useful action but produce no output or produce an output which is not needed. The dtml- call tag is provided for evaluating expressions or calling methods that have a useful side effect without inserting any text:
<dtml-call "addDocument('hi','display a greeting','Hello world!')">
Previous Chapter | Next Chapter | Up | Next Section | Contents