Databases Reference
In-Depth Information
<module name="JSChart"></module>
<module
name="StaticContentSample"
layoutPanel="panel_row1_col1">
<!-- this layoutPanel is unneeded, but harmless -->
<param name="text">Text below</param>
</module>
</module>
<module name="SimpleResultsTable"
layoutPanel="panel_row1_col2"></module>
</module>
</view>
This XML will render a dashboard like the following screenshot:
There are some things to notice in this XML:
• The data produced by
HiddenSearch
is used by both child modules.
•
JSChart
inherits
layoutPanel="panel_row1_col1"
from
HiddenSearch
.
•
SimpleResultsTable
has its own
layoutPanel
attribute set to
panel_row1_
col2
, so the table draws to the right.
• Both
StaticContentSample
modules specify
layoutPanel="panel_row1_
col1"
, and therefore appear in the same panel as the chart. Though they
are at different depths in the XML, the order drawn follows the order seen
in the XML.
Search WWH ::
Custom Search