Location groups as tab menus

A location group can be used to define the menu items that appear in a tab. As an example, consider the Desktop tab in ClaimCenter with the menu items as shown in the following diagram:



This tab is defined in the element named TabBar (under the util folder):



This tab is defined with its action attribute set to Desktop.go(). This specifies that the action to take if you click the Desktop tab is to go to the Desktop location.

This location is a location group:



Inside this location group, there are multiple Location Ref elements defined, each one specifying a location. In this example, the locations referenced in the group correspond to the items in the Desktop menu. If the action for a tab is a location group containing more than one location, ClaimCenter adds each location in that location group to the menu in the tab.