From 3ab151f4a2d938fabe7283671f365027ad622a13 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 12 Apr 2006 12:15:25 +0000 Subject: Fixed #129. --- framework/Web/UI/WebControls/TWizard.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'framework') diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index fd849d3d..851c5bbf 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.php @@ -735,6 +735,16 @@ class TWizard extends TWebControl implements INamingContainer $history->push($index); } + /** + * 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 step is activated + $this->getActiveStep(); + } + /** * Indicates the wizard needs to recreate all child controls. */ -- cgit v1.2.3