Simple collector with detail page

This example demonstrate the implementation, configuration and usage of a simple collector to display resources of a specified folder in a list.

Please check the OpenCms 8.5 documentaion for more details.

List of resources:

Used collector: myCollector

Collector parameters: [path]|[resource type]|[count]
/dev-demo/collector-with-detail-page/.content/article/|ddarticle|5

If you call this demo for the first time the collector "myCollector" maybe has not been configured yet.

Edit opencms-vfs.xml and add code line to node:

<collectors>
	...
	<collector class="org.opencms.dev.demo.CmsSimpleResourceCollector" order="180" />
</collectors>
        	

Restart the servlet container.


javax.servlet.jsp.JspException: org.opencms.main.CmsException: El recolector "myCollector" no se encontrĂ³.