on 01-05-2006 1:50 PM
Hi,
When do we need to create Controller?
Whenever we create View , how do we relate it with created Controller.
Thanks,
Pramod
In BSP MVC, the Controller is the only object that can be accessed via URL or Navigation. Therefore to include any view within your application, this must be done via a controller. The controller also houses all of your event handeling.
Now how to relate the two. There doesn't have to be a one-to-one relation. You can have a single controller that can call many different views. Controllers can also call sub-controllers. Views in turn can nest controllers within them via the extension element <bsp:call>. I suggest that you study some of the SAP example MVC applications to get a feel of the many different possible ways that the applications can flow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.