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 /alkacon-documentation/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 /alkacon-documentation/xmlcontentdemo/ of this page may be changed from
/alkacon-documentation/xmlcontentdemo/detail.jsp
to
/alkacon-documentation/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.
Sample article 1
This is the teaser or the first sample article. By Alkacon Software GmbH read more...
This is the article 2 sample
This is the sample article number 2. This is just a demo teaser. By Alkacon Software GmbH read more...
Nice sample article 3
Yet another example article for the example. By Alkacon Software GmbH read more...
This is article number 4
This is another teaser (writing samples can become tiresome). By Alkacon Software GmbH read more...
Above you see a list dynamically generated using xmlcontent objects.