- Created by Former user, last modified on Nov 07, 2016
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 6 Next »
This tag is used to specify lists on the page.
Attributes
Name | Description | Value |
---|---|---|
id | Unique Identifier | any |
name | A name that describes the list. | any glossary key |
reload | Indicates if the list should be reloaded every time is expanded. | true false |
datasourcesetkey | The name of the set that holds the objects displayed in the list as it is defined on the datasourceobject. | property name |
visibilityconditions | The conditions that should be met in order for the list to be visible. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
rowvisibilityconditions | The conditions that should be met in order for a list row to be visible. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
functioncall | The method that loads the objects displayed in the list. | afunctioncall |
tabmenu | The components that will be displayed in the list's menu area. | List of components |
components | The components that will be displayed in the list. | List of components |
header | The list item title | The header information |
subheader | The information that appears on the top right of the list item screen. | The subheader information |
Examples
Example 1
Tab
<list> <id>listCollaborationGroups</id> <name>key_collaboration_groups</name> <visibilityconditions>'[[getValue,java.lang.String,scope]]'=='SPECIFIC'</visibilityconditions> <datasourcesetkey>collaborationGroups</datasourcesetkey> <functioncall> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>loadCollaborationGroupsTab</functionname> <resultaction>setreplace</resultaction> <datapath>collaborationGroups</datapath> <datasourcesetkey>collaborationGroups</datasourcesetkey> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> </parameters> </function> </functions> </functioncall> <tabmenu> <components> <component> <id>cmpAdd</id> <name>key_add</name> <visiblemodes>edit,new</visiblemodes> <elements> <modal> <id>mdlAdd</id> <name>key_add</name> <type>search</type> <refresh>tab,listCollaborationGroups</refresh> <datasetname>networkmanagement.loadgroups</datasetname> <datasetreturnhiddenfield>OUGID</datasetreturnhiddenfield> <filter>OUGROUPS.OUGID!='[[getValue,java.lang.String,group/id]]'</filter> <assignments> <assignment> <datapath>modal</datapath> <datatype>alias</datatype> </assignment> </assignments> <onclosefunction> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>addCollaborationGroupsButton</functionname> <resultaction>setappend</resultaction> <datapath>collaborationGroups</datapath> <datasourcesetkey>collaborationGroups</datasourcesetkey> <datasortby>number</datasortby> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>[[getAlias,java.lang.String,modal]]</value> <datatype>java.util.ArrayList</datatype> </parameter> <parameter> <value>[[getValue,java.lang.String,scope]]</value> <datatype>enum</datatype> </parameter> </parameters> </function> </functions> </onclosefunction> </modal> </elements> </component> <component> <id>cmpRemove</id> <name>key_remove</name> <visiblemodes>edit,new</visiblemodes> <elements> <button> <id>btnRemove</id> <name>key_remove</name> <refresh>tab,listCollaborationGroups</refresh> <functioncall> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>removeCollaborationGroupsButton</functionname> <datasourcesetkey>collaborationGroups</datasourcesetkey> <resultaction>markdeleted</resultaction> <parameters> <parameter> <value>[[getSelectedDTOs,java.lang.String,collaborationGroups]]</value> <datatype>java.lang.Object</datatype> </parameter> </parameters> </function> </functions> </functioncall> </button> </elements> </component> </components> </tabmenu> <header> <id>txtGroup</id> <datapath>collaborationGroup/name</datapath> </header> <subheader> <info> <id>txtNumber</id> <name>key_number</name> <datapath>collaborationGroup/number</datapath> </info> <info> <id>txtDescription</id> <name>key_description</name> <datapath>collaborationGroup/description</datapath> </info> </subheader> <components> <component> <id>cmpViewMyRecords</id> <name>key_view_my_records</name> <isgroup>true</isgroup> <allowcollapse>true</allowcollapse> <defaultcollapsed>true</defaultcollapsed> <elements> <selectbox> <id>slbViewMyRecords</id> <label>key_view_my_records</label> <lookuptype>ejb</lookuptype> <datapath>viewMyRecScopeSetting</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.networkmanagement.CollaborationSettingScope</classname> <refresh>component,true:false:listCollaborationGroups:cmpViewMyRecords</refresh> <reload>true</reload> <readonly>false</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>getCollaborationSettingScopeOptions</functionname> </onload> <onchange> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>changeCollaborationSettingScopeOptions</functionname> <resultaction>replace</resultaction> <datatype>root</datatype> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>VIEW_MY_RECORDS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </function> </functions> </onchange> </selectbox> <drilldown> <visibilityconditions> '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/viewMyRecScopeSetting]]'=='SPECIFIC_PRIVACY_LEVEL_GROUPS' || '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/viewMyRecScopeSetting]]'=='SPECIFIC_PRIVACY_LEVELS' </visibilityconditions> <id>ddViewMyRecords</id> <tabid>tabViewMyRecords</tabid> </drilldown> </elements> </component> <component> <id>cmpModifyMyRecords</id> <name>key_modify_my_records</name> <isgroup>true</isgroup> <allowcollapse>true</allowcollapse> <defaultcollapsed>true</defaultcollapsed> <elements> <selectbox> <id>slbModifyMyRecords</id> <label>key_view/modify_my_records</label> <lookuptype>ejb</lookuptype> <datapath>viewModMyRecScopeSetting</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.networkmanagement.CollaborationSettingScope</classname> <refresh>component,true:false:listCollaborationGroups:cmpModifyMyRecords</refresh> <reload>true</reload> <readonly>false</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>getCollaborationSettingScopeOptions</functionname> </onload> <onchange> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>changeCollaborationSettingScopeOptions</functionname> <resultaction>replace</resultaction> <datatype>root</datatype> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>VIEW_MODIFY_MY_RECORDS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </function> </functions> </onchange> </selectbox> <drilldown> <visibilityconditions> '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/viewModMyRecScopeSetting]]'=='SPECIFIC_PRIVACY_LEVEL_GROUPS' || '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/viewModMyRecScopeSetting]]'=='SPECIFIC_PRIVACY_LEVELS' </visibilityconditions> <id>ddModifyMyRecords</id> <tabid>tabModifyMyRecords</tabid> </drilldown> </elements> </component> <component> <id>cmpAssignMyRecords</id> <name>key_assign_my_records</name> <isgroup>true</isgroup> <allowcollapse>true</allowcollapse> <defaultcollapsed>true</defaultcollapsed> <elements> <selectbox> <id>slbAssignMyRecords</id> <label>key_view/modify/assign_my_records</label> <lookuptype>ejb</lookuptype> <datapath>viewModAssMyRecScopeSetting</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.networkmanagement.CollaborationSettingScope</classname> <refresh>component,true:false:listCollaborationGroups:cmpAssignMyRecords</refresh> <reload>true</reload> <readonly>false</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>getCollaborationSettingScopeOptions</functionname> </onload> <onchange> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>changeCollaborationSettingScopeOptions</functionname> <resultaction>replace</resultaction> <datatype>root</datatype> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>VIEW_MODIFY_ASSIGN_MY_RECORDS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </function> </functions> </onchange> </selectbox> <drilldown> <visibilityconditions> '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/viewModAssMyRecScopeSetting]]'=='SPECIFIC_PRIVACY_LEVEL_GROUPS' || '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/viewModAssMyRecScopeSetting]]'=='SPECIFIC_PRIVACY_LEVELS' </visibilityconditions> <id>ddAssignMyRecords</id> <tabid>tabAssignMyRecords</tabid> </drilldown> </elements> </component> <component> <id>cmpShareMyGroups</id> <name>key_share_my_groups</name> <isgroup>true</isgroup> <allowcollapse>true</allowcollapse> <defaultcollapsed>true</defaultcollapsed> <elements> <selectbox> <id>slbShareMyGroups</id> <label>key_share_my_groups</label> <lookuptype>ejb</lookuptype> <datapath>shareMyGroupsScopeSetting</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.networkmanagement.CollaborationSettingScope</classname> <refresh>component,true:false:listCollaborationGroups:cmpShareMyGroups</refresh> <reload>true</reload> <readonly>false</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>getCollaborationSettingScopeOptions</functionname> <parameters> <parameter> <value>null</value> </parameter> <parameter> <value>SHARE_MY_GROUPS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </onload> <onchange> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>changeCollaborationSettingScopeOptions</functionname> <resultaction>replace</resultaction> <datatype>root</datatype> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>SHARE_MY_GROUPS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </function> </functions> </onchange> </selectbox> <drilldown> <visibilityconditions> '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/shareMyGroupsScopeSetting]]'=='SPECIFIC_PRIVACY_LEVEL_GROUPS' || '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/shareMyGroupsScopeSetting]]'=='SPECIFIC_PRIVACY_LEVELS' </visibilityconditions> <id>ddShareMyGroups</id> <tabid>tabShareMyGroups</tabid> </drilldown> </elements> </component> <component> <id>cmpShareMyUnits</id> <name>key_share_my_units</name> <isgroup>true</isgroup> <allowcollapse>true</allowcollapse> <defaultcollapsed>true</defaultcollapsed> <elements> <selectbox> <id>slbShareMyUnits</id> <label>key_share_my_units</label> <lookuptype>ejb</lookuptype> <datapath>shareMyUnitsScopeSetting</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.networkmanagement.CollaborationSettingScope</classname> <refresh>component,true:false:listCollaborationGroups:cmpShareMyUnits</refresh> <reload>true</reload> <readonly>false</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>getCollaborationSettingScopeOptions</functionname> <parameters> <parameter> <value>null</value> </parameter> <parameter> <value>SHARE_MY_UNITS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </onload> <onchange> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>changeCollaborationSettingScopeOptions</functionname> <resultaction>replace</resultaction> <datatype>root</datatype> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>SHARE_MY_UNITS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </function> </functions> </onchange> </selectbox> <drilldown> <visibilityconditions> '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/shareMyUnitsScopeSetting]]'=='SPECIFIC_PRIVACY_LEVEL_GROUPS' || '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/shareMyUnitsScopeSetting]]'=='SPECIFIC_PRIVACY_LEVELS' </visibilityconditions> <id>ddShareMyUnits</id> <tabid>tabShareMyUnits</tabid> </drilldown> </elements> </component> <component> <id>cmpShareMyUsers</id> <name>key_share_my_users</name> <isgroup>true</isgroup> <allowcollapse>true</allowcollapse> <defaultcollapsed>true</defaultcollapsed> <elements> <selectbox> <id>slbShareMyUsers</id> <label>key_share_my_users</label> <lookuptype>ejb</lookuptype> <datapath>shareMyUsersScopeSetting</datapath> <datatype>enum</datatype> <classname>com.crm.dataobject.networkmanagement.CollaborationSettingScope</classname> <refresh>component,true:false:listCollaborationGroups:cmpShareMyUsers</refresh> <reload>true</reload> <readonly>false</readonly> <onload> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>getCollaborationSettingScopeOptions</functionname> <parameters> <parameter> <value>null</value> </parameter> <parameter> <value>SHARE_MY_USERS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </onload> <onchange> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICollaborationGroup</classname> <functionname>changeCollaborationSettingScopeOptions</functionname> <resultaction>replace</resultaction> <datatype>root</datatype> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]]]</value> <datatype>java.lang.Object</datatype> </parameter> <parameter> <value>SHARE_MY_USERS</value> <datatype>java.lang.String</datatype> </parameter> </parameters> </function> </functions> </onchange> </selectbox> <drilldown> <visibilityconditions> '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/shareMyUsersScopeSetting]]'=='SPECIFIC_PRIVACY_LEVEL_GROUPS' || '[[getValue,java.lang.String,collaborationGroups[CURRENT_ROW]/shareMyUsersScopeSetting]]'=='SPECIFIC_PRIVACY_LEVELS' </visibilityconditions> <id>ddShareMyUsers</id> <tabid>tabShareMyUsers</tabid> </drilldown> </elements> </component> </components> </list>
Example 2
Tab
<list> <id>listSpendRequestRules</id> <name>key_spend_request_rules</name> <reload>true</reload> <datasourcesetkey>processingRules</datasourcesetkey> <rowvisibilityconditions> '[[getValue,java.lang.String,processingRules[CURRENT_ROW]/processingRuleType]]'=='SPEND_REQUEST_RULE' </rowvisibilityconditions> <functioncall> <functions> </functions> </functioncall> <tabmenu> <components> <component> <id>cmpAdd</id> <name>key_add</name> <visiblemodes>edit,new</visiblemodes> <elements> <button> <id>btnAdd</id> <name>key_add</name> <refresh>tab,listSpendRequestRules</refresh> <functioncall> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICustomerEventDefinition</classname> <functionname>addSpendRequestRuleButton</functionname> <datasourcesetkey>processingRules</datasourcesetkey> <resultaction>setappend</resultaction> <parameters> <parameter> <value>[[getDTO]]</value> <datatype>java.lang.Object</datatype> </parameter> </parameters> </function> </functions> </functioncall> </button> </elements> </component> <component> <id>cmpRemove</id> <name>key_remove</name> <visiblemodes>edit,new</visiblemodes> <elements> <button> <id>btnRemove</id> <name>key_remove</name> <refresh>tab,listSpendRequestRules</refresh> <functioncall> <functions> <function> <type>ejb</type> <classname>ejb/CRMUICustomerEventDefinition</classname> <functionname>removeSpendRequestRuleButton</functionname> <datasourcesetkey>processingRules</datasourcesetkey> <resultaction>setdelete</resultaction> <parameters> <parameter> <value>[[getSelectedDTOs,java.lang.String,processingRules]]</value> <datatype>java.lang.Object</datatype> </parameter> </parameters> </function> </functions> </functioncall> </button> </elements> </component> </components> </tabmenu> <header> <id>txtHeader</id> <datapath>spendRequestRule/ruleName</datapath> </header> <subheader> </subheader> <components> <component> <id>cmpAllowCreatingSpendRequestsForSpecificAmount</id> <name>key_allow_creating_spend_requests_for_specific_amount</name> <elements> <checkbox> <sidelabel>key_allow_creating_spend_requests_for_specific_amount</sidelabel> <id>chkAllowCreatingSpendRequestsForSpecificAmount</id> <datapath>spendRequestRule/allowCreatingSpendRequestsForSpecificAmount</datapath> <truevalue>1</truevalue> <falsevalue>0</falsevalue> <truelabel>key_yes</truelabel> <falselabel>key_no</falselabel> <refresh>tab,listSpendRequestRules</refresh> <onchange> <functions> <function> <type>staticjs</type> <functionname>voidFunc</functionname> </function> </functions> </onchange> </checkbox> </elements> </component> <component> <id>cmpMinSpendRequestAmount</id> <name>key_minimum_spend_request_amount</name> <elements> <textbox> <visibilityconditions>'[[getValue,java.lang.String,processingRules[CURRENT_ROW]/spendRequestRule/allowCreatingSpendRequestsForSpecificAmount]]'=='1'</visibilityconditions> <label>key_minimum_spend_request_amount</label> <id>txtMinSpendRequestAmount</id> <datapath>spendRequestRule/minSpendRequestAmount</datapath> <datatype>java.math.BigDecimal</datatype> <width>30%</width> </textbox> </elements> </component> <component> <id>cmpMaxSpendRequestAmount</id> <name>key_maximum_spend_request_amount</name> <elements> <textbox> <visibilityconditions>'[[getValue,java.lang.String,processingRules[CURRENT_ROW]/spendRequestRule/allowCreatingSpendRequestsForSpecificAmount]]'=='1'</visibilityconditions> <label>key_maximum_spend_request_amount</label> <id>txtMaxSpendRequestAmount</id> <datapath>spendRequestRule/maxSpendRequestAmount</datapath> <datatype>java.math.BigDecimal</datatype> <width>30%</width> <leftsidelabel>[SESSION]/generalSettings/defaultCurrency/prefix</leftsidelabel> </textbox> </elements> </component> <component> <id>cmpRejectSpendRequestsIfTheRequestedSpendAmountIsNotCovered</id> <name>key_reject_spend_requests_if_the_requested_spend_amount_is_not_covered</name> <elements> <checkbox> <sidelabel>key_reject_spend_requests_if_the_requested_spend_amount_is_not_covered</sidelabel> <id>chkRejectSpendRequestsIfTheRequestedSpendAmountIsNotCovered</id> <datapath>spendRequestRule/rejectSpendRequestsIfTheRequestedSpendAmountIsNotCovered</datapath> <truevalue>1</truevalue> <falsevalue>0</falsevalue> <truelabel>key_yes</truelabel> <falselabel>key_no</falselabel> </checkbox> </elements> </component> <component> <id>cmpApplicableClassifications</id> <name>key_applicable_classifications</name> <elements> <drilldown> <id>ddApplicableClassifications</id> <tabid>tabApplicableClassifications</tabid> </drilldown> </elements> </component> </components> </list>
- No labels