The integrated list is designed to ease list creation. OpenCms 10 introduced the <cms:search>
tag and propagated it's use for building lists. Since for most use cases the tag is far too powerful and hence unnecessarily complicated to configure, the integrated list type with all its related features (e.g., a new tag <cms:simplesearch>
) is the easy to configure way of building lists that are sufficient for most use cases.
Using the integrated list, all you need to do is writing a formatter for it.
OpenCms does not provide a formatter for the list content type by default. The formatter is very specific for a template, hence there's no point in providing a default one. In essence, you feed the list content into the <cms:simplesearch>
tag and then you get the collected contents (and some extra information) as result.
The attribute exposed by <cms:simplesearch>
is the same as exposed by <cms:search>
. Here, we provide a fully featured demo formatter for dealing with the result.