From cb0aeb81d77d7170196f1b667978f56c6018100b Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 25 Nov 2006 20:51:43 +0000 Subject: merge from 3.0 branch till 1508. --- demos/quickstart/protected/controls/SearchBox.php | 12 ++++++------ demos/quickstart/protected/pages/Controls/Repeater.page | 2 +- .../protected/pages/GettingStarted/Introduction.page | 5 +++-- 3 files changed, 10 insertions(+), 9 deletions(-) (limited to 'demos/quickstart') diff --git a/demos/quickstart/protected/controls/SearchBox.php b/demos/quickstart/protected/controls/SearchBox.php index b579cd91..6fb8e376 100644 --- a/demos/quickstart/protected/controls/SearchBox.php +++ b/demos/quickstart/protected/controls/SearchBox.php @@ -1,25 +1,25 @@ ensureChildControls(); return $this->getRegisteredObject('search')->getText(); } - + public function getTextBox() { $this->ensureChildControls(); return $this->getRegisteredObject('search'); } - + public function getButton() { $this->ensureChildControls(); return $this->getRegisteredObject('find'); } - + public function onInit($param) { parent::onInit($param); @@ -32,7 +32,7 @@ class SearchBox extends TTemplateControl if(strlen($query = $this->search->getText()) >0) { $ps = $this->getApplication()->getPageService(); - $page = $ps->constructUrl('Search', array('q' => $query)); + $page = $ps->constructUrl('Search', array('q' => $query), false); $this->getApplication()->getResponse()->redirect($page); } } diff --git a/demos/quickstart/protected/pages/Controls/Repeater.page b/demos/quickstart/protected/pages/Controls/Repeater.page index d8f3fd0a..3534c603 100644 --- a/demos/quickstart/protected/pages/Controls/Repeater.page +++ b/demos/quickstart/protected/pages/Controls/Repeater.page @@ -19,7 +19,7 @@ To populate data into the repeater items, set DataSource to a valid dat
-This Quickstart tutorial is provided to help you quickly start building your own Web applications based on PRADO version 3.0. +This Quickstart tutorial is provided to help you quickly start building your own Web applications based on PRADO version 3.x.
You may refer to the following resources if you find this tutorial does not fulfill all your needs.