Difference between revisions of "Add New Library Component"

From ADF Docs
Jump to: navigation, search
(Created page with '== Add New Library Component == The following describes the steps to add a new component to the ADF library: # Add a new directory in the 'ADF/lib' directory with the new compon…')
 
Line 2: Line 2:
 
The following describes the steps to add a new component to the ADF library:
 
The following describes the steps to add a new component to the ADF library:
  
# Add a new directory in the 'ADF/lib' directory with the new components name.  (Note: Don't use spaces or any special character)
+
# Add a new directory in the 'ADF/lib' directory with the new component name.  (Note: don't use spaces or any special characters)
# Create the new CFC file with the new components name.  (Again Note: Don't use spaces or any special character)
+
# Create the new CFC file with the new components name.  (again: don't use spaces or any special characters)
# Be sure to give the file name the version number.  See [[Library_Component_Versions|ADF Library Component Versions]] wiki page for details on ADF versioning schema.
+
# Be sure to give the file name the version number.  See the [[Library_Component_Versions|ADF Library Component Versions]] wiki page for details on the ADF versioning schema.
 
# Add the property fields to component.  See [[Lib|ADF Lib]] wiki page for details on the property tags in the library components.
 
# Add the property fields to component.  See [[Lib|ADF Lib]] wiki page for details on the property tags in the library components.
 
# 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_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 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 need to 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.
  
 
== Related Guides ==
 
== Related Guides ==
 
* [[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)]]
 
* [[Add_Method_to_Library_major_version|Add method to Component in Library (new major version)]]
 
* [[Add_Method_to_Library_major_version|Add method to Component in Library (new major version)]]
 +
 +
[[Category: How-to Guide]]

Revision as of 00:11, 20 December 2009

Add New Library Component

The following describes the steps to add a new component to the ADF library:

  1. Add a new directory in the 'ADF/lib' directory with the new component name. (Note: don't use spaces or any special characters)
  2. Create the new CFC file with the new components name. (again: don't use spaces or any special characters)
  3. Be sure to give the file name the version number. See the ADF Library Component Versions wiki page for details on the ADF versioning schema.
  4. Add the property fields to component. See ADF Lib wiki page for details on the property tags in the library components.
  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 Library Components. 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 need to 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