!--a11y-->
Developing the
EMailEditor View 
Controller Context of the EMailEditor View |
|||
Context Element |
Type |
Properties |
Value |
|
Value attribute |
type |
string |
|
Value attribute |
type |
string |
|
Value attribute |
type |
string |
The following table
contains the hierarchy of the UI elements contained in the EMailEditor
view. Properties linked to the value attributes are marked with the symbol
in front of the path specification of the
value attribute.
Layout of the EMailEditor View |
||||
UI Element Type |
UI Element Name |
Embedded in ... (Container Name) |
UI Element Property |
Value |
Transparent Container |
RootUIEelement Container |
|
Properties of Transparent Container - layout |
GridLayout |
Layout - colCount |
1 |
|||
TextView |
HeaderText |
RootUIElement Container |
Properties of TextView – design |
header1 |
Properties of TextView – text |
Greeting |
|||
LayouData – paddingBottom |
large |
|||
Label |
EMailTextLabel |
RootUIElement Container |
Properties of Label – text |
E-Mail Text: |
Properties of Label – labelFor |
EMailEditorText |
|||
TextEdit |
EMailEditorText |
RootUIElement Container |
Properties of TextEdit – cols |
60 |
Properties of TextEdit – rows |
12 |
|||
Properties of TextEdit – value |
|
|||
Button |
SendEMailButton |
RootUIElement Container |
|
|
LinkToAction |
LinkToForm |
RootUIElement Container |
|
|
In the view controller, define the two actions GoBack and SendEMail:
Controller of the EMailEditor View |
|||
Name of the Action |
Text |
Without Validation |
Event Handler |
GoBack |
Go back to sample form |
|
onActionGoBack |
SendEMail |
Send E-Mail |
|
onActionSendEMail |
Afterwards, link the onAction events of two UI elements to the two actions defined previously.
Linking Events to Actions in the EMailEditor View |
||
UI Element Name |
Event Name |
Action |
SendEMailButton |
onAction |
SendEMail |
LinkToForm |
onAction |
GoBack |
Now proceed with the definition of the
navigation structure between the two views Form and
EMailEditor!
