Command RENDER Foundation
Renders a specific section
The RENDER command is used in layout files to specify the location in which a specific page section is rendered. If a layout file is referenced in a page, page composition is defined in the layout file. In this case, the RENDER command must be used to selectively render the output defined in the content page. To do this, the name of the section must be specified.
By default, output of a content page is written to the BODY section. Therefore at least the RENDER BODY command has to be used in the layout file. Otherwise the output of the content page is lost.
Section names are case-insensitive. If the <SectionName> does not identify a section, the composition engine writes an HTML comment to the output as shown below:
Sample layout file ("simplesite.layout")
CXP Page with layout reference ("layout1.cxp")
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.