<component>
<id>cmpType</id>
<name>Type</name>
<elements>
<label>
<id>lblType</id>
<value>Type</value>
</label>
<selectbox>
<id>slbType</id>
<lookuptype>dataset</lookuptype>
<lookupname>products.loadtypes;prodtypeid;prodtypename;</lookupname>
<datapath>type</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>
</elements>
</component> |