Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

// TODO: tmjee: restructuring this page such that each relevant tag has an example section of its own

Controls tags provide the ability to manipulate collections and conditionally produce content.

  1. else
  2. elseIf / elseif
  3. if

Iteration Tags

  1. append
  2. generator
  3. iterator
  4. merge
  5. sort
  6. subset

Examples

If, ElseIf, Else Tag

Append Tag

Generator Tag

Merge Tag

Sort Tag

Subset Tag

Iterator Tag

Iterator will iterate over a value. An iterable value can be either of: java.util.Collection, java.util.Iterator, java.util.Enumeration, java.util.Map, array.Example:

Code Block
 
 <ww:iterator value="days">
   <p>day is: <ww:property/></p>
 </ww:iterator>

...