Php CRUD,单击“添加或编辑”中的“保存”后

Php CRUD,单击“添加或编辑”中的“保存”后,php,mysql,postgresql,atk4,Php,Mysql,Postgresql,Atk4,/var/www/page/page/video.php: <?php class page_video extends Page { function init(){`enter code here` parent::init(); $form=$this->add('Form'); $d=$this->add('Tabs'); $d->addTab('klienci_w')->add('

/var/www/page/page/video.php:

<?php
class page_video extends Page {
    function init(){`enter code here`
        parent::init();

        $form=$this->add('Form');

        $d=$this->add('Tabs');
        $d->addTab('klienci_w')->add('CRUD')->setModel('KlienciW');

        if($form->isSubmitted()){
            $form->js()->execute();
       }

    }  

    }   
在MySQL中,这些数据被添加到数据库中,但是表单仍然在web浏览器的主屏幕上,在PostgreSQL中,什么都没有发生,但是表单仍然在web浏览器的主屏幕上

版本4.2和4.2.1中的ATK4


我做错了什么?

通过删除debug=true行关闭调试

<?php
class Model_KlienciW extends Model_Table {
    public $entity_code='klienci_w';
    public $debug=true;

        function init(){
                parent::init();


    $this->addField('adresid');
    $this->addField('adresn');
    $this->addField('adresu');
    $this->addField('adresk');
    $this->addField('adresp');
    $this->addField('aosoba');
    $this->addField('aosobat');
    $this->addField('odbiorcaid');
    $this->addField('data')->type('date');
    $this->addField('datau')->type('date');

        }

    }
insert into `klienci_w` (`adresid`,`adresn`,`adresu`,`adresk`,`adresp`,`aosoba`,`aosobat`,`odbiorcaid`,`data`,`datau`) values ("sdfsd","fsdf","sdfsd","fsdf","sdfsd","fsdfsd","fsdf","sdf","2012-05-16","2012-05-18") [:a_10, :a_9, :a_8, :a_7, :a_6, :a_5, :a_4, :a_3, :a_2, :a]
select `id`,`adresid`,`adresn`,`adresu`,`adresk`,`adresp`,`aosoba`,`aosobat`,`odbiorcaid`,`data`,`datau` from `klienci_w` where `id` = "6" limit 0, 1 [:a]
$('#Frontend_video_tabs_view_htmlelement_crud').trigger('reload');$('#Frontend_video_tabs_view_htmlelement_crud_form').univ().closeDialog()