Panels may include a generated menu bar that provides access to every entity’s list that defines a menu attribute value. The menu options are grouped according to the value of this attribute and order alphabetically. Panels can also make use of the menu attribute so that the user may jump from one panel to another.
Take a look at the code for the Sample CRM here to see this attribute in use.
Another very useful feature of Panels is that you may embed listings or forms into them. You can include as many listings as you need and use accordions to visually stack them.
This is done by using the accordeonitem and listing elements.
And last, the main purpose of this quick tip is to show how two listings can be linked. In the CRM sample app the Customers and Opportunities listings in the Index panel are linked together. When a customer is selected in the Customers listing, the Opportunities lists only the records that belong to this customer.
You can also embed forms into your panels and link them with listings. Use the form element for this.
You have really paid attention to details while writing this article.
ReplyDeleteExtreme Java