Skip to content

Commit

Permalink
OpenUI5 Documentation Update 04.06.2024
Browse files Browse the repository at this point in the history
  • Loading branch information
openui5bot committed Jun 4, 2024
1 parent a938f85 commit f641aaf
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/0index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/Data_Aggregation_and_Recursive_Hierarchy_7d91431.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions docs/Views_91f27e3.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ 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.
- **[Instantiating Views](Instantiating_Views_68d0e58.md "To instantiate views asychronously, OpenUI5 provides the factory
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.")**
Expand Down
6 changes: 3 additions & 3 deletions docs/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f641aaf

Please sign in to comment.