"rootView": {
"viewName": "hirse.view.FullView",
"type": "XML"
},<mvc:View xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" displayBlock="true">
<App id="appControl" />
</mvc:View><mvc:View xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc">
<SplitContainer id="splitContainerControl" mode="StretchCompressMode" />
</mvc:View><mvc:View controllerName="hirse.controller.Master" xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" >
<Page title="Master Page">
<subHeader>
<Toolbar>
<Button text="Fullscreen" press=".onFullScreenPressed" />
</Toolbar>
</subHeader>
<List>
<StandardListItem title="List Item" />
</List>
</Page>
</mvc:View>onFullScreenPressed :function() {
this.getOwnerComponent().getRouter().navTo("fullscreenRoute");
}<mvc:View xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" >
<Page title="Detail Page">
<ObjectHeader title="Item Details" />
</Page>
</mvc:View><mvc:View controllerName="hirse.controller.FullScreen" xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" >
<Page showNavButton="true" title="FullScreen Page" navButtonPress=".onBackPressed">
<ObjectHeader title="Item Details" />
</Page>
</mvc:View>"routing": {
"config": {
"routerClass": "sap.m.routing.Router",
"viewType": "XML",
"viewPath": "hirse.view",
"controlId": "appControl",
"controlAggregation": "pages",
"bypassed": {
"target": ["detailTarget", "masterTarget"]
}
},
"routes": [{
"name": "mainRoute",
"pattern": "",
"target": ["detailTarget", "masterTarget"]
}, {
"name": "detailRoute",
"pattern": "detail/{id}",
"target": ["masterTarget", "detailTarget"]
}, {
"name": "fullscreenRoute",
"pattern": "fullscreen",
"target": "fullscreenTarget"
}],
"targets": {
"splitviewTarget": {
"viewName": "SplitView"
},
"masterTarget": {
"viewName": "Master",
"parent": "splitviewTarget",
"controlId": "splitContainerControl",
"controlAggregation": "masterPages"
},
"detailTarget": {
"viewName": "Detail",
"parent": "splitviewTarget",
"controlId": "splitContainerControl",
"controlAggregation": "detailPages"
},
"fullscreenTarget": {
"viewName": "FullScreen"
}
}
},

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 42 | |
| 21 | |
| 20 | |
| 18 | |
| 18 | |
| 18 | |
| 17 | |
| 16 | |
| 16 | |
| 15 |