From 370c682479edb2fd3f40ee701f7bb4ef088e8283 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 7 Apr 2006 03:32:11 +0000 Subject: Breaking change!! Optimized the representation and evaluation of template expression, statements and databind tags. --- .../pages/Controls/Samples/TRepeater/Sample1.page | 20 ++++++++++---------- .../pages/Controls/Samples/TRepeater/Sample2.page | 8 ++++---- .../pages/Controls/Samples/TRepeater/Sample3.page | 12 ++++++------ 3 files changed, 20 insertions(+), 20 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/Samples/TRepeater') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.page b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.page index e28ef6fb..f519342d 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.page @@ -17,21 +17,21 @@ -<%#$this->Parent->DataItem['id']%> -<%#$this->Parent->DataItem['name']%> -<%#$this->Parent->DataItem['quantity']%> -<%#$this->Parent->DataItem['price']%> -<%#$this->Parent->DataItem['imported']?'Yes':'No'%> +<%#$this->DataItem['id']%> +<%#$this->DataItem['name']%> +<%#$this->DataItem['quantity']%> +<%#$this->DataItem['price']%> +<%#$this->DataItem['imported']?'Yes':'No'%> -<%#$this->Parent->DataItem['id']%> -<%#$this->Parent->DataItem['name']%> -<%#$this->Parent->DataItem['quantity']%> -<%#$this->Parent->DataItem['price']%> -<%#$this->Parent->DataItem['imported']?'Yes':'No'%> +<%#$this->DataItem['id']%> +<%#$this->DataItem['name']%> +<%#$this->DataItem['quantity']%> +<%#$this->DataItem['price']%> +<%#$this->DataItem['imported']?'Yes':'No'%> diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.page b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.page index b939c586..ce0942c3 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.page @@ -14,7 +14,7 @@ - <%#$this->NamingContainer->DataItem %> + <%#$this->DataItem %> - <%#$this->NamingContainer->DataItem['name'] %> + <%#$this->DataItem['name'] %> - <%#$this->NamingContainer->DataItem['age'] %> + <%#$this->DataItem['age'] %> - <%#$this->NamingContainer->DataItem['position'] %> + <%#$this->DataItem['position'] %> diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page index fde06a36..38636962 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page @@ -69,12 +69,12 @@ The following example allows users to modify the existing tabular data using a < - -<%#$this->Parent->DataItem['id']%> -<%#$this->Parent->DataItem['name']%> -<%#$this->Parent->DataItem['category']%> -<%#$this->Parent->DataItem['price']%> -<%#$this->Parent->DataItem['imported']?'Yes':'No'%> + +<%#$this->DataItem['id']%> +<%#$this->DataItem['name']%> +<%#$this->DataItem['category']%> +<%#$this->DataItem['price']%> +<%#$this->DataItem['imported']?'Yes':'No'%> -- cgit v1.2.3