且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

拆分应用,而无需模型的详细信息页

更新时间:2023-12-04 09:47:46

你自己写,你正在创建一个命名模式的名称EMPL

As you wrote yourself, you are creating a "named Model" with the name "EMPL".

在控制器,你必须使用相同的名称,以获得型号:

In the Controller you have to use the same name to get the Model:

this.getView().getModel("EMPL");


打电话时同样 bindElement()你必须给型号名称:

// Assuming sEntityPath = "/items/0"
this.getView().bindElement("EMPL>" + sEntityPath);