From 8aa0d56705a71894a80c1293730b6c67cddc8a40 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Thu, 2 Jun 2011 09:30:55 +0000 Subject: added documentation for TActiveDataList, TActiveDataGrid and TActiveRepeater class --- .../Samples/TActiveRepeater/Home.page | 92 ++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page new file mode 100644 index 00000000..4d855cbc --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page @@ -0,0 +1,92 @@ + + +

TActiveRepeater Sample

+ +

+The following example allows users to modify the existing tabular data using a TActiveRepeater. Two validators are used in the repeater to ensure the validity of user inputs. One is to ensure product names are not empty, the other ensures product prices are valid numeric format. After clicking on the save button, the input data is displayed in a table at the bottom of the page. +

+ + + + + + + + + + + + + + + + + + +
NameCategoryPriceImported
+ Data['name']%> /> + + + + Data['price']%> /> + + Data['imported']%> /> + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IDNameCategoryPriceImported
<%#$this->Data['id']%><%#$this->Data['name']%><%#$this->Data['category']%><%#$this->Data['price']%><%#$this->Data['imported']?'Yes':'No'%>
Computer Parts Inventory
+ + +
+ +
+ +
$Id: Sample3.page 1688 2007-02-09 22:48:31Z xue $
\ No newline at end of file -- cgit v1.2.3