From b07499534b6d0ed57a2b80c4d95354ca3791c236 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 15 Apr 2006 14:21:40 +0000 Subject: Breaking change! Changed context of the expressions in template to the template control. Evaluations of <%= %> are now all in PreRender stage. --- .../protected/pages/Controls/Samples/TDataGrid/Sample3.page | 4 ++-- .../protected/pages/Controls/Samples/TDataList/Sample2.page | 10 +++++----- .../protected/pages/Controls/Samples/TRepeater/Sample3.page | 6 +++--- .../protected/pages/Controls/Samples/TTextBox/Home.page | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/Samples') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample3.page b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample3.page index be2f80bc..2864de46 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample3.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample3.page @@ -48,11 +48,11 @@ /> - + NamingContainer->DataItem['rating'] %> + SelectedValue=<%#$this->Parent->DataItem['rating'] %> ID="Rating"> diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page index 4b484b21..a0908f60 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page @@ -26,7 +26,7 @@ Parent->DataItem['id']%> + Text=<%#$this->DataItem['id']%> CommandName="select" /> <%#$this->DataItem['name']%> @@ -83,7 +83,7 @@ Name Parent->DataItem['name'] %> + Text=<%#$this->DataItem['name'] %> /> @@ -91,7 +91,7 @@ Quantity Parent->DataItem['quantity'] %> + Text=<%#$this->DataItem['quantity'] %> /> @@ -99,7 +99,7 @@ Price Parent->DataItem['price'] %> + Text=<%#$this->DataItem['price'] %> /> @@ -107,7 +107,7 @@ Imported Parent->DataItem['imported'] %> + Checked=<%#$this->DataItem['imported'] %> /> diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page index 38636962..4b6849e9 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page @@ -19,7 +19,7 @@ The following example allows users to modify the existing tabular data using a < Parent->DataItem['name']%> /> + Text=<%#$this->DataItem['name']%> /> Parent->DataItem['price']%> /> + Text=<%#$this->DataItem['price']%> /> Parent->DataItem['imported']%> /> + Checked=<%#$this->DataItem['imported']%> /> SafeText: Page->TextBox2->SafeText%> /> + Text=<%#$this->TextBox2->SafeText%> /> -- cgit v1.2.3