⇤ ← Revision 1 as of 2003-07-05 22:28:12
718
Comment:
|
← Revision 2 as of 2011-02-15 06:05:17 ⇥
722
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
See the [http://object-craft.com.au/projects/albatross/albatross/tag-for-listiter.html ListIterator] and [http://object-craft.com.au/projects/albatross/albatross/tag-for.html al-for tag] sections in the documentation for more information. | See the [[http://object-craft.com.au/projects/albatross/albatross/tag-for-listiter.html|ListIterator]] and [[http://object-craft.com.au/projects/albatross/albatross/tag-for.html|al-for tag]] sections in the documentation for more information. |
ListIterator supports the <al-for> tag. A ListIterator object is created by <al-for> and bound to the name given in the iter attribute, i.e.
<al-for iter="people_iter" expr="people"> ... </al-for>
ListIterator provides the context of the <al-for> loop including:
- the value() method that returns a reference to the current item
page size and other paging information used by <al-for>'s paging mode
- methods that can be used to format the HTML
See the ListIterator and al-for tag sections in the documentation for more information.