Navigation decision centers
Linker
A
linker is a dynamic equivalent of the hypertext link in HTML. It links a
web element to several other web elements that are not fragments. This
decision center selects a target web element according to the result of
the evaluation of the constraints and simulates a jump to this page. It
inserts an URL to itself instead of the label in the generated text. The
dynamic behavior of a linker is evaluated after the user has clicked on
the link.
Properties
Name |
Name of the decision
center.
Netsilon is able to generate a name or modify it
if it is already defined. |
Type |
Link |
Identifier |
A unique number in the
subsystem that identifies this decision center in the HTML
formatted texts treated by Netsilon. |
Default attachment |
The name of the web
element linked to this decision center by a default decision
constraint or none if no default decision is defined. |
Protocol |
Defaults to "http":
The name of the protocol used in the URL of the target page. Can
be set for example to "https". |
Host |
Default to "":
when empty, the host name of the current deployment site is
used. If not empty, the result of the evaluation of this
expression will be set as the host name in the URL of the target
page. |
Strip Session ID |
If checked, the session is not transmitted
to the target page. |
Form
The
purpose of this decision center is to treat the forms; its label is thus
found as the value of the attribute action of the HTML tag form.
If the label is found in the HTML text of web file, Netsilon is able to
retrieve the name of all input elements that can appear in a form. These
names appear as variables in the local variable context of the form and
are commented as //From form. Basically, these variables have the
same behavior as User defined variables, they are just defined by
Netsilon. They are initialized with the value that is extracted from the
information posted during the submission of the form. The type of these
variables is initially String but may be changed by the user. The value
is automatically converted from its string representation to the type of
the variable. In case of a collection type, values defined one or many
times are inserted in a newly created collection. One can add User
defined variables in the local context of the decision center when
for example, the HTML text of the form is built by a sequence of
compositions.
A form decision center should be linked to non
fragment web elements.
Special treatment
When an input type image named for example im
is used in a form, Netsilon will create two variables named im_x
and im_y that will be initialized with the coordinates of the
click in the image. The type of those variables is initially String
but can be changed to an Integer subtype.
When using input types able to return multiple
values, for example a multiple select input type, the name of
the input type must be followed by [] in the HTML source and
Netsilon will be able to create a variable with that name and
the type Sequence(String).
Properties
Name |
Name of the decision
center.
Netsilon is able to generate a name or modify it
if it is already defined. |
Type |
Form |
Identifier |
A unique number in the
subsystem that identifies this decision center in the HTML
formatted texts treated by Netsilon. |
Default attachment |
The name of the web
element linked to this decision center by a default decision
constraint or none if no default decision is defined. |
Protocol |
Defaults to "http":
The name of the protocol used in the URL of this page. Can be
set for example to "https". |
Host |
Default to "":
when empty, the host name of the current deployment site is
used. If not empty, the result of the evaluation of this
expression will be set as the host name in the URL of this page. |
Strip Session ID |
If checked, the session is not transmitted
to the target page. |
Erroneous variable |
The name of a set of
strings that contains the names of all the form variables whose
value could not be converted from string to the specified type
during the elaboration of the entry context. |
|