Using card panels
The tags described in this topic are deprecated. They will be removed in a future release. Your should change to the new tags. See
Using new tags to configure the panels in a window.
With card layout, you use the CardPanel element to specify a main panel and subordinate panels. Display Server deployments do not support card layout.
The CardPanel tag supports the following attributes:
region | Set the location of this CardPanel if it is in a BorderPanel. Valid values are west, east, center, north, and south. |
title | Set the title of the main window. |
Here is an example:
<?xml version="1.0" ?>
<panels xmlns="www.sl.com" version="1.0">
<CardPanel>
<RtViewPanel title=" Main Panels " name="main" display="main_panel"/>
<!-- The following three panels will always be kept in memory -->
<RtViewPanel title="Panel 101" display="med_panel" subs="$title:101">
<RtViewPanel title="Panel 102" display="med_panel" subs="$title:102">
<RtViewPanel title="Panel 103" display="med_panel" subs="$title:103">
<!-- All other displays will be loaded on demand -->
</CardPanel>
</panels>
When you create displays for use in card panels, the height and width of each display must be the same. To set the height and width of a display in the Dashboard Builder, select File | Background Properties and set the Model Width and Model Height. If you are using a background image for your display, create the image so that the height and width of the image are one pixel larger than the size you want the display to be.
Copyright © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.