Layout Section Side

Layout Section Side

The tag describes the layout of the left/right side of a section.

Attributes

NameDescriptionValues
columnsThe number of columns the section side is divided into. The default value is 1.numeric
widthThe width percentage of the section side.Any valid percentage: [1-100]% (i.e. 50%)
visiblemodesThe modes that the section side is visible. The section side is visible in every mode by default.new, edit, read
headerUsed when the section must be divided into subsectionsA list of subsections.
showbordersDefines if the borders of the section should be displayed. The default value is false.true, false
componentsMakes the section hidden if set to true. The default value is true.A list of components

Example

 Section

 

accountReceivablelayout.xml
<section>
	<id>secContactInformation</id>
	<name>key_contact_information</name>
	<disable>false</disable>
	<visibilityconditions>'[[getValue,java.lang.String,type]]'!='SYSTEM'</visibilityconditions>
	<visiblemodes>edit,read</visiblemodes>
	<left>	
		<width>64%</width>				
		<columns>2</columns>
		<components>
			<component>
				<id>cmpContactInformation</id>
				<colspan>1</colspan>
				<rowspan>2</rowspan>
			</component>	
			<component>
				<id>cmpBalanceInformation</id>
				<colspan>1</colspan>
			</component>
			<component>
				<id>cmpAccountingPeriodInformation</id>
				<colspan>1</colspan>
			</component>	
		</components>
	</left>
	<right>
		<width>35%</width>
		<header>key_action_panel</header>
		<showborders>true</showborders>
		<components>
			<component>
				<id>cmpActionPanel</id>
			</component>
			<component>
				<id>cmpEmptyActionPanel</id>
			</component>
			<component>
				<id>cmpActionPanel2</id>
			</component>
		</components>
	</right>
</section>