sapui5用API查询app, page, control

来源:互联网 发布:netstat查看端口号 编辑:程序博客网 时间:2024/06/06 03:02

查询页面:
sap.ui.getCore().byId(“idapp”).to(“idpagelogon”);

查询page
var page = sap.ui.getCore().byId(“idpagelogon”);

查询control
this.getView().byId(“__resend”).firePress();

查询page,然后查询control
sap.ui.getCore().byId(“idpageinputmessage”).byId(“__resend”).firePress();

0 0
原创粉丝点击