demo kısmından loginForm model ve view kısımlarını alıyorum ama şu hataıy alıyorum.
2010/09/21 17:22:42 [error] [exception.CException] exception 'CException' with message 'LoginForm does not have a method named "isAttributeRequired".' in public_html\framework\base\CComponent.php:266
Stack trace:
#0 [internal function]: CComponent->__call('isAttributeRequ...', Array)
Sanırım CPortlet içerisine formModel fonksiyonları eklenmiyor.
bunu nasıl yaparım
Yii::import('zii.widgets.CPortlet');
class LoginForm extends CPortlet {
public $model ;
public function init() {
$this->model= new LoginForm;
parent::init();
}
protected function renderContent() {
$this->render('_loginForm', array('model' => $this->model));
}
}

Help












