mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 21:42:45 +08:00
update meta to template. (#971)
This commit is contained in:
parent
78ddc9f10e
commit
b8bf681142
|
@ -164,7 +164,7 @@ CLASS Z2UI5_CL_CORE_HTTP_GET IMPLEMENTATION.
|
|||
` const oView = await XMLView.create({` && |\n| &&
|
||||
` definition: xml,` && |\n| &&
|
||||
` controller: sap.z2ui5.oControllerNest,` && |\n| &&
|
||||
` preprocessors: { xml: { models: { meta: oview_model } } }` && |\n| &&
|
||||
` preprocessors: { xml: { models: { template: oview_model } } }` && |\n| &&
|
||||
` });` && |\n| &&
|
||||
` oview_model.setSizeLimit(sap.z2ui5.JSON_MODEL_LIMIT);` && |\n| &&
|
||||
` oView.setModel(oview_model);` && |\n| &&
|
||||
|
@ -182,7 +182,7 @@ CLASS Z2UI5_CL_CORE_HTTP_GET IMPLEMENTATION.
|
|||
` const oView = await XMLView.create({` && |\n| &&
|
||||
` definition: xml,` && |\n| &&
|
||||
` controller: sap.z2ui5.oControllerNest2,` && |\n| &&
|
||||
` preprocessors: { xml: { models: { meta: oview_model } } }` && |\n| &&
|
||||
` preprocessors: { xml: { models: { template: oview_model } } }` && |\n| &&
|
||||
` });` && |\n| &&
|
||||
` oview_model.setSizeLimit(sap.z2ui5.JSON_MODEL_LIMIT);` && |\n| &&
|
||||
` oView.setModel(oview_model);` && |\n| &&
|
||||
|
@ -400,7 +400,7 @@ CLASS Z2UI5_CL_CORE_HTTP_GET IMPLEMENTATION.
|
|||
` models: oview_model,` && |\n| &&
|
||||
` controller: sap.z2ui5.oController,` && |\n| &&
|
||||
` id: 'mainView',` && |\n| &&
|
||||
` preprocessors: { xml: { models: { meta: oview_model } } }` && |\n| &&
|
||||
` preprocessors: { xml: { models: { template: oview_model } } }` && |\n| &&
|
||||
` });` && |\n| &&
|
||||
` if (sap.z2ui5.oParent) {` && |\n| &&
|
||||
` sap.z2ui5.oParent.removeAllPages();` && |\n| &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user