diff --git a/ex0/.gitignore b/ex0/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex0/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex0/readme.md b/ex0/readme.md index 882991a..478e331 100644 --- a/ex0/readme.md +++ b/ex0/readme.md @@ -54,10 +54,10 @@ Finally, we will serve the project using ui5. - In the terminal or command prompt at our project's root directory, run the following command: ```bash -ui5 serve +npm start ``` -This command will start a development server for our project. You can access the development server at https://localhost:8080 and check out the running application! 🚀 +This command will start a development server for our project. You can access the development server at http://localhost:8080/index.html and check out the running application! 🚀 ![Exercise 0 Result](ex0.png) diff --git a/ex1/.gitignore b/ex1/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex1/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex1/readme.md b/ex1/readme.md index 507f1ec..1b591b1 100644 --- a/ex1/readme.md +++ b/ex1/readme.md @@ -90,6 +90,7 @@ This XML view defines the user interface for a screen in our UI5 application. Th Below is the code we can add to the content aggregation of the DynamicPage in the XML view. It includes a table with columns for name, height, range, first ascent, countries, and parent mountain, along with the data bindings. The corresponding model is automatically generated based on our sample data via the `manifest.json`. ###### view/Mountains.view.xml ```xml + + name: 'mdc/tutorial/delegate/JSONTableDelegate', + payload: { + bindingPath: 'mountains>/mountains' + } + }"> - + - + - + - + - + - + + ``` > â„šī¸ Pay attention to how the controls are specified. All the MDCs included in the XML view will initially appear on the screen without any additional personalization. While this may seem superfluous when also providing the control creation method in the delegate, it allows us to establish a default without any hassle. Alternatively, we could opt to not provide any controls here and add them later through personalization. diff --git a/ex2/.gitignore b/ex2/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex2/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex2/readme.md b/ex2/readme.md index dbdb09c..09eb87b 100644 --- a/ex2/readme.md +++ b/ex2/readme.md @@ -44,6 +44,7 @@ export default JSONFilterBarDelegate To add a FilterBar to the XML view, we can use the [`sap.ui.mdc.FilterBar`](https://sdk.openui5.org/api/sap.ui.mdc.FilterBar) control. Setting the previously created delegate makes sure, that the FilterBar can deal with the specific JSON data we are facing. Place the FilterBar inside of the DynamicPageHeader. ###### view/Mountains.view.xml ```xml + @@ -65,6 +66,7 @@ To add a FilterBar to the XML view, we can use the [`sap.ui.mdc.FilterBar`](http + ``` >âš ī¸ Like columns in the MDC table, the filter items are used for UI adaptation functionalities. Hence, do not change them, manually or dynamically, or use bindings to prevent undesired effects. diff --git a/ex3/.gitignore b/ex3/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex3/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex4/.gitignore b/ex4/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex4/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex5/.gitignore b/ex5/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex5/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file