User assistance for content authors |
---|
Dynamic list-rendering contexts
The IBM® Digital Data Connector (DDC) for WebSphere® Portal makes it possible to dynamically set or modify the list-rendering context: For this purpose, it supports a defined set of public render parameters.
The Web Content Viewer portlet registers these parameters.
This registration makes read and write access to these parameters
possible in two ways:
- Developers can read or write the parameters through the public portal API.
- Website designers can read or write the parameters through the render parameter and the render URL plug-in tags.
The
following public render parameters are defined by Digital Data Connector:
- sources
- The namespace is http://www.ibm.com/xmlns/prod/datatype/content/resource-collections.
- The identifier is sources.
- filters
- The namespace is http://www.ibm.com/xmlns/prod/datatype/content/resource-collections.
- The identifier is filters.
- sorting
- The namespace is http://www.ibm.com/xmlns/prod/datatype/content/resource-collections.
- The identifier is sorting.
For example, the social rendering DDC plug-in makes it possible to set a dynamic search term filter for social lists. You do so by setting the public render parameter filters to the value sr:searchterm:searchterm. Replace searchterm by the actual search term that you want to use for filtering the bean list. The social rendering DDC plug-in processes only filters parameters that are defined in the URI scheme sr, in other words, it ignores all filters parameters that do not start with a sr: prefix.