Skip to Content
0
Former Member
Sep 20, 2005 at 11:21 AM

MVC: DO_FINISH_INPUT after return from sub-controller

227 Views

I'm using a subcontroller to handle input in a tabstrip item.

I see my events get handled OK in the subcontroller.

Also the DO_FINISH_INPUT is handled correctly. However, I'm a bit surprised to find out that after the DO_FINISH_INPUT of the subcontroller, the DO_FINISH_INPUT of the parent controller is also executed.

How can I avoid this? Can this be done with a controller_set_active?

How is the sequence of the different methods:

DO_HANDLE_DATA

DO_HANDLE_EVENT

DO_FINISH_INPUT

DO_REQUEST

in case of maincontroller & subcontroller combination?

Regards,

Eric