Hi Robin,
Ok, then Let me conclude my understanding based on your opinion
1. A View definition consists of UI controls, and their associated binding definitions(anything missing?)
2. A Controller consists of Model implementation , and as you said initializations, event handlers, and helper methods.
If my understanding is correct then an application can have various models and do the view recognizes or understands all of them. Otherwise what kind of approach should we follow.
In the controller definition do I have to include the line sap.ui.core.getCore().setModel() for each of the models that I define. As per my understanding this statement makes the model available for all the elements within the view.
Please correct me if my understanding is incorrect.
I agree with your point but still if I have to access the reference of UI element in the controller how can I get that in the above context. Please Share some inputs
Thanks for pointing me in right directions
Regards,
Pavan