...
Name | Description | Value | |||||
---|---|---|---|---|---|---|---|
id | Unique Identifier | any | |||||
name | A name that describes the component | any | |||||
label | A label that is positioned above the component. | any | |||||
tipexpression | A question mark that is positioned on the top left corner of the component and when the mouse moves over it an information box appears | any | |||||
newrow | Moves the component to the next row. The default value is false. | true, false | |||||
isgroup | Boolean that specifies if the component will be displayed as a group of multiple elements. | true false | |||||
visibilityconditions | The conditions that should be met in order to display the component. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' | |||||
readonlyconditions | The conditions that should be met in order for the component to become read-only. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' | |||||
visiblemodes | The modes that the component is visible. The component is visible in every mode by default. | new,edit,read | |||||
showonlyinmodal | If 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 | |||||
hideinmodal | If 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 | |||||
columns | The number of columns the component is divided into. The default value is 1. | numeric | |||||
isgroup | If 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 | |||||
allowcollapse | If 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 | |||||
defaultcollapsed | If the component is defined as group and this value is set to true then the group of elements is by default collapsed. | true, false | |||||
elements | The elements of the component. | List of elements. | |||||
quickcreate | If it is set to true then the component is displayed in "quick create" mode. | true, false | excludefrommodal | If it is set to true then the component is not displayed when the page is opened in a modal window. | true, false autorefreshinseconds | Automatically refresh component after the seconds specified. | Number of seconds - integer |
showonlyinmodal | If 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 |
Example
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
Code Block | | |||||
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<component> <id>cmpType< <id>cmpViewCharacteristics</id> <name>Type< <name>View Characteristics</name> <visibilityconditions>'[[getValue,java.lang.String,type/id]]'!=''</visibilityconditions> <isgroup>true</isgroup> <allowcollapse>true</allowcollapse> <columns>2</columns> <elements> <label><selectbox> <id>lblType< <id>slbClassification</id> <label>Classification</label> <value>Type</value> </label> <selectbox> <id>slbType</id> <lookuptype>dataset</lookuptype> <lookupname>products.loadtypes;prodtypeid;prodtypename;</lookupname> <datapath>type</datapath> <datapathid>id</datapathid> <lookuptype>ejb</lookuptype> <datapath>type/classification</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.products.ProductTypeClassification</classname> <reload>true</reload> <readonly>true</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUIProductType</classname> <functionname>getClassificationOptions</functionname> </onload> </selectbox> <selectbox> <id>slbCompositionMethod</id> <label>Composition Method</label> <lookuptype>ejb</lookuptype> <datapath>type/compositionMethod</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.products.CompositionMethod</classname> <reload>true</reload> <readonly>true</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUIProductType</classname> <functionname>getCompositionMethodOptions</functionname> <parameters> <parameter> <value>[[getValue,java.lang.String,type]]</value> <datatype>java.lang.Object</datatype> </parameter> </parameters> </onload> </selectbox> <selectbox> <id>slbServiceType</id> <label>Service Type</label> <lookuptype>ejb</lookuptype> <datapath>type/serviceType</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.products.CRMDOProductType<ServiceType</classname> <reload>true</reload> <readonly>true</readonly> <onload> <datatype>load</datatype> <type>ejb</type> <reload>true</reload> <classname>ejb/CRMUIProductType</classname> <refresh>page</refresh> <functionname>getServiceTypeOptions</functionname> <parameters> <onchange> <parameter> <functions> <value> </value> <function> <datatype>java.lang.String</datatype> <type>staticjs<</type>parameter> <functionname>voidFunc<</functionname>parameters> </function>onload> </functions> /selectbox> <selectbox> <id>slbUsedForProvisioning</id> <label>Used For Provisioning</label> <lookuptype>ejb</lookuptype> <datapath>type/isForProvision</datapath> <datatype>java.lang.Integer</datatype> <reload>true</reload> <readonly>true</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUIProductType</classname> <functionname>getYesNoOptions</functionname> </onchange>onload> </selectbox> </elements> </component> |