In cotroller:
public function actions(){
return array(
// naming the action and pointing to the location
// where the external action class is
'comment.'=> array(
'class'=>'application.components.pack.comments.CommentActionProvider',
'owner'=>$this->loadModel(),
)
);
}
Action provider widget
class CommentActionProvider extends CWidget
{
public static function actions()
{
return array (
// naming the action and pointing to the location
// where the external action class is
'create' => 'application.components.pack.comments.actions.create',
);
}
}
i dont know how to catch the parameter "owner".
any ideas?

Help













