+

Search Tips   |   Advanced Search

Nesting lists

We can render nested lists by nesting list-rendering contexts. Nested lists can be useful if the individual entries in the list contain associated information in the form of a list as well. For example, we might want to show a list of communities, including all the community members for each community. In this case, we can retrieve the individual lists of community members by rendering nested lists from within the individual items of the community list.

To create a nested list-rendering context, you add an extra [Plugin:ListRenderingContext action="set"] plug-in to the list design component. This new child context replaces the parent list-rendering context active before the new context was set. To remove the nested context and reestablish the parent context active before, add a [Plugin:ListRenderingContext action="remove"] tag to the design after you include the corresponding list design component that renders the nested list.


Example

To remove a currently active nested list-rendering context, add the following tag to the design: [Plugin:ListRenderingContext action="remove"]


Parent Set the list-rendering context