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. --- .../protected/pages/Controls/Samples/TDataList/Sample1.page | 10 +++++----- .../protected/pages/Controls/Samples/TDataList/Sample2.page | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/Samples/TDataList') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page index dee3a41c..25b7db81 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page @@ -26,7 +26,7 @@ Since the page is mainly for display and does not require user interactions, the
-Total <%# $this->Parent->Parent->ItemCount %> products. +Total <%# $this->Parent->ItemCount %> products.
@@ -36,10 +36,10 @@ Total <%# $this->Parent->Parent->ItemCount %> products. IDNameQuantityPrice - <%#$this->Parent->DataItem['id'] %> - <%#$this->Parent->DataItem['name'] %> - <%#$this->Parent->DataItem['quantity'] %> - $<%#$this->Parent->DataItem['price'] %> + <%#$this->DataItem['id'] %> + <%#$this->DataItem['name'] %> + <%#$this->DataItem['quantity'] %> + $<%#$this->DataItem['price'] %> diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page index 07980c49..4b484b21 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page @@ -29,7 +29,7 @@ Text=<%#$this->Parent->DataItem['id']%> CommandName="select" /> - <%#$this->Parent->DataItem['name']%> + <%#$this->DataItem['name']%> IDNameQuantityPrice - <%#$this->Parent->DataItem['id'] %> - <%#$this->Parent->DataItem['name'] %> - <%#$this->Parent->DataItem['quantity'] %> - $<%#$this->Parent->DataItem['price'] %> + <%#$this->DataItem['id'] %> + <%#$this->DataItem['name'] %> + <%#$this->DataItem['quantity'] %> + $<%#$this->DataItem['price'] %> @@ -77,7 +77,7 @@ - + -- cgit v1.2.3
ID<%#$this->Parent->DataItem['id']%><%#$this->DataItem['id']%>
Name