object()

The object() function inserts XML code.

Syntax

object(expr)
Note:
  1. expr is a string interpreted as an XML snippet. expr can be the XML code between the gwc:snippet-root tags. All the template instructions in this string is interpreted against the current context. Any parsing error detected is written in the log files, assuming the TEMPLATE category is set.

Example

<p gwc:replace="object(value) />

This insert the value of a field as XHTML code in the html page.