Dell Vizioncore Bedienungsanleitung Seite 123

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 141
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 122
Tutorial 6: Creating a Form 123
Creating the Tasks and Forms
Delete host
Before choosing Delete in the All Hosts table, ensure that the selected row is one of the
dummy hosts that you have added using the Add button. You don’t want to delete one of
your actual hosts.
The Host List table has a Row Selection flow whose action is Update. Once a row has
been selected, it is highlighted in the UI and this context entry is updated.
Then, when the remove host task is invoked, a new context key called hostSelected. The
Groovy script uses hostSelected to decide which host node to delete.
Thus, to remove a host, two different context entries cooperate to accomplish the task.
The Row Selection Update flow sets hostSelected and hostId. The latter is set to
<hostSelected>/uniqueId as an additional context in the Row Selection dialog.
Add annotation
Choosing Edit Annotation in the table’s menu sets two context keys, hostId and
newAnnotation, both of which are pathed from hostSelected. The context key hostId
contains the uniqueID for the selected host and newAnnotation contains the first entry in
the selected host’s property list of annotations.
These context keys are passed to the Add Annotation popup dialog. The user pops up
the dialog, selects a new row, and then types some text into the popup’s text field and
the Update action calls the Add annotation task. The context key newAnnotation now
contains the text that the user typed into the text field.
Creating the Tasks and Forms
This section presents the information needed to create and configure all the views and
tasks required for this tutorial.
Create the groovy Tasks
In this tutorial, module definitions are presented, rather than giving step by step
instructions of previous chapters. These would be needlessly repetitive. Use these
definitions as a guide to constructing the components. After you have constructed the
views you can compare your listings to the ones given here to check for agreement.
By this time, you should be quite familiar with the Definitions panes, and in particular
the module contents pane with its tabs for Views, Queries, and Tasks. Select the Tasks
Seitenansicht 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 140 141

Kommentare zu diesen Handbüchern

Keine Kommentare