Polymorphic zone

A
polymorphic zone is an element of presentation whose appearance is delegated
to a display method in the business model. The separation between the look
and the behavior is preserved because a display method is again associated
to a web element in the presentation and navigation model
Entry context
A polymorphic zone must be associated to an operation
in a class of the business model. That imposes the existence of
particular variables in the entry context:
- a variable named this with the type of the class
selected: it contains the object on which the display method is
applied
- variables corresponding to each parameter of the
operation selected: they contain the values transmitted to the display
method. A display operation must return Void, String or Text. If the operation
returns String or Text, all output is buffered before it is written in the output stream.
All other non session variables are useless in the case of
a polymorphic zone.
Entry action
A polymorphic zone has no entry action, however, each
executable web element associated to a display method can have one.
Properties
Name |
Name of the polymorphic
zone. It is mandatory.
It will be part of the URL that will be used to
access a web element in this web folder. |
Folder |
Qualified name of the
parent web folder |
HTML file |
Always checked |
Entry file |
A polymorphic zone can
never be an entry page since the this variable must be
defined. |
HTML fragment |
Check if this
polymorphic zone is treated as a fragment. |
Filter out to tag |
Ignored |
Interfacing |
Ignored |
For test purpose |
If checked and this zone is in an imported
module, this zone does not participate in the generation of the entire web application. |
Source filter |
Ignored |
|