create form in cjuitab

hello …

I create the form in cjuitab, but the code "echo errorSummary" do not print (validation error).

this my code


$this->widget('zii.widgets.jui.CJuiTabs', array(



				'En' =>$this->renderPartial("create", array('model' => $model), $this),

				'En1' =>$this->renderPartial("create1", array('model1' => $model1,'id'=>'profile'), $this),







public function actionCreate()


		$model=new Barang;

		// Uncomment the following line if AJAX validation is needed

		// $this->performAjaxValidation($model);



			$status = 0;


			if(CUploadedFile::getInstance($model,'image') != ""){


			$status = 1;



				if($status ==1)

				$model->image->saveAs(Yii::app()->basePath . '/../images/' . $model->image);








need help:(

turns that make validation onsubmit does not work because I use ajaxSubmitButton …

but i want when i click the create button on the second tab(success) does not reload page that lead back to the first tab

is there any idea to do this?