cancel
Showing results for 
Search instead for 
Did you mean: 

To link any two views or view to the respective controller.

Former Member
0 Kudos
121

Hello,

I just started working on sapui5  to create a simple mobile application , I got to know that sapui5(mobile) works on mvc architecture.

however i am clueless on how to link a view and a controller .

As soon as we create a sapui5 application , 1st view  gets automatically created and has an id given ,so what do we do when we need to create another view ?

can we give the id by ourselves?

it would be really helpful if i could get a solution along with an example to analyze and see the  control flow in view and controller .

Thanks,

Sangeetha Rao

Accepted Solutions (0)

Answers (2)

Answers (2)

surendra_pamidi
Contributor
0 Kudos

Hi Sangeetha,

You can create your custom view as normal view and the procedure also same to do operations with controller.

jmoors
Active Contributor
0 Kudos

There are a number of examples on the SAPUI5 site and you will also find useful blogs and posts on the SCN.

Here are a few examples to get you started.

SAPUI5 SDK - Demo Kit

http://scn.sap.com/docs/DOC-51167

https://github.com/qmacro/SublimeUI5/tree/master/Templates/UI5%20XSCE%20-%20XML%20SplitApp%20Compone...