Loops |
Syntax:
<#repeat name="loop name"><#/repeat name="loop name">
Loops represent Pascal/C while loop and let the application process the block zero or more times depending on application-defined condition.
Available names of task based loops:
Loop on all projects. Parameters: sort="Alphabetical|Duration|BeginDateTime|NoSort" // default = Alphabetical descend="True|False" // default = False
Loop on all tasks. Parameters: sort="Alphabetical|Duration|BeginDateTime|NoSort" // default = Alphabetical descend="True|False" // default = False
Loop on all periods. Parameters: sort="Ascend|Descend|NoSort" // default = Ascend
Available names of time based loops:
Loop on all months. Parameters: sort="Ascend|Descend" // default = Ascend
Loop on all weeks. Parameters: sort="Ascend|Descend" // default = Ascend
Loop on all days. Parameters: sort="Ascend|Descend" // default = Ascend
Loop on all periods. Parameters: sort="Ascend|Descend|NoSort" // default = Ascend
For example:
<#repeat name="Projects" sort="Alphabetical"> ... <#/repeat name="Projects">
See also:
|