OpenWGA 7.9 - WebTML reference

WebTML tags » query

<tml:query p_param ="param-value">

Purpose:

Shortcut for defining query parameters

Description:

This can be used to define query parameters which have string values. Simply specify the variable name as attribute name after the "p_" and the value as attribute value.

Value(s):

Query parameter value

Examples:

This:

<tml:query p_username="{username}">

  content.author = :username

</tml:query>

Is a short form for this:

<tml:query>

  <tml:param name="username" expression="username"/>

  content.author = :username

</tml:query>