If it is necessary to use in templates one and the same DDC, but differently, depending on its position, it is possible to indicate DDC call parameters for further analysis of they values in DDC conditions. Delivery of DDC parameters is performed in the following way:
|
<sapi:apply name="ddc.obj1.value"> <sapi:param name="pvar1">Value of param 1</sapi:param> <sapi:param name="pvar2">Value of param 2</sapi:param> </sapi:apply> |
Values of DDC parameters will be available in DDC conditions in the following variables: this.param.pvar1.value and this.param.pvar2.value