Я настраиваю сетку со встроенным полем, почти так же, как в примерах из демонстрации, но я просто продолжаю получать сообщение об ошибке: Невозможно включить RenderObjectSuccess.php при изменении значенияво встроенном поле.Что я делаю не так?
class page_alumnos_pago extends Page {
function init(){
parent::init();
$this->api->stickyGET('id');
$mAlumno=$this->add('Model_Alumno')->loadData($_GET['id']);
$g = $this->add('Grid');
$g->addColumn('date','fechaVencimiento');
$g->addColumn('text','concepto');
$g->addColumn('money','monto');
$g->addColumn('inline','temp_pago');
$g->setSource('programaPago');
$g->dq->where('alumno_id',$_GET['id']);
}
}
Это моя модель ProgramaPago:
class Model_ProgramaPago extends Model_Table {
public $entity_code='programaPago';
function init(){
parent::init();
$this->addField('alumno_id')->caption('Alumno')->refModel('Model_Alumno')->mandatory(true);
$this->addField('fechaVencimiento')->caption('Fecha de Vencimiento')->type('date')->mandatory(true);
$this->addField('monto')->caption('Monto')->type('money')->mandatory(true);
$this->addField('concepto')->caption('concepto')->type('text')->mandatory(true);
}
}