3.4.1 Tips & Techniques
- In adopting the presentation layout of another LANSA process, LANSA for the Web allows you to override any of the components embedded in the presentation. You can create process specific left, right and horizontal menu components for the process even though you have chosen to adopt the presentation from another LANSA process.
- If you change a standard menu definition in the parent process, the changes will be automatically used in the adopting process provided process specific components do not already exist.
- The Menu Separator Images variable (*LW3MENUSEP for the default or *LW3PMSP_<process name> for a specific process) is embedded in the associated menu component. This value will always be evaluated based on the current process. If a value does not exist for the current process, the default system value will be used (i.e. the adopted from process value is not referenced in this case).
- If you no longer want to use the adopted layout, you can create a process specific layout.
- To reset to the DEFAULT layout, use the 3.1 Select Layout. option to delete the layout. For more details, refer to
- The adopt layout feature is extremely useful if your Web application has many LANSA processes. It allows you to customize the presentation layout for a single process and let the other processes adopt the presentation for this process to provide a consistent presentation for your complete application. For an example, refer to WIZ04 - Defining a Standard Menu Component and WIZ06 - Defining a Style Sheet.
- If your Web application consists of more than one process, and you want all processes to have the same presentation layout, it is recommended to customize one layout first. When you are satisfied with the first process layout, use the Adopt Layout to inherit this "look-and-feel" for the other processes in your Web application.