Skip to content

Commit

Permalink
OpenUI5 Documentation Update 13.08.2024
Browse files Browse the repository at this point in the history
  • Loading branch information
openui5bot committed Aug 13, 2024
1 parent 55be0de commit 710f5ea
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/Data_Binding_Tutorial_e531093.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ Aggregation binding, also known as "list binding", lets a control bind to a list
details of that item elsewhere. To accomplish this, we use a form with relatively bound controls and bind it to the selected entity via
element binding.")
Now, let's do something with that newly generated list. Typically, you use a list to allow selection of an item and then display the details of that item elsewhere. To accomplish this, we use a form with relatively bound controls and bind it to the selected entity via element binding.
14. [Step 14: Expression Binding](Step_14_Expression_Binding_5cff8d1.md "Expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature
allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the
price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model. ")
Expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model.
14. [Step 14: Expression Binding](Step_14_Expression_Binding_5cff8d1.md "An expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This
feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the
color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model. ")
An expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model.
15. [Step 15: Aggregation Binding Using a Factory Function](Step_15_Aggregation_Binding_Using_a_Factory_Function_284a036.md "Instead of using a single hard-coded template control, we now opt for a factory function to generate different controls based on the data
received at runtime. This approach is much more flexible and allows for the display of complex or heterogeneous data.")
Instead of using a single hard-coded template control, we now opt for a factory function to generate different controls based on the data received at runtime. This approach is much more flexible and allows for the display of complex or heterogeneous data.
Expand Down
4 changes: 2 additions & 2 deletions docs/Step_10_Descriptor_for_Applications_8f93bf2.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ The content of the `manifest.json` file is a configuration object in JSON format

- `type`: Defines what we want to configure; here: an application.

- `i18n`: Defines the path to the resource bundle file. The `supportedLocales` and `fallbackLocale` properties are set to empty strings, as our demo app uses only one `i18n.properties` file for simplicity and we'd like to prevent the browser from trying to load additional `i18n_*.properties` files based on your browser settings and your locale.
- `i18n`: Defines the path to the resource bundle file.

- `title`: Title of the application in handlebars syntax referenced from the app's resource bundle.

Expand All @@ -119,7 +119,7 @@ The content of the `manifest.json` file is a configuration object in JSON format

- `dependencies`: Here we declare the UI libraries used in the application

- `models`: In this section of the descriptor we can define models that will be automatically instantiated by OpenUI5 when the app starts. Here we can now define the local resource bundle. We define the name of the model "i18n" as key and specify the bundle file by namespace. As in the previous steps, the file with our translated texts is stored in the `i18n` folder and named `i18n.properties`. We simply prefix the path to the file with the namespace of our app. The manual instantiation in the app component's init method will be removed later in this step. The `supportedLocales` and `fallbackLocale` properties are set to empty strings, as in this tutorial our demo app uses only one `i18n.properties` file for simplicity, and we'd like to prevent the browser from trying to load additional `i18n_*.properties` files based on your browser settings and your locale. For more information, see [Supported Locales and Fallback Chain](Supported_Locales_and_Fallback_Chain_ec753bc.md).
- `models`: In this section of the descriptor we can define models that will be automatically instantiated by OpenUI5 when the app starts. Here we can now define the local resource bundle. We define the name of the model "i18n" as key and specify the bundle file by namespace. As in the previous steps, the file with our translated texts is stored in the `i18n` folder and named `i18n.properties`. We simply prefix the path to the file with the namespace of our app. The manual instantiation in the app component's init method will be removed later in this step. In this tutorial, the `supportedLocales` and `fallbackLocale` properties are set to empty strings. We do this because our demo app uses only one `i18n.properties` file for simplicity, and in this way we prevent the browser from trying to load additional `i18n_*.properties` files based on your browser settings and locale. For more information, see [Supported Locales and Fallback Chain](Supported_Locales_and_Fallback_Chain_ec753bc.md).


For compatibility reasons the root object and each of the sections state the descriptor version number `1.58.0` under the internal property `_version`. Features might be added or changed in future versions of the descriptor and the version number helps to identify the application settings by tools that read the descriptor.
Expand Down
2 changes: 1 addition & 1 deletion docs/Step_13_Element_Binding_6c7c5c2.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Now, you can click on an element in the list and view its details in the panel b

**Next:**[Step 12: Aggregation Binding Using Templates](Step_12_Aggregation_Binding_Using_Templates_97830de.md "Aggregation binding, also known as "list binding", lets a control bind to a list within the model data. This binding allows relative binding to the list entries by its child controls.")

**Previous:**[Step 14: Expression Binding](Step_14_Expression_Binding_5cff8d1.md "Expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model.")
**Previous:**[Step 14: Expression Binding](Step_14_Expression_Binding_5cff8d1.md "An expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model.")

**Related Information**

Expand Down
4 changes: 2 additions & 2 deletions docs/Step_14_Expression_Binding_5cff8d1.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ view on: [demo kit nightly build](https://sdk.openui5.org/nightly/#/topic/5cff8d

## Step 14: Expression Binding

Expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model.
An expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model.

***

Expand Down Expand Up @@ -107,7 +107,7 @@ Logically, both expressions are identical. However, the first one works, and the
To understand the situation, you need to know how XML files are parsed.
When an XML file is parsed, certain characters have a special \(high priority\) meaning to the XML parser. When these characters are encountered, they're **always** interpreted to be part of the XML definition itself, and not as part of any other content within the XML document.
When an XML file is parsed, certain characters have a special \(high-priority\) meaning to the XML parser. When these characters are encountered, they're **always** interpreted to be part of the XML definition itself, and not as part of any other content within the XML document.
The XML parser always interprets one of these high-priority characters \(in this case, a less-than \(`<`\) character\) as the start of a new XML tag. This happens regardless of any other meaning that character might have within the context of the expression. This is known as a **syntax collision**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Congratulations! You've completed the Data Binding tutorial.

**Parent topic:**[Data Binding Tutorial](Data_Binding_Tutorial_e531093.md "In this tutorial, we explain the concepts of data binding in OpenUI5.")

**Next:**[Step 14: Expression Binding](Step_14_Expression_Binding_5cff8d1.md "Expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model.")
**Next:**[Step 14: Expression Binding](Step_14_Expression_Binding_5cff8d1.md "An expression binding lets you display a calculated value on the screen, which is derived from values found in a model object. This feature allows you to insert simple formatting or calculations directly into the data binding string. In this example, we're changing the color of the price depending on whether it's above or below a certain threshold. The threshold value is stored in the JSON model.")

**Related Information**

Expand Down

0 comments on commit 710f5ea

Please sign in to comment.