What steps will reproduce the problem?
1.in Usercontroller I make empty model by using
$model = new User('search')
$model->unsetAttributes();
2.then I ask viewer to render output
$this->render('index',array('model'->$model)
3.when I want to access the $model in viewer and create cgridview of all users,
I get an error 500:
Undefined variable: model
What version of the product are you using? On what operating system?
I'm using version 03 - r69
Please provide any additional information below.
I'm trying to make this in order to make list sortable and searchable
Original issue reported on code.google.com by ppi...@gmail.com on 12 Feb 2011 at 12:36
Original issue reported on code.google.com by
ppi...@gmail.com
on 12 Feb 2011 at 12:36