http://www.yiiframework.com/wiki/145/cjuidialog-for-create-new-model/
Based on this wiki I don’t know how can I send values to actionCreateExcel (export to excel). When I normally use actionCreate in my controller I have:
if($model->save())
$this->redirect(array('addFamily/CreateExcel','val1'=>$model->mail,'val2'=>$model->adres,'val3'=>$model->comment,'val4'=>$model->telefon));
Now how can I send values using this juiDialog ??
else // status=='Success'
{
$('#dialogAddFamily div.divForForm').html(data.div);
setTimeout(\"$('#dialogAddFamily').dialog('close') \",3000);
//and here I should send data, but I don't know how ...
}