Home > Guides > Tag Developers Guide > Struts Tags > Tag Reference > Generic Tag Reference > append

Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

Description

Component for AppendIteratorTag, which jobs is to append iterators to form an appended iterator whereby entries goes from one iterator to another after each respective iterator is exhausted of entries.

For example, if there are 3 iterator appended (each iterator has 3 entries), the following will be how the appended iterator entries will be arranged:

  1. First Entry of the First Iterator
  2. Second Entry of the First Iterator
  3. Third Entry of the First Iterator
  4. First Entry of the Second Iterator
  5. Second Entry of the Second Iterator
  6. Third Entry of the Second Iterator
  7. First Entry of the Third Iterator
  8. Second Entry of the Third Iterator
  9. Third Entry of the Third ITerator

Parameters

Dynamic Attributes Allowed:

false
 

Name

Required

Default

Evaluated

Type

Description

idfalsefalseStringDeprecated. Use 'var' instead
varfalsefalseStringThe name of which if supplied will have the resultant appended iterator stored under in the stack's context

Example