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

From ADF Docs
Jump to: navigation, search
(Add Method to ADF Library Component (Major Version))
 
(One intermediate revision by the same user not shown)
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.
  
Line 17: Line 17:
 
* [[Add_Method_to_Library_minor_version|Add method to Component in Library (new minor version)]]
 
* [[Add_Method_to_Library_minor_version|Add method to Component in Library (new minor version)]]
 
* [[Installation|ADF Installation]]
 
* [[Installation|ADF Installation]]
* [[Create_New_App|Create New ADF Application]]
+
* [[ADF Applications|Create New ADF Application]]
  
 
[[Category: How-to Guide]]
 
[[Category: How-to Guide]]

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