Apama 10.15.0 | Building and Using Apama Dashboards | Building Dashboard Clients | Reusing Dashboard Components | Working with multiple display panels | Using new tags to configure the panels in a window | Using tab definition files
 
Using tab definition files
When you specify an rtvTabbedDisplayPanel element in a panels configuration file, you must set the element's tabs attribute to the name of the tab definition file that defines the tabs you want in the panel.
The tab definition file must start with the following:
<?xml version="1.0" ?>
<navtree>
The tab definition file must end with the following:
</navtree>
For example:
<?xml version="1.0" ?>
<navtree>
<node label="Bar Chart" display="disp1.rtv"/>
<node label="History Graph" display="disp2.rtv" subs="$v1:xyz"/>
</navtree>
Inside the navtree element, you can define one or more node elements. Each node element adds a tab to the panel. You can specify the following attributes for each node element:
*display - Specify the name of the display (.rtv) file.
*label - Specify the label for this tab in the panel.
*subs - Specify substitutions to apply to this tab. Substitutions are optional and must use the following syntax:
$subname:subvalue $subname2:subvalue2
If a substitution value contains a single quote you must escape it by using a forward slash, for example:
$filter:Plant=/'Dallas/'
If a substitution value contains a space it must be enclosed in single quotes. Do not escape these single quotes. Following is a correct example:
$subname:subvalue $subname2:'sub value 2'
A substitution string cannot contain the following characters:
: | . tab space , ; = < > ' " & / \ { } [ ] ( )