summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TDataList
diff options
context:
space:
mode:
authorxue <>2006-04-15 14:21:40 +0000
committerxue <>2006-04-15 14:21:40 +0000
commitb07499534b6d0ed57a2b80c4d95354ca3791c236 (patch)
tree29bfeefb0b543abee915dd4051652dabb413005a /demos/quickstart/protected/pages/Controls/Samples/TDataList
parent0f380cd025dd9530b8faee7061d1957c5fd6cd9c (diff)
Breaking change! Changed context of the expressions in template to the template control. Evaluations of <%= %> are now all in PreRender stage.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TDataList')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page10
1 files changed, 5 insertions, 5 deletions
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 @@
<tr>
<td>
<com:TLinkButton
- Text=<%#$this->Parent->DataItem['id']%>
+ Text=<%#$this->DataItem['id']%>
CommandName="select"
/>
<%#$this->DataItem['name']%>
@@ -83,7 +83,7 @@
<td align="right">Name</td>
<td><com:TTextBox
ID="ProductName"
- Text=<%#$this->Parent->DataItem['name'] %>
+ Text=<%#$this->DataItem['name'] %>
/>
</td>
</tr>
@@ -91,7 +91,7 @@
<td align="right">Quantity</td>
<td><com:TTextBox
ID="ProductQuantity"
- Text=<%#$this->Parent->DataItem['quantity'] %>
+ Text=<%#$this->DataItem['quantity'] %>
/>
</td>
</tr>
@@ -99,7 +99,7 @@
<td align="right">Price</td>
<td><com:TTextBox
ID="ProductPrice"
- Text=<%#$this->Parent->DataItem['price'] %>
+ Text=<%#$this->DataItem['price'] %>
/>
</td>
</tr>
@@ -107,7 +107,7 @@
<td align="right">Imported</td>
<td><com:TCheckBox
ID="ProductImported"
- Checked=<%#$this->Parent->DataItem['imported'] %>
+ Checked=<%#$this->DataItem['imported'] %>
/>
</td>
</tr>