From f641aaff0a6a9f8face8348a5358aaf88563ecef Mon Sep 17 00:00:00 2001 From: OpenUI5 Bot Date: Tue, 4 Jun 2024 08:17:19 +0000 Subject: [PATCH] OpenUI5 Documentation Update 04.06.2024 --- docs/0index.md | 2 +- docs/Data_Aggregation_and_Recursive_Hierarchy_7d91431.md | 4 ++-- docs/Views_91f27e3.md | 6 +++--- docs/index.json | 6 +++--- docs/index.md | 2 +- docs/sidebar.md | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/0index.md b/docs/0index.md index 7c70178d..b1fc151a 100644 --- a/docs/0index.md +++ b/docs/0index.md @@ -351,9 +351,9 @@ OpenUI5 Version for the OpenUI5 Demo Kit - [Preprocessing XML Views](Preprocessing_XML_Views_48b81b9.md) - [XML View Cache](XML_View_Cache_3d85d5e.md) - [Require Modules in XML View and Fragment](Require_Modules_in_XML_View_and_Fragment_b11d853.md) - - [JSON View \(deprecated\)](JSON_View_deprecated_91f2852.md) - [Typed View](Typed_View_e6bb33d.md) - [Instantiating Views](Instantiating_Views_68d0e58.md) + - [JSON View \(deprecated\)](JSON_View_deprecated_91f2852.md) - [View Cloning \(deprecated\)](View_Cloning_deprecated_a575619.md) - [Controller](Controller_121b8e6.md) - [Using Controller Extension](Using_Controller_Extension_21515f0.md) diff --git a/docs/Data_Aggregation_and_Recursive_Hierarchy_7d91431.md b/docs/Data_Aggregation_and_Recursive_Hierarchy_7d91431.md index 373075e6..c6c304bc 100644 --- a/docs/Data_Aggregation_and_Recursive_Hierarchy_7d91431.md +++ b/docs/Data_Aggregation_and_Recursive_Hierarchy_7d91431.md @@ -183,10 +183,10 @@ The `@$ui5.node.level` and `@$ui5.node.isExpanded` client-side instance annotati Since 1.125.0, a recursive hierarchy need not be read-only, but maintenance is supported, namely: -- **Updates of arbitrary properties**, including any corresponding side effects. Note that a side-effects refresh needs to be requested explicitly if the change affects the hierarchy \(node IDs, parent/child relations, or sibling order\); this is not done by the model itself. +- **Update of arbitrary properties**, including any corresponding side effects. Note that a side-effects refresh needs to be requested explicitly if the change affects the hierarchy \(node IDs, parent/child relations, or sibling order\); this is not done by the model itself. - **Creation of new nodes**, either as new root nodes or below an existing parent node. Creation is even supported if the parent was a leaf before, however it is not supported for a collapsed parent.For more details, see [`v4.ODataListBinding#create`](https://sdk.openui5.orgapi/sap.ui.model.odata.v4.ODataListBinding/methods/create) and "`@$ui5.node.parent`" therein. - **Deletion of existing nodes**; see [`v4.Context#delete`](https://sdk.openui5.orgapi/sap.ui.model.odata.v4.Context/methods/delete). Note that the deletion is first done on the server and only later shown on the client. Thus, the group ID must not have submit mode "API". -- **Moving of nodes**. You can change the parent node, including turning a child node into a root node and vice versa, and you can also change the sibling position, including making a node the last one among its siblings or moving it just before a specified sibling. For more details, see[`v4.Context#move`](https://sdk.openui5.orgapi/sap.ui.model.odata.v4.Context/methods/move). Note that `nextSibling` requires a ["com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchyActions"](https://github.com/SAP/odata-vocabularies/blob/main/vocabularies/Hierarchy.md#RecursiveHierarchyActions) annotation with at least a `ChangeNextSiblingAction`. +- **Moving of nodes**. You can change the parent node, including turning a child node into a root node and vice versa, and you can also change the sibling position, including making a node the last one among its siblings or moving it just before a specified sibling. For more details, see [`v4.Context#move`](https://sdk.openui5.orgapi/sap.ui.model.odata.v4.Context/methods/move). Note that `nextSibling` requires a ["com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchyActions"](https://github.com/SAP/odata-vocabularies/blob/main/vocabularies/Hierarchy.md#RecursiveHierarchyActions) annotation with at least a `ChangeNextSiblingAction`. Note that only one such change must be pending at any point in time. That is, you must wait for one change to be completed before starting the next change. The only exception is property updates, for which multiple properties can be combined as usual. diff --git a/docs/Views_91f27e3.md b/docs/Views_91f27e3.md index 50394d3e..2dba1f2b 100644 --- a/docs/Views_91f27e3.md +++ b/docs/Views_91f27e3.md @@ -28,9 +28,6 @@ The following predefined view types are available: .view.xml or as an XML string. The file name and the folder structure together specify the name of the view that equals the OpenUI5 module name. ")** The XML view type is defined in an XML file. The file name either ends with `.view.xml` or as an XML string. The file name and the folder structure together specify the name of the view that equals the OpenUI5 module name. -- **[JSON View \(deprecated\)](JSON_View_deprecated_91f2852.md "The JSON view type is defined in a file. The file name has to either end with .view.json or as a JSON string. The file - name and the folder structure together specify the name of the view that equals the OpenUI5 module name within the modularization concept.")** -The JSON view type is defined in a file. The file name has to either end with `.view.json` or as a JSON string. The file name and the folder structure together specify the name of the view that equals the OpenUI5 module name within the modularization concept. - **[Typed View](Typed_View_e6bb33d.md "A view can also be defined by extending the sap.ui.core.mvc.View class. Such a view is referred to as a typed view. This means the view definition represents its own view class.")** A view can also be defined by extending the `sap.ui.core.mvc.View` class. Such a view is referred to as a typed view. This means the view definition represents its own view class. @@ -38,6 +35,9 @@ A view can also be defined by extending the `sap.ui.core.mvc.View` class. Such a method View.create defined in module sap/ui/core/mvc/View.")** To instantiate views asychronously, OpenUI5 provides the factory method `View.create` defined in module `sap/ui/core/mvc/View`. +- **[JSON View \(deprecated\)](JSON_View_deprecated_91f2852.md "The JSON view type is defined in a file. The file name has to either end with .view.json or as a JSON string. The file + name and the folder structure together specify the name of the view that equals the OpenUI5 module name within the modularization concept.")** +The JSON view type is defined in a file. The file name has to either end with `.view.json` or as a JSON string. The file name and the folder structure together specify the name of the view that equals the OpenUI5 module name within the modularization concept. - **[View Cloning \(deprecated\)](View_Cloning_deprecated_a575619.md "For normal controls, view cloning bases on control settings that are described by OpenUI5 metadata, such as properties, aggregations, associations, and event handlers. The clone operation collects these settings and creates a new instance.")** diff --git a/docs/index.json b/docs/index.json index e36de382..3ccf96a6 100644 --- a/docs/index.json +++ b/docs/index.json @@ -1100,15 +1100,15 @@ } } }, - "JSON View \\(deprecated\\)": { - "link": "JSON_View_deprecated_91f2852.md" - }, "Typed View": { "link": "Typed_View_e6bb33d.md" }, "Instantiating Views": { "link": "Instantiating_Views_68d0e58.md" }, + "JSON View \\(deprecated\\)": { + "link": "JSON_View_deprecated_91f2852.md" + }, "View Cloning \\(deprecated\\)": { "link": "View_Cloning_deprecated_a575619.md" } diff --git a/docs/index.md b/docs/index.md index 7c70178d..b1fc151a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -351,9 +351,9 @@ OpenUI5 Version for the OpenUI5 Demo Kit - [Preprocessing XML Views](Preprocessing_XML_Views_48b81b9.md) - [XML View Cache](XML_View_Cache_3d85d5e.md) - [Require Modules in XML View and Fragment](Require_Modules_in_XML_View_and_Fragment_b11d853.md) - - [JSON View \(deprecated\)](JSON_View_deprecated_91f2852.md) - [Typed View](Typed_View_e6bb33d.md) - [Instantiating Views](Instantiating_Views_68d0e58.md) + - [JSON View \(deprecated\)](JSON_View_deprecated_91f2852.md) - [View Cloning \(deprecated\)](View_Cloning_deprecated_a575619.md) - [Controller](Controller_121b8e6.md) - [Using Controller Extension](Using_Controller_Extension_21515f0.md) diff --git a/docs/sidebar.md b/docs/sidebar.md index 6a15e9c3..32e7a59a 100644 --- a/docs/sidebar.md +++ b/docs/sidebar.md @@ -345,9 +345,9 @@ - [Preprocessing XML Views](Preprocessing_XML_Views_48b81b9.md) - [XML View Cache](XML_View_Cache_3d85d5e.md) - [Require Modules in XML View and Fragment](Require_Modules_in_XML_View_and_Fragment_b11d853.md) - - [JSON View \(deprecated\)](JSON_View_deprecated_91f2852.md) - [Typed View](Typed_View_e6bb33d.md) - [Instantiating Views](Instantiating_Views_68d0e58.md) + - [JSON View \(deprecated\)](JSON_View_deprecated_91f2852.md) - [View Cloning \(deprecated\)](View_Cloning_deprecated_a575619.md) - [Controller](Controller_121b8e6.md) - [Using Controller Extension](Using_Controller_Extension_21515f0.md)