Changes between Version 2 and Version 3 of JalaModules/ListRenderer
- Timestamp:
- 03/01/07 12:51:34 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JalaModules/ListRenderer
v2 v3 1 == Using jala.!ListRenderer==1 == Using [jala-current:docs/jala.ListRenderer.html jala.ListRenderer] == 2 2 3 3 Basically the !ListRenderer is a special object wrapping either a !HopObject collection or an Array of !HopObjects, providing various methods and macros for renderering the list and optionally a list navigation of a certain type (eg. a page skimming navigation containing prev/next links, or a pagination navigation). … … 165 165 By specifying the {{{type}}} macro attribute the !ListRenderer will search for a rendering function called "daily" in the renderer object passed as construction time, and call it for each item in the list. If for some reason the specified rendering function is not found, the !ListRenderer will use its default method to prevent errors. 166 166 167 This way the whole behaviour of the !ListRenderer can be customized and extended. To get an idea on how to add special rendering functions for the other parts of a list please have a look at the [ source:branches/release-1.0/code/ListRenderer.js source code] of the library. At the end of the file you will find the defaul renderer object which you can use as a model for creating custom rendering functions.167 This way the whole behaviour of the !ListRenderer can be customized and extended. To get an idea on how to add special rendering functions for the other parts of a list please have a look at the [jala-current:code/ListRenderer.js source code] of the library. At the end of the file you will find the defaul renderer object which you can use as a model for creating custom rendering functions.
![(please configure the [header_logo] section in trac.ini)](/jala/chrome/common/trac_banner.png)