From 373d8acc503b94ea09823f49e2ab5e395eccc584 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 12 Apr 2006 12:18:24 +0000 Subject: Merge from 3.0 branch till 898. --- framework/Web/UI/WebControls/TWizard.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'framework/Web/UI/WebControls/TWizard.php') diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index 794fb4da..426fd73d 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.php @@ -734,6 +734,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