Closed GoogleCodeExporter closed 9 years ago
Hi,
Try change
$grid = Bvb_Grid::factory('Table');
to
$grid = Bvb_Grid::factory('Bvb_Grid_Deploy_Table');
IM
Original comment by ivomonte...@gmail.com
on 26 May 2012 at 6:33
Original comment by ivomonte...@gmail.com
on 26 May 2012 at 8:54
Thank you ...it removed the error but when I added the deploy() so that it will
display on the page the error came back again. My code in the controller looks
like this:
$actions = array(
array('action'=>'do', 'what'=>'view', 'caption'=>'View', 'class'=>'{view}'),
array('action'=>'do', 'what'=>'edit', 'caption'=>'Edit', 'class'=>'{edit} fixedClass'),
array('action'=>'do', 'what'=>'delete', 'caption'=>'Delete', 'class'=>'{delete}')
);
$grid = Bvb_Grid::factory('Bvb_Grid_Deploy_Table');
$grid->setSource(new Bvb_Grid_Source_Array($actions));
$this->view->grid = $grid->deploy();
The result is still this:
Exception information:
Message: Plugin by name 'Table' was not found in the registry; used paths:
Bvb_Grid_Template_: Bvb/Grid/Template/
Original comment by honman...@gmail.com
on 26 May 2012 at 10:05
I've got the same problem and i don't understand what to do
i don't see where the problem is fixed :
change
$grid = Bvb_Grid::factory('Table');
to
$grid = Bvb_Grid::factory('Bvb_Grid_Deploy_Table');
and the error message is
Plugin by name 'Table' was not found in the registry; used paths:
Bvb_Grid_Template_: Bvb/Grid/Template/
Original comment by david.cy...@gmail.com
on 19 Jun 2012 at 11:33
Original issue reported on code.google.com by
honman...@gmail.com
on 25 May 2012 at 12:03