
UI5 application folder structure
"routing": {
"config": {
"routerClass": "sap.m.routing.Router",
"viewType": "XML",
"async": true,
"viewPath": "flexiblelayout.view",
"controlAggregation": "pages",
"controlId": "app",
"clearControlAggregation": false
},
"routes": [
{ "name": "RouteMaster",
"pattern": ":?query:",
"target": [
"TargetMaster"
]
},
{ "name": "SecondPage",
"pattern": "SecondPage",
"target": [
"Second"
]
},
{ "name": "ThirdPage",
"pattern": "ThirdPage",
"target": [
"ThirdPage"
]
}
],
"targets": {
"TargetMaster": {
"viewType": "XML",
"transition": "slide",
"clearControlAggregation": false,
"viewId": "Master",
"viewName": "Master"
},
"Second": {
"viewType": "XML",
"transition": "slide",
"clearControlAggregation": false,
"viewName": "SecondPage"
},
"ThirdPage": {
"viewType": "XML",
"transition": "slide",
"clearControlAggregation": false,
"viewName": "ThirdPage"
}
}
},
"rootView": {
"viewName": "flexiblelayout.view.App",
"type": "XML",
"async": true,
"id": "App"
}
},
"routing": {
"config": {
"routerClass": "sap.f.routing.Router",
"viewType": "XML",
"async": true,
"viewPath": "flexiblelayout.view",
"controlAggregation": "beginColumnPages",
"controlId": "flexiID"
},
"routes": [
{ "name": "RouteMaster",
"pattern": ":?query:",
"target": [
"TargetMaster"
] },
{ "name": "SecondPage",
"pattern": "SecondPage",
"target": [
"TargetMaster",
"Second"
] },
{ "name": "ThirdPage",
"pattern": "ThirdPage",
"target": [
"TargetMaster",
"Second",
"ThirdPage"
] }
],
"targets": {
"TargetMaster": {
"viewType": "XML",
"transition": "slide",
"viewId": "Master",
"viewName": "Master"
},
"Second": {
"viewType": "XML",
"transition": "slide",
"viewName": "SecondPage",
"controlAggregation": "midColumnPages"
},
"ThirdPage": {
"viewType": "XML",
"transition": "slide",
"viewName": "ThirdPage",
"controlAggregation": "endColumnPages"
}
}
},
"rootView": {
"viewName": "flexiblelayout.view.App",
"type": "XML",
"async": true,
"id": "App"
}
Application Enabled with Flexible Column Layout
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
10 | |
9 | |
7 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 |