on 2008 Feb 06 10:59 PM
Hi All!
Is it mandatory to map view context to
component controller context ?
When do we really need a component controller context ?
Regards
Sas
Hi,
As Webdynpro is based on the MVC.
Its always good to have your data flow from the controller to the views, so that you can make your views lean and get the advantage of maximum reusability.
Now to your questions
Is it mandatory to map view context to
component controller context ?
No, it all depends on the way how you want your application data to be handled, But its always a good practice to make use of the controller to do the data handling and do the UI related things in the views.
When do we really need a component controller context ?
A simple example is when multiple views need the same data, if you try to this at view level you need to do the same at both views, instead move the code to the controller and map them to diff views
Hope its clear
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.