public function goNext($commit=false)
    {
        // call ValidateForm()
        $recArr = $this->readInputRecord();
        $this->setActiveRecord($recArr);
    	
   		 try
        {
             if ($this->ValidateForm() == false)
            return;
        }catch (Openbizx\Validation\Exception $e)
        {
            $this->processFormObjError($e->errors);
            return;
        }

        $this->activeRecord = $this->readInputRecord();
		$viewObj = $this->getWebpageObject();
        // get the step
    	if($viewObj->getCurrentStep()){
        	$step = $viewObj->getCurrentStep();
        }else{
        	$step = $_GET['step'];
        }
        if (!$step || $step=="")
            $step=1;

        // redirect the prev step
        /* @var $viewObj WebPageWizard */
        
        $viewObj->renderStep($step+1);
    }
public function goNext($commit=false)
    {
        // call ValidateForm()
        $recArr = $this->readInputRecord();
        $this->setActiveRecord($recArr);
    	
   		 try
        {
             if ($this->ValidateForm() == false)
            return;
        }catch (Openbizx\Validation\Exception $e)
        {
            $this->processFormObjError($e->errors);
            return;
        }

        $this->activeRecord = $this->readInputRecord();
		$viewObj = $this->getWebpageObject();
        // get the step
    	if($viewObj->getCurrentStep()){
        	$step = $viewObj->getCurrentStep();
        }else{
        	$step = $_GET['step'];
        }
        if (!$step || $step=="")
            $step=1;

        // redirect the prev step
        /* @var $viewObj WebPageWizard */
        
        $viewObj->renderStep($step+1);
    }
public function goNext ( $ commit = false ) { // call ValidateForm() $ recArr = $ this -> readInputRecord ( ) ; $ this -> setActiveRecord ( $ recArr ) ; try { if ( $ this -> ValidateForm ( ) == false ) return ; } catch ( Openbizx \ Validation \ Exception $ e ) { $ this -> processFormObjError ( $ e -> errors ) ; return ; } $ this -> activeRecord = $ this -> readInputRecord ( ) ; $ viewObj = $ this -> getWebpageObject ( ) ; // get the step if ( $ viewObj -> getCurrentStep ( ) ) { $ step = $ viewObj -> getCurrentStep ( ) ; } else { $ step = $ _GET [ 'step' ] ; } if ( ! $ step || $ step == "" ) $ step = 1 ; // redirect the prev step /* @var $viewObj WebPageWizard */ $ viewObj -> renderStep ( $ step + 1 ) ; }
Go to next wizard page

@param boolean $commit true if need to commit current form data
@return void
@access remote
Go to next wizard page