forum:forums
Returns a Collection
containing all
the forums in one or more sections.
Syntax
<forum:forums id="..." publicationIds="..."? recursive="..."? sectionIds="..."?/>
Attributes
publicationIds
A comma separated list of IDs of the publications from which the forums to be retrieved. If this attribute is specified then the others will be ignored. It is convenient when all the forums from a specific publication or several publications are required.
sectionIds
The sections from which forums are to be retrieved, specified as a list of one or more section IDs. If
publicationIds
attribute is specified then, it will not take effect.recursive
If set to
true
, then the sub-trees of the sections specified with thesectionIds
attribute are also searched for forums. For performance reasons, you should avoid using this attribute for sections with large section subtrees. The default value isfalse
.id
, mandatory, no runtime expressionsThe name of the scripting variable that will be created to access the returned forum
Collection
.
Scripting variable (id)
A scripting variable will be defined using the value of the id
attribute as its name. The variable is of type java.util.Collection
.