listcontainer

toc
<mm:listcontainer> Surrounds a list tag and provides a query object. (since: MMBase-1.7)
see alsolist | querycontainerreferrer
attributes
  • path
    A path.
  • searchdirs
    For every path element the `searchdir' can be specified. Defaults to the previous searchdir.
  • id
    Id for reference by subtags and reuse.
  • fields
    see: fields attribute of list
  • nodes (since: MMBase-1.7.1)
    see: nodes attribute of list
querycontainer attributes
container attributes
contextreader attributes
contextwriter attributes
contextreferrer attributes
example 1
<!-- 'cluster' nodes -->
<mm:listcontainer path="news,posrel,urls">
  Total number of nodes before constraint: <mm:size /><br />
  <mm:constraint field="news.title" operator="LIKE" value="%xml%" />
  Total number of found nodes: <mm:size /><br />
  <mm:list>
    <mm:field name="news.title" />: <mm:field name="urls.url" /><br />
  </mm:list>
</mm:listcontainer>
Total number of nodes before constraint: 173
Total number of found nodes: 0