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

From ADF Docs
Jump to: navigation, search
(Created page with '== Add Method to ADF Library Component (Major Version) == See ADF Library Component Versions wiki page for details on ADF versioning schema. The f…')
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Add Method to ADF Library Component (Major Version) ==
 
== Add Method to ADF Library Component (Major Version) ==
See [[Library_Component_Versions|ADF Library Component Versions]] wiki page for details on ADF versioning schema.
+
See the [[Library_Component_Versions|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:
 
The following describes the steps to add a major version to an ADF library component:
  
 
# Locate the ADF library component that you want to modify.   
 
# Locate the ADF library component that you want to modify.   
# Copy/paste the CFC file within the same library component directory.
+
# Copy the CFC file within the same library component directory.
 
# 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''.)
 
# 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''.)
 
# Update the component ''version'' property with the correct version number.  See [[Library_Component_Versions|ADF Library Component Versions]] wiki page for details on ADF versioning schema.
 
# Update the component ''version'' property with the correct version number.  See [[Library_Component_Versions|ADF Library Component Versions]] wiki page for details on ADF versioning schema.
 
# Update the component methods as needed.  
 
# Update the component methods as needed.  
# Reset the ADF for the server and site.  See the [[Reset_ADF|Reset ADF]] wiki page for more details.
+
# [[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_Configuration#ADF_Library_Components|Site Configuration - 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]]

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