From f4c525abc3d4d3f3eecf1019770936e4ca39fd62 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 9 Feb 2007 22:48:31 +0000 Subject: added two item renderer demos. --- demos/quickstart/protected/pages/Controls/Repeater.page | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'demos/quickstart/protected/pages/Controls/Repeater.page') diff --git a/demos/quickstart/protected/pages/Controls/Repeater.page b/demos/quickstart/protected/pages/Controls/Repeater.page index 69c6cdba..1e2ac881 100644 --- a/demos/quickstart/protected/pages/Controls/Repeater.page +++ b/demos/quickstart/protected/pages/Controls/Repeater.page @@ -11,7 +11,7 @@ The layout of the repeated contents are specified by inline templates. In partic

-Since v3.1.0, the layout can also be specified by renderers. A renderer is a control class that can be instantiated as repeater items, header, etc. A renderer can thus be viewed as an external template (in fact, it can also be non-templated controls). A renderer can be any control class. If implemented with one of the following interfaces, a renderer will be initialized with additional properties relevant to the repeater items: +Since v3.1.0, the layout can also be specified by renderers. A renderer is a control class that can be instantiated as repeater items, header, etc. A renderer can thus be viewed as an external template (in fact, it can also be non-templated controls). A renderer can be any control class. By using item renderers, one can avoid writing long and messy templates. Since a renderer is a class, it also helps reusing templates that previously might be embedded within other templates. If implemented with one of the following interfaces, a renderer will be initialized with additional properties relevant to the repeater items: