3.4.2 Technically Speaking
When you adopt a layout, the Wizard creates a link between the process specific layout page and the adopted from page. It does not create a copy of the adopted layout page.
If you review the <process name>_LAYOUT page, you will see a single line:
<RDML PARENT="procname">
where procname is adopted from the process.
If you review the adopted from procname_LAYOUT page, you will see the layout which will be adopted by your process.
When a change is made to the adopted from layout, it is automatically used in the adopting process because they share the same page as specified by <RDML PARENT="procname">.
Once you define process specific variables or components for the adopting process, these variables and components will be used. The adopted from process variables and components can no longer be used.
The process specific pages are defined at the partition level.
Left/Horizontal Menu background color will always be the same as the adopted from menu.
A graphic variable *LW3PCLR1_<process name> has been defined to store the Left/Horizontal Menu Background Color. The default system value is stored in the graphic variable *LW3COLOR1.
These new variables are used exclusively by the Web Functions Wizard. LANSA for the Web does not include a hierarchical interpretation of the variables. References to these variables in the layout page use conditional logic to determine if the system variable or process variable should be used. As a consequence of this architecture, the Left/Horizontal Menu Background Color will always be the same as the adopted process. Any process specific values in the adopting process will be ignored in this instance.