From f16aa6762984e4d555a1cf93692db0a69fa2ab38 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 14 Jan 2006 00:19:18 +0000 Subject: Added TBaseDataList control. Updated class tree. Modified TTextBox about SafeHtml support. Modified TTextBox demo accordingly. --- .../pages/Controls/Samples/TTextBox/Home.page | 12 ++++++++++++ .../pages/Controls/Samples/TTextBox/Home.php | 6 ++++++ .../protected/pages/Fundamentals/classtree.gif | Bin 14164 -> 19840 bytes .../protected/pages/Fundamentals/classtree.vsd | Bin 63488 -> 72192 bytes 4 files changed, 18 insertions(+) (limited to 'demos') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page index 4a9b58a3..c8315e42 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page @@ -60,6 +60,18 @@ Text box's behavior upon postback: + +Safety feature (cross-site scripting prevention): + + +SafeText: +Page->TextBox2->SafeText%> /> + +

Password Text Boxes

diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php index e3160ead..30add74c 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php +++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php @@ -2,6 +2,12 @@ class Home extends TPage { + protected function onLoad($param) + { + parent::onLoad($param); + $this->Output->dataBind(); + } + public function textChanged($sender,$param) { $sender->Text="text changed"; diff --git a/demos/quickstart/protected/pages/Fundamentals/classtree.gif b/demos/quickstart/protected/pages/Fundamentals/classtree.gif index 318ed278..63e0194c 100644 Binary files a/demos/quickstart/protected/pages/Fundamentals/classtree.gif and b/demos/quickstart/protected/pages/Fundamentals/classtree.gif differ diff --git a/demos/quickstart/protected/pages/Fundamentals/classtree.vsd b/demos/quickstart/protected/pages/Fundamentals/classtree.vsd index fefab3f3..f2fa4391 100644 Binary files a/demos/quickstart/protected/pages/Fundamentals/classtree.vsd and b/demos/quickstart/protected/pages/Fundamentals/classtree.vsd differ -- cgit v1.2.3