Friday, December 23, 2011

Remove an AppMod // Data Controller


Remove an Application Module:
check in the XXXModel.jpx source code

Remove Data Controller:
Under the Model path
$JdevHome\Model\adfmsrc\model\DataControls.dcx

remove the DC -- AdapterDataControl for the unwanted DC


 <AdapterDataControl id="StockVOImpl" FactoryClass="oracle.adf.model.adapter.DataControlFactoryImpl"
                      ImplDef="oracle.adf.model.adapter.bean.BeanDCDefinition" SupportsTransactions="false"
                      SupportsSortCollection="true" SupportsResetState="false" SupportsRangesize="false"
                      SupportsFindMode="false" SupportsUpdates="true" Definition="modelList.StockVOImpl"
                      BeanClass="model.List.StockVOImpl" xmlns="http://xmlns.oracle.com/adfm/datacontrol">
    <CreatableTypes>
      <TypeInfo FullName="model.List.StockVOImpl"/>
    </CreatableTypes>
    <Source>
      <bean-definition BeanClass="model.List.StockIVOImpl"
                       xmlns="http://xmlns.oracle.com/adfm/adapter/bean"/>
    </Source>
  </AdapterDataControl>



No comments:

Post a Comment