c:next-template

<c:next-template
  tunnel-params? = expression(Object | IDictionary<String, Object>) >
  <!-- Content: c:with-param* -->
</c:next-template>

Invokes the hidden template.

Category
instruction
Permitted parent elements
Any XCST element whose content model is sequence-constructor
Any literal result element

Attributes

tunnel-params An object with tunnel parameters.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

Error Conditions

It is a compilation error if the c:next-template element is not descendant of c:template.

It is a compilation error if there’s no other template in the containing package with the same name as the containing template and with lower import precedence.

It is a compilation error if the c:next-template element does not define a non-tunnel c:with-param for a required, non-tunnel, template parameter.

It is a compilation error is the value specified in c:with-param for a non-tunnel parameter is not implicitly castable to the parameter’s type.

It is a compilation error if the c:next-template element defines a non-tunnel c:with-param for a parameter that does not exist in the target template.

See Also