Hello.

Im trying to create a wrapper for a custom controller, what i want is to
have ComponentController, and based on some request parameters execute
another controller from a diferent module.

i want to drop folders with custom components inside my public area and
execute them from the ComponentController.

i tried to forward and actionstack to call the requeste controller and it
seems to work well they are being called but the subrequested external
controller does not render its respective view.

this is a sample structure

app/
        modules/
                default/
                        controllers/
                                ComponentController.php
                        views/

public/
        extensions/
                components/
                        component1/
                                controllers/
                                        CustomController.php
                                views/

i want to call the CustomController from the ComponentController like this

http://www.weburl.com/component/:componentName/?task=someAction&com=someController

and then in ComponentController i check this, add a new controller directory
based on the params and a module, add a script path too, and forward to that
aciton, controller, module(:componentName), but after that no view script is
rendered in the that action even when the controller is being proccesed, and
only the ComponentController is rendered.

is there a way to enable the rendering in the forwarded action? or through
the actionstack helper???

any help would be very appeciated.

thanks.
-- 
View this message in context: 
http://n4.nabble.com/Wrap-action-controller-within-a-parent-controller-tp1940058p1940058.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to