summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TMultiView.php
diff options
context:
space:
mode:
authorxue <>2006-04-12 17:06:31 +0000
committerxue <>2006-04-12 17:06:31 +0000
commit8758ffa08275ec1a38f161e0eb80f8ae6ca403f8 (patch)
treee0bfe0e6656ac8ddb45e30d8917a11bd762d13fb /framework/Web/UI/WebControls/TMultiView.php
parent3ab151f4a2d938fabe7283671f365027ad622a13 (diff)
Fixed a bug in TMultiView about getting the active view.
Diffstat (limited to 'framework/Web/UI/WebControls/TMultiView.php')
-rw-r--r--framework/Web/UI/WebControls/TMultiView.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php
index 5f4f3d84..6dd0d8f1 100644
--- a/framework/Web/UI/WebControls/TMultiView.php
+++ b/framework/Web/UI/WebControls/TMultiView.php
@@ -248,6 +248,16 @@ class TMultiView extends TControl
}
/**
+ * Loads state into the wizard.
+ * This method is invoked by the framework when the control state is being saved.
+ */
+ public function loadState()
+ {
+ // a dummy call to ensure the view is activated
+ $this->getActiveView();
+ }
+
+ /**
* Renders the currently active view.
* @param THtmlWriter the writer for the rendering purpose.
*/