ajaxian
(Dorioajax)
1
Hi all,
I define in "extensions" directory a new controller
And i declare it in main.php, in controllerMap array.
When I access it through standard application it works fine.
When I try to access it through a module (in a form inside a module) then I get a 404 CHttpException
Do you know how make this stuff works ?
Thanks
ajaxian
(Dorioajax)
2
adding in protected/main.php
'controllerMap'=>array(
'provider'=>array(
'class'=>'application.extensions.actions.EFormProvider',
),
),
then in a specific module view
CController::createUrl('/provider/populate')
with populate is an action of EFormProvider
and it works fine.