Skip to Content
Former Member
May 06, 2004 at 06:48 PM

BC-BSP-MVC: Question about creating/accessing ID of master controller


Hello Experts-

I had a BSP-MVC related question.

If a master controller ( creates and calls a view (1.htm) then how can I access one of the attributes of the master controller ( from one of its sub-controllers ( and

Its easy to access attributes of sub-controllers because you can get an instance of the sub-controller from any other controller by referencing to it through the 'm_parent' object (and using the get_controller method with a reference to the controller/component id of the sub-controller). Its relatively simple to identify them (sub-controllers) and their attributes.

However, since the master controller ( is the point of access of the application and is called directly from the web-browser, there is no location to specify its controller id.

So, my question is, where do I assign a controller/component id to my master controller? Or, how do I refer to an attribute of the master controller if I am unable to assign a controller/component ID to it?


- Vik.