Large-Scale View Structure
Large-Scale View Structure
Thus, the overall structure of a typical assembly view will be a sequence of layout, data source, and panel elements. In the example below they are all presented inline:
<view version="2.0">
<layout type="borderLayout" id="mainLayout">
<north initialSize="160" minSize="140" maxSize="260" split="false"/>
<west initialSize="240" minSize="100" maxSize="340" split="true"/>
<center autoScroll="true"/>
</layout>
<dataSource>
<table name="project" role="main"/>
<field table="project" name="project_id"/>
<!-- desired fields specified by the field tag -->
</dataSource>
<panel type="console" id="console" region="north">
<title>Filter Form</title>
<!-- desired filtering fields for the console -->
</panel>
<panel type="grid" id="projects" region="west">
<title>Projects</title>
<!-- desired selectable fields for the report -->
</panel>
<panel type="form" id="details" region="center" >
<title>Project Details</title>
<!-- desired detail fields for the form -->
</panel>
</view>