diff options
author | xue <> | 2006-01-11 00:16:33 +0000 |
---|---|---|
committer | xue <> | 2006-01-11 00:16:33 +0000 |
commit | 384a8f108e3de0e2475d4267732b0f3ffabb7541 (patch) | |
tree | 8fbf5f71bfd868621e1d1d1a45512950f7b8c40c /framework/Web/UI/WebControls/TBaseValidator.php | |
parent | dfde83887227d19b3b413f19e2693fd790d661e1 (diff) |
Diffstat (limited to 'framework/Web/UI/WebControls/TBaseValidator.php')
-rw-r--r-- | framework/Web/UI/WebControls/TBaseValidator.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php index d82150ca..1f1d0b1b 100644 --- a/framework/Web/UI/WebControls/TBaseValidator.php +++ b/framework/Web/UI/WebControls/TBaseValidator.php @@ -105,6 +105,12 @@ abstract class TBaseValidator extends TLabel implements IValidator $this->getPage()->getValidators()->add($this); } + protected function onUnload($param) + { + $this->getPage()->getValidators()->remove($this); + parent::onUnload($param); + } + /** * Adds attributes to renderer. * @param THtmlWriter the renderer |