From 8758ffa08275ec1a38f161e0eb80f8ae6ca403f8 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 12 Apr 2006 17:06:31 +0000 Subject: Fixed a bug in TMultiView about getting the active view. --- framework/Web/UI/WebControls/TMultiView.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'framework/Web/UI/WebControls/TMultiView.php') 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 @@ -247,6 +247,16 @@ class TMultiView extends TControl return false; } + /** + * 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. -- cgit v1.2.3