Scriptlet access to XML content demo page

This is a simple JSP page that produces similar output (except this text) as the Tag based list page /xmlcontentdemo/list.jsp. The creation of this page is based on scriptlet access to the OpenCms XML content instead of jsp tag access.

To check the funcitionality of scriptlet access to XML content for detail pages the property template-elements on the top folder /xmlcontentdemo/ of this page may be changed from
/xmlcontentdemo/detail.jsp
to
/xmlcontentdemo/detail_scriptlet.jsp
.
For a single file test this property may also be set to an article directly which will override the property value on the top level folder.

]]>
Above you see a list dynamically generated using xmlcontent objects.

Please note: A powerful option of OpenCms 6.0 is to create such a list as a page element, and include this element in your template. Click here to see such a page in action.

]]>