<tab>
<id>tabCategories</id>
<name>Allowed Categories</name>
<datasourcesetkey>categories</datasourcesetkey>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIFinancialTransactionType</classname>
<functionname>loadCategoriesTab</functionname>
<resultaction>setreplace</resultaction>
<datapath>categories</datapath>
<datasortby>category/code,desc</datasortby>
<datasourcesetkey>categories</datasourcesetkey>
<parameters>
<parameter>
<value>[[getDTO]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
<tabmenu>
<components>
<component>
<id>cmpAdd</id>
<name>Add</name>
<visiblemodes>edit,new</visiblemodes>
<elements>
<modal>
<id>mdlAdd</id>
<name>Add</name>
<type>treesearch</type>
<refresh>tab,tabCategories</refresh>
<setmode>edit</setmode>
<datasetname>financialtransactions.categories</datasetname>
<assignments>
<assignment>
<datapath>modal</datapath>
<datatype>alias</datatype>
</assignment>
</assignments>
<onclosefunction>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIFinancialTransactionType</classname>
<functionname>addCategoryButton</functionname>
<datasourcesetkey>categories</datasourcesetkey>
<datasortby>category/code,desc</datasortby>
<resultaction>setappend</resultaction>
<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>null</value>
</parameter>
</parameters>
</function>
</functions>
</onclosefunction>
</modal>
</elements>
</component>
<component>
<id>cmpRemove</id>
<name>Remove</name>
<visiblemodes>edit,new</visiblemodes>
<elements>
<button>
<id>btnRemove</id>
<name>Remove</name>
<refresh>tab,tabCategories</refresh>
<functioncall>
<functions>
<function>
<type>ejb</type>
<classname>ejb/CRMUIFinancialTransactionType</classname>
<functionname>removeCategoryButton</functionname>
<datasourcesetkey>categories</datasourcesetkey>
<resultaction>markdeleted</resultaction>
<parameters>
<parameter>
<value>[[getSelectedDTOs,java.lang.String,categories]]</value>
<datatype>java.lang.Object</datatype>
</parameter>
</parameters>
</function>
</functions>
</functioncall>
</button>
</elements>
</component>
</components>
</tabmenu>
<components>
<component>
<id>cmpSelect</id>
<name></name>
<elements>
<rowselector>
<id>rowID</id>
<datapath>id</datapath>
</rowselector>
</elements>
</component>
<component>
<id>cmpCode</id>
<name>Code</name>
<elements>
<textbox>
<id>txtCode</id>
<datapath>category/code</datapath>
<readonly>true</readonly>
</textbox>
</elements>
</component>
<component>
<id>cmpCategoryName</id>
<name>Name</name>
<elements>
<textbox>
<id>txtCategoryName</id>
<datapath>category/name</datapath>
<readonly>true</readonly>
</textbox>
</elements>
</component>
<component>
<id>cmpCategoryPath</id>
<name>Path</name>
<elements>
<textbox>
<id>txtCategoryPath</id>
<datapath>category/description</datapath>
<readonly>true</readonly>
</textbox>
</elements>
</component>
</components>
</tab> |