0
我想包括在使用javascript在Eclipse上创建了sapui5项目的一些Java类Java类。我有这样的代码包括对SAPUI5
exampe1.view.js按钮
createContent : function(oController) {
return new sap.m.Page({
title: "Title",
content: [
new sap.m.Button({text:"Click here",
press: function(){
alert("ok")
}
})
]
});
}
“点击这里” 按我想调用Java方法。怎么做? 我已经导入命名SRC在文件夹上我的所有类。
谢谢。有效 –