diff options
author | wei <> | 2006-01-13 12:57:54 +0000 |
---|---|---|
committer | wei <> | 2006-01-13 12:57:54 +0000 |
commit | 52ae5aef521fa7d800e09206342eb9ac17043cd8 (patch) | |
tree | 51c3791769ad032232f6f2d3937404b0864f5012 /tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php | |
parent | 8e16e1f6e9b2b79696d03375e2a60fbae6761a64 (diff) |
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php')
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php | 5 |
1 files changed, 3 insertions, 2 deletions
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();
}
}
|