1. Overview of the configuration elements of a web application
1.2. Panels
1.3. Actions
1.4. View configurations
2. Preconditions to build a web application
3. Proceeding to build a web application
4. Panels
5. Basic knowledge: View configurations
7. 7
Building Web application with panels and view configurations
7
Panels
Where ist my data shown?
Panels detemine how the visible sections of an application are divided. So panels determine the
fundamental layout of the visulisation surface.
- Panels can influence each other
- Panels can contain further Panels or view configurations
- Panels receive always exactly one object or type when they are activated
- Panels can pass their element (object or type) to the contained panels
- There is a possibility to overwrite the element via script
- Panels don‘t have any other use. Anything else is configured via Actions and view configurations.
11. 11
Building Web application with panels and view configurations
11
view configurations
How is my data shown?
View configurations are contained in panels and determine, how objects and types are visualized. View
configurations are views on the data.
- Free of context view configurations
- They are not bound to a particular type.
- For example: picture, text, JavaScript, menus, searches, facets
- Object dependend view configurations
- Different views on the data can be specified. There can be as many view configurations per type as you want.
- They are determined at the type of the objects.
- For example: groups, properties, tables and styles
17. 17
Building Web application with panels and view configurations
17
Kind of panels and basic conditions
- Main window Panel
- Each application consists of exactly one main window panel
- Contains „normal” panels and one window title panel
- Dialog panel
- Is located as a pop-up window in front of the main window
- Each application can contain any number of dialog panels
- Contains window title panels and foot line panels
Example for a dialog panel
34. 34
Building Web application with panels and view configurations
34
Panels - Layout
Width and height (or maximal width and maximal height)
can be specified in pixels or percentage.
Flex-grow: The flex-grow property defines the ability for a
flex item to grow if necessary. As you can see in the example
on the right, the elements 1,2 and 4 have the factor 1, while
element 3 has the factor 2, therefore it takes twice as much
of space as the other elements.
Flex-shrink: The flex-shrink property specifies the shrinkage
factor of flexible elements. As you can see in the example on
the right, the element 1,2 and 4 have the factor 2, while
element 3 has the factor of 1, therefore they are twice as
small as element 3. 3 421
36. 36
Building Web application with panels and view configurations
36
View configurations
How is my data shown?
View configurations are contained in panels and determine, how objects and types are visualized. view
configurations are views on the data.
- Free of context view configurations
- They are not bound to a particular type.
- For example: picture, text, JavaScript, menus, searches, facets
- Object dependend view configurations
- Different views on the data can be figured. There can as many view configurations per type.
- They are determined at the type of the objects.
- For example: groups, properties, tables and styles
Little reminder
57. 57
Building Web application with panels and view configurations
57
Task: Hello World with panels
1. Start the mediator
2. Start the bridge
3. Go to „Anwendung“ (german for „application“,
soon the english terms will be added) and click
on the application „viewconfigurationmapper“.
The identifier should have the name
„viewConfigMapper“.
4. Create the main window panel for your
application. Choose fixed view (german:
festgelegte Ansicht) as a panel type.
The Mediator is needed if you want to access
the UI and the network simultaneously.