!--a11y-->
Declaring the Controller Context of a
View 
In the View Designer, choose the Context tab and declare the following context structure in it:

Make the following settings for the properties of each context element:
|
Context element |
Type |
Attributes |
Value |
|
|
Value node |
cardinality |
0..n |
|
singleton |
true |
||
|
|
Value attribute |
type |
string |
|
|
Value node |
cardinality |
0..1 |
|
singleton |
false |
||
|
|
Value attribute |
type |
string |
|
|
Value attribute |
type |
string |
|
|
Value attribute |
type |
string |
|
|
Value attribute |
type |
string |
|
|
Value attribute |
type |
string |
|
|
Value node |
cardinality |
0..n |
|
singleton |
true |
||
|
supplyFunction |
|
||
|
We will add a supply function called supplyOrdersForCustomer later (refer to Adding a Supply Function). |
|||
|
|
Value attribute |
type |
string |
|
|
Value attribute |
type |
string |
|
|
Value attribute |
type |
string |
|
|
Value attribute |
type |
string |
Remember that the singleton attribute for the context value node Address will be assigned the value false.
After you have declared this context
structure, you can continue by Designing the View
Layout. You can then define the required data bindings between the UI
elements of a view and the context elements.
