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. --- .../protected/pages/Controls/Samples/TTextBox/Home.page | 12 ++++++++++++ .../protected/pages/Controls/Samples/TTextBox/Home.php | 6 ++++++ 2 files changed, 18 insertions(+) (limited to 'demos/quickstart/protected/pages/Controls/Samples/TTextBox') 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"; -- cgit v1.2.3