Layout File

Layout File

In the layout file we determine where to display components and tabs on the screen.

Attributes

NameDescriptionValue
mainmenu

Describes the layout of the main menu area.

The list of components (their IDs) that will be displayed in the main menu area.
mainDescribes the layout of the main area.The list of components (their IDs) that will be displayed in the main area.
detailsDescribes the layout of the details area.The list of tabs that will be displayed in the details area.

Example

 Layout File

 

Layout File
<page>
	<mainmenu>
 		<components>
	 		<component><id>cmpHome</id></component>
	 		...
	 	</components>
 	</mainmenu>

 	<main>
 		<view>
 			<type>areas</type>
 			<screenareas>
				<screenarea>
 					<leftscreenarea>
 						<sections>
 							<section><id>secMainInformation</id></section>
						 	...
 						</sections>
 					</leftscreenarea>
 				</screenarea>
 			</screenareas>
 		</view>

 		<sections>
 			<section>
				<id>secMainInformation</id>
 				<name>Financial Transaction Type</name>
				<disable>false</disable>
 				<left>
 					<components>
 						<component><id>cmpClassification</id></component>
						...				
					</components>
 				</left>
 				<right>
 					<components>
 						<component><id>file:general/description.xml</id></component>
 					</components>
 				</right>
 			</section>
			...
 		</sections>
 	</main>

 	<details>
 		<view>list</view>
 		<defaulttabid>tabCategories</defaulttabid>
 		<tabs>
			<tab>
				<id>tabCategories</id>
				<disable>false</disable>
				<preload>true</preload>
				<components>
					<component><id>cmpSelect</id></component>
					<component><id>cmpCode</id></component>
					<component><id>cmpCategoryName</id></component>
					<component><id>cmpCategoryPath</id></component>
				</components>
			</tab>
			...
 		</tabs>
	</details>
</page>