2012-02-05 4 views
1

インラインフィールドのグリッドを設定していますが、デモの例よりもかなり同じですが、エラーが続くだけです。インラインフィールドの値を変更するときにRenderObjectSuccess.phpを含めることができません。私は間違って何をしていますか?グリッドでインラインを使用すると、Unableに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); 
} 
} 

答えて

0

ええ、それはバグです。

修正プログラムが動作するかどうか私に教えてください。

+0

だけのために変更いいえ、E =新しいException_StopRender($ r)この$;:stopRender.php – mcanedo

+0

を含めることができない私はちょうどにその行を変更それは今働く。 – mcanedo

+0

@mcanedo/@romaninsh、その 'throw $ this-> exception($ r、 'StopRender');' ---他のソースを調べて比較すると、この例外処理が時間の経過とともに変更されていることがわかりました。既に例外を処理する標準がありますか?変化には大きな違いがありますか? –

関連する問題