Dell Vizioncore Podręcznik Użytkownika Strona 122

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 168
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 121
122 vFoglight
Web Component Guide
Views Tab
The Views tab is used in the Iterator (where it is called an Iterator View), Report,
Switch, Tab Container, Topology, and Type containers. The tab incorporates an editor
for setting views for the container.
Context and the Context Tab
Context is the term used for the information available at a given point in time to the
various components used by the Web Component Framework. Context in the Web
Component Framework is similar to a collection of variables that are used in
programming languages or an operating systems environment variables. Every element
of the context has a key (name), a corresponding type, and a run time value in an active
vFoglight instance.
For example, a view that is configured to display alarm data for any one host must be
provided with a specific host to give it context. Similarly, a Memory Usage page, which
displays memory data for a specific host given a time range, must be provided with two
context inputs. In the first example, the host is the context. In the second example the
host and the time range together comprise the context.
Pages and views can be compared to forms whose fields are filled in at run time. The
context definitions determine the actual data that is specified by the Context, which is
set in the following ways:
A time range, which is available to all components.
The Context tab in the View editor—you declare context inputs to the component
here. You can define additional context entries here as well.
The Configuration tab in the View editor—for example, by setting row/cell
properties and choosing an available built-in context such as <currentRow>.
Context consists of:
key The strongly typed, case insensitive string that references a
particular context element. Type checking is done at design
time.
value The value stored in the context element, which can be either a
Web Component Framework data object or a Java object.
Przeglądanie stron 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 167 168

Komentarze do niniejszej Instrukcji

Brak uwag