昨天在WEB IDE里按Project from template 生成了一个SAP Fiori Master-Detail Application 生成的程序运行如图:
没看明白这如何调用 的,后来说是manifest.json文件Routing决定的,所以就找了些资源学习一下,
由于使用的是SAP WEB IDE,所以在学习的前有必要先安装并使用SAP WEB IDE。
今天先从https://openui5.hana.ondemand.com/学起,
The target key
The viewName
Additional optional parameters
If you don’t specify a parameter, the default value is taken from the config section.
viewType (e.g. XML)viewPath where the view is located in the app
viewId of the view instance
viewLevel if you have different levels of navigation, especially for flip and slide transitions, where, for example, it is important to know whether the slide animation should go from left to right or vice versa
controlId of the control that is used to display the view (e.g. app)
targetParent where the control is located (see Working with Multiple Targets)
controlAggregation target aggregation to which the view is added
The NavContainer control, for example, has an aggregation called Pages and the shell container has Content.
clearAggregation specifies whether the aggregation should be cleared before adding the new view instance.
transition defines how the transition happens; you can choose between slide (default), flip, fade, and show.
parent: a view is created and added before the target view is added
更多的学习资料请参看:https://openui5.hana.ondemand.com/
https://openui5.hana.ondemand.com/