Difference between revisions of "Add Method to Library (major/minor version)"

From ADF Docs
Jump to: navigation, search
 
Line 11: Line 11:
 
# [[Reset_ADF|Reset the ADF]] for the server and site.  
 
# [[Reset_ADF|Reset the ADF]] for the server and site.  
 
# The new bean is now available in the object factory as the component file name.   
 
# The new bean is now available in the object factory as the component file name.   
# To make this new library component available to a site, you will make changes in the [[Site Level ADF Component#ADF_Library_Components|Site Level ADF Component - ADF Library Components]].  Update the application scope variable to use the new ADF library bean.   
+
# To make this new library component available to a site, you will make changes in the [[Site Configuration (ADF.cfc)]].  Update the application scope variable to use the new ADF library bean.   
 
# To make this new library component available to an application, you will make changes in the [[App_Bean_Config|App Bean Config]] file.  Update the ADF library components commands for ''addConstructorDependency'' to use the new ADF library bean.
 
# To make this new library component available to an application, you will make changes in the [[App_Bean_Config|App Bean Config]] file.  Update the ADF library components commands for ''addConstructorDependency'' to use the new ADF library bean.
  

Latest revision as of 04:37, 15 April 2010

Add Method to ADF Library Component (Major Version)

See the ADF Library Component Versions wiki page for details on ADF versioning schema.

The following describes the steps to add a major version to an ADF library component:

  1. Locate the ADF library component that you want to modify.
  2. Copy the CFC file within the same library component directory.
  3. Rename the file to increment the major version that you are updating. (Ex., if you are updating the CEData_1_0 component, then the new component will be CEData_2_0.)
  4. Update the component version property with the correct version number. See ADF Library Component Versions wiki page for details on ADF versioning schema.
  5. Update the component methods as needed.
  6. Reset the ADF for the server and site.
  7. The new bean is now available in the object factory as the component file name.
  8. To make this new library component available to a site, you will make changes in the Site Configuration (ADF.cfc). Update the application scope variable to use the new ADF library bean.
  9. To make this new library component available to an application, you will make changes in the App Bean Config file. Update the ADF library components commands for addConstructorDependency to use the new ADF library bean.

Related Guides