summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TBaseValidator.php
diff options
context:
space:
mode:
authorxue <>2006-01-11 00:16:33 +0000
committerxue <>2006-01-11 00:16:33 +0000
commit384a8f108e3de0e2475d4267732b0f3ffabb7541 (patch)
tree8fbf5f71bfd868621e1d1d1a45512950f7b8c40c /framework/Web/UI/WebControls/TBaseValidator.php
parentdfde83887227d19b3b413f19e2693fd790d661e1 (diff)
Diffstat (limited to 'framework/Web/UI/WebControls/TBaseValidator.php')
-rw-r--r--framework/Web/UI/WebControls/TBaseValidator.php6
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