Assembling a Web page with all of its content

If you publish to a Publication Target with the Target Language set to the value "REL" (Render Engine Language); that is, if you publish your output in TCDL, then you can assemble (that is, retrieve and run) a published Page directly from the Content Data Store.

By assembling the published Page, you render all code contained in the Page itself and in all Component Presentations on that Page. To assemble the Page, run the following code (JSP example):

PageContentAssembler assembler = new PageContentAssembler();
String pageContent = assembler.getContent("tcm:2-587-64", new HashMap<String, String>());