Layout Component

Layout Component

The tag describes the layout of a part/division of a component.

 

Attributes

NameDescriptionValue
id

Unique Identifier.

Any
colspanThe number of columns the component spans. The default value is 1.numeric
rowspanThe number of rows the component spans. The default value is 1.numeric
newrowMoves the component to the next row. The default value is false.true or false
visibilityconditionsThe conditions that should be met in order to display the component.'[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value'
visiblemodesThe modes that the component is visible. The component is visible in every mode by default.new,edit,read

Example

 Layout File

 

Definition File
<section>
	<id>secMainInformation</id>
	<name>Main Information</name>
	...
		<left>
			<columns>3</columns>
			<components>
				<component><id>file:general/code.xml</id></component>
				<component><id>cmpBrand</id></component>
				<component>
					<id>file:general/description_rowspan_3.xml</id>
					<rowspan>3</rowspan>
				</component>
				<component><id>file:general/altCode.xml</id></component>
				<component><id>cmpFamily</id></component>
				<component>
					<id>cmpType</id>
					<newrow>true</newrow>
				</component>
				<component><id>file:platform/vatRate.xml</id></component>
				<component>
					<id>cmpViewCharacteristics</id>
					<newrow>true</newrow>
					<colspan>3</colspan>
				</component>
			</components>
		</left>
	</section>