Official Content

The CallSubTemplate directive is used to invoke a subtemplate. 

The syntax is:

<%@ CallSubTemplate MySubTemplate UseComboBoxes=”true” Mode = “”Insert”” CurrentLevel = “level”%>

After the CallSubTemplate directive, you need to specify the subtemplate’s logical name as declared in the SubTemplate directive. You also need to specify the property values for the called subtemplate. In this case, there are three properties set. 

Note that values should always be written in quotes, so to send a string parameter you need to use double quotes (that’s the case of the “Insert” parameter value). When you use single quotes, you are referring to variables, properties, constants, methods, etc.

See Also

GeneXus Template Language




Last update: January 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant