From 52ae5aef521fa7d800e09206342eb9ac17043cd8 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 13 Jan 2006 12:57:54 +0000 Subject: --- .../protected/pages/Validation/RequiredFieldValidator.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php') diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php index 995b3df0..ff24b93a 100644 --- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php +++ b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php @@ -2,9 +2,10 @@ class RequiredFieldValidator extends TPage { - function onLoad($param) + protected function onLoad($param) { - Prado::log("Hello", TLogger::WARNING); + if(!$this->IsPostBack) + $this->dataBind(); } } -- cgit v1.2.3