Summary
WIZ004 - Defining a Standard Menu Component
Important Observations
- The presentation layout defined for iiPROC01 is process specific. The iiPROC02 functions are not impacted. In WIZ007 - Adopting Presentation Layout you will make these layouts the same.
- Menu items can link to a component or URL or call a LANSA process or function.
- A menu item can also be displayed as simple text, image(s), a dynamic button or a Web page/component.
- The Menu State is a powerful feature which allows you to define dynamic menus.
- Select the Include Menu Separator Between Menu Items just before your build the menu. This check box is reset each time you add a new item to the menu.
- The descriptive text used for the menu item can include HTML tags.
- Include the hidden field STDTABFLR in your RDML screen definitions to automatically enable on/off presentation for your dynamic buttons.
Tips & Techniques
- Menu items can link to a component or URL or call a LANSA process or function.
- A menu item can be displayed as simple text, image(s), a dynamic button or a Web page/component. Use a Link type of No link to add simple text to your menus.
- Use the Image button to check that the image you have specified exists.
- To search for an image, use the File Search facility on the left hand menu of the Wizard. For more details, refer to File Search.
- You can create very powerful and dynamic menus by using Web components in the menus.
- Think carefully when specifying the Reuse Job and Start in New Window options. You must understand the type of function executing and the navigation required to and from the function.
- If you are planning to consistently use dynamic buttons in your functions, modify the application template to include the STDTABFLR field.
- You can use the Web Function Editor and include the STDTABFLR field in your DEFAULT_HIDDEN or the <process>_HIDDEN HTML page so that it is included in your functions. You will not have to modify the RDML code to include this field.
What I Should Know
- How to add items to a standard left or right menu component.
- How to use link types no link and LANSA function.
- How to use the menu state to control when an item will appear.
- How to set up the dynamic buttons default values.
- How to set up the menu separator image.
- How to use the STDTABFLR field with dynamic buttons to create on/off buttons.
Other Tutorials
You are now ready to complete WIZ005 - Defining a DHTML Menu Component.