Dell Vizioncore Manual de usuario Pagina 120

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 141
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 119
120 vFoglight
Web Component Tutorial
Objectives of Tutorial 6
This tutorial shows how context can be used to pass values among components and even
to internal vFoglight data structures by implementing Groovy tasks. The tutorial
outlines the way that you can create forms using the Web Component Framework. You
will be shown how a single submit action can pass as many context values as you like.
The objectives of Tutorial 6 are:
Pass input values to interested views. This task will require the creation of some
context entries.
Create a form showing a list of hosts. The form is actually a table with a menu of
actions. Choosing one of the menu items causes actions to occur.
Use a task component called Execute Groovy Script. It will be used to pass
context values to internal vFoglight methods that can manipulate the host
topology model. As a result, you will be able to create a new host model or delete
an existing host model. You’ll see how to change an editable host property as
well.
Configuring the Query
This tutorial requires a list of hosts, just as in Tutorial 1.
To build the All hosts query:
1
Ensure that the Queries tab in the Module Contents pane is selected.
2
Click the Add button in the Module Contents pane.
The New Query dialog appears.
3
Ensure that Blank Query is chosen, select vFoglight for the Data Source Type,
and click OK.
The Definitions pane changes to an Edit pane. It fills with the query editor, which
contains all the fields that can be used to construct a query. You must fill in the
fields that are marked by an exclamation point icon on the right side of the field.
4
Type All Hosts in the Name field.
Now that the query has been named, it can be referenced by that name when you
want to use it.
Vista de pagina 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 140 141

Comentarios a estos manuales

Sin comentarios