From 9ca759cbfd2c6438dce417e3840462e85aed88f6 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Fri, 24 Mar 2006 04:07:34 +0000
Subject: Added two wizard demos.
---
framework/Web/UI/WebControls/TWizard.php | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
(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 420d6eb3..3a37b590 100644
--- a/framework/Web/UI/WebControls/TWizard.php
+++ b/framework/Web/UI/WebControls/TWizard.php
@@ -621,14 +621,14 @@ class TWizard extends TWebControl implements INamingContainer
}
/**
- * Raises OnFinishButtonClick event.
+ * Raises OnCompleteButtonClick event.
* This event is raised when a finish navigation button is clicked in the
* current active step.
* @param TEventParameter event parameter
*/
- public function onFinishButtonClick($param)
+ public function onCompleteButtonClick($param)
{
- $this->raiseEvent('OnFinishButtonClick',$this,$param);
+ $this->raiseEvent('OnCompleteButtonClick',$this,$param);
if(($url=$this->getFinishDestinationUrl())!=='')
$this->getResponse()->redirect($url);
}
@@ -755,7 +755,7 @@ class TWizard extends TWebControl implements INamingContainer
{
$this->applyControlProperties();
$this->renderBeginTag($writer);
- $writer->write("\n
\n\n");
+ $writer->write("\n\n\n");
$this->_sideBar->renderControl($writer);
$writer->write("\n | \n");
$this->_header->renderControl($writer);
@@ -1320,7 +1320,7 @@ class TWizard extends TWebControl implements INamingContainer
throw new TInvalidDataValueException('wizard_command_invalid',self::CMD_COMPLETE);
if($index<$this->getWizardSteps()->getCount()-1)
$navParam->setNextStepIndex($index+1);
- $this->onFinishButtonClick($navParam);
+ $this->onCompleteButtonClick($navParam);
$handled=true;
}
else if(strcasecmp($command,self::CMD_MOVETO)===0)
--
cgit v1.2.3
| |