diff options
| author | xue <> | 2006-03-24 04:07:34 +0000 | 
|---|---|---|
| committer | xue <> | 2006-03-24 04:07:34 +0000 | 
| commit | 9ca759cbfd2c6438dce417e3840462e85aed88f6 (patch) | |
| tree | ef3ca0db52168cf32f19b96d0880fd6d68362f04 /framework/Web/UI | |
| parent | 252f43cbafdff06d308863507db600966e6ae640 (diff) | |
Added two wizard demos.
Diffstat (limited to 'framework/Web/UI')
| -rw-r--r-- | framework/Web/UI/WebControls/TWizard.php | 10 | 
1 files changed, 5 insertions, 5 deletions
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 <b>OnFinishButtonClick</b> event.
 +	 * Raises <b>OnCompleteButtonClick</b> 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<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\">\n<tr><td valign=\"top\">\n");
 +				$writer->write("\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\">\n<tr><td width=\"1\" valign=\"top\">\n");
  				$this->_sideBar->renderControl($writer);
  				$writer->write("\n</td><td valign=\"top\">\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)
  | 
