summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TWizard.php
diff options
context:
space:
mode:
authorxue <>2006-04-12 12:15:25 +0000
committerxue <>2006-04-12 12:15:25 +0000
commit3ab151f4a2d938fabe7283671f365027ad622a13 (patch)
tree4039cc68b88a6237f607aaafc66ec006520ab9f0 /framework/Web/UI/WebControls/TWizard.php
parent80ad6f7dab290d8ec3b74991b54685d7a9a2debf (diff)
Fixed #129.
Diffstat (limited to 'framework/Web/UI/WebControls/TWizard.php')
-rw-r--r--framework/Web/UI/WebControls/TWizard.php10
1 files changed, 10 insertions, 0 deletions
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
@@ -736,6 +736,16 @@ class TWizard extends TWebControl implements INamingContainer
}
/**
+ * 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.
*/
protected function requiresControlsRecreation()