Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionValue
id

Unique Identifier

any
nameA name that describes the componentany
labelA label that is positioned above the component.any
tipexpressionA question mark that is positioned on the top left corner of the component and when the mouse moves over it an information box appearsany
newrowMoves the component to the next row. The default value is false.true, false
isgroupBoolean that specifies if the component will be displayed as a group of multiple elements.

true

false
visibilityconditionsThe conditions that should be met in order to display the component.'[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value'
readonlyconditionsThe conditions that should be met in order for the component to become read-only.'[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value'
visiblemodesThe modes that the component is visible. The component is visible in every mode by default.new,edit,read
showonlyinmodalIf it is set to true then the component will be visible only when the page opens in modal. The default value is false.

true, false

hideinmodalIf it is set to true then the component will be hidden only when the page opens in modal. The default value is false.true, false
columnsThe number of columns the component is divided into. The default value is 1.numeric
isgroupIf it is set to true then the component is displayed as a group of elements. the name of the component appears as the title of the group.

true, false

allowcollapseIf the component is defined as group and this value is set to true then the user can collapse/expand the component by clicking the title of the group.

true, false

defaultcollapsedIf the component is defined as group and this value is set to true then the group of elements is by default collapsed.

true, false

elementsThe elements of the component.List of elements.
quickcreateIf it is set to true then the component is displayed in "quick create" mode.

true, false

Example

Expand
titleComponent

Image Removed

Code Block
themeEclipse
languagexml
titleLayout
<component><id>cmpType</id></component>
Image Added

 

Code Block
themeEclipse
languagexml
titleDefinition
<component>
	<id>cmpType<<id>cmpIdentifier</id>
	<name>Type<<name>Identifier</name>
	<elements>
		<label><textbox>
			<id>lblType<<id>txtIdentifier</id>
			<value>Type</value>
		<<label>Identifier</label>
		<selectbox>
			<id>slbType</id>
			<lookuptype>dataset</lookuptype>
			<lookupname>products.loadtypes;prodtypeid;prodtypename;</lookupname>
			<datapath>type</	<datapath>identifier</datapath>
			<datapathid>id</datapathid>
			<classname>com.crm.dataobject.products.CRMDOProductType</classname>
			<datatype>load</datatype>
			<reload>true</reload>
			<refresh>page</refresh>
			<onchange>
				<functions>
					<function>
						<type>staticjs</type>
						<functionname>voidFunc</functionname>
					</function>
				</functions>
			</onchange>
		</selectbox><tipexpression>Identifier Rule|[[getValue,java.lang.String,identifierRule]]</tipexpression>
		</textbox>
	</elements>
</component>