Changeset 2427
Legend:
- Unmodified
- Added
- Removed
-
trunk/HISTORY
r2425 r2427 36 36 ENH: Ticket#741 - Added CDbConnection.currentTransaction property (Qiang) 37 37 ENH: Ticket#743 - Added status code header in HTTP response when in error (Qiang) 38 ENH: Ticket#745 - TWizard action MoveTo - allow specify step ID's (Christophe) 38 39 ENH: Ticket#757 - TDateFormat and TNumberFormat now implement IDataRenderer (Qiang) 39 40 ENH: Ticket#783 - Added date/time type support to soap implementation (Hongliang) -
trunk/framework/Web/UI/WebControls/TWizard.php
r1962 r2427 1393 1393 if($this->_cancelNavigation) // may be set in onSideBarButtonClick 1394 1394 $navParam->setCancelNavigation(true); 1395 $navParam->setNextStepIndex(TPropertyValue::ensureInteger($param->getCommandParameter())); 1395 $requestedStep=$param->getCommandParameter(); 1396 if (!is_numeric($requestedStep)) 1397 { 1398 $requestedIndex=-1; 1399 foreach ($this->getWizardSteps() as $index=>$step) 1400 if ($step->getId()===$requestedStep) 1401 { 1402 $requestedIndex=$index; 1403 break; 1404 } 1405 if ($requestedIndex<0) 1406 throw new TConfigurationException('wizard_step_invalid'); 1407 } 1408 else 1409 $requestedIndex=TPropertyValue::ensureInteger($requestedStep); 1410 $navParam->setNextStepIndex($requestedIndex); 1396 1411 $handled=true; 1397 1412 }
