|Top Previous Next
At run time the selection of an eaForm definition is defined in several ways.
In the simplest case when using EA Core Element definitions the choice will be based on the:
The case for MDG's is very similar to the basic case except that the stereotype should match that defined for the MDG stereotype.
For elements and packages only it is possible to further select a form based on the context of the element within its current package tree.
To explain. An element has ancestors each with a stereotype. For example. we may have a tree as illustrated below, and depending in which "Group" the work is being performed wish to use different eaForm definitions.
This can be achieved by setting the "Ancestor stereotype" for example either as "Group1" or "Group2" within the form definition. At run time a check is made on the element context and the appropriate form used