Menu (attribute of entity)
From JRapid
menu is an attribute of property.
Contents |
Description
When laying out your JRapid components in a panel you can also include a menu that allows access to entity listings. The menu attribute for an entity indicates the menu option under which it is should be included.
Menus are placed at the top of the panel, right under the header if it exists.
Usage
<entity name = NAME menu = "MENU_NAME" label = LABEL />
Example
- A menu for a CRM application.
Each entity in this example defines the "menu" attribute which specifies the menu in which it will be included as a menu item.
<entity label="Company" menu="Companies" name="Company"> ... </entity> <entity label="Seller" menu="Sellers" name="Seller"> ... </entity> <entity label="Opportunity" menu="Opportunities" name="Opportunity"> ... </entity> <entity label="Product" menu="Products" name="Product"> ... </entity>
Result:

