
124 vFoglight
Web Component Tutorial
tab and click the Add button. Choose Execute Groovy Script in the drop-down list.
This will be your choice for all three task components.
Use the listings given here to create and configure the tasks. You’ll note that we have
suggested that you work as a special user and that you place your views in a system
module called TaskTutorial, which has the advantage of keeping the views separate
from everything else.
Add a Host
The mechanism for accessing context values is the construct called @contextIn. For
example, the code fragment
def hostName = @contextIn["hostName"];
assigns the context value associated with the context hostName to the Groovy variable
of the same name. The reverse is also possible using contextOut.
Module tasktutorial
Note Names in the Web Component Framework are case insensitive, so TaskTutorial is
converted to tasktutorial.
Name Add a host
Kommentare zu diesen Handbüchern