Difference between revisions of "PT Portlet ADF Configuration"

From ADF Docs
Jump to: navigation, search
(Overview)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
The Portlet Application is built within the [[Overview|ADF]].  The ADF must be configured for the site to install the Portlet App within the site.
+
The Portlet Application is built within the ADF.  The ADF must be installed in the site to run the Portlet Application, follow the [[Installation|ADF Installation]] instructions.
 
 
Further details can be found at the [[Site Level ADF Component]] wiki page.
 
  
 
== Steps ==
 
== Steps ==
* Locate the following files in the 'ADF/core/site-samples' directory:
+
* Open the sites 'ADF.cfc' ([[Site Configuration (ADF.cfc) | See Site Configuration (ADF.cfc) for more details]]) file (/_cs_apps/ADF.cfc) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:
** custom-application.cfm
+
<source lang="java">
** ADF.cfc
+
loadApp("ptPortlet");
* Copy the 'custom-application.cfm' file into the root of your site.  If your site already has a custom-application.cfm file, open this new file and copy the contents into your existing file.
+
</source>
* Copy the 'ADF.cfc' file into the '_cs_apps' directory of your site.
+
* [[Reset ADF|Reset the ADF]] for the server and site.
* Open the 'ADF.cfc' file for your site in a text editor. Locate the 'Load the ADF Application into application space' comment in the file. Add (or uncomment) the following command under the comment section:
 
  loadApp("ptPortlet");
 
* Reset the ADF for the site by adding the following URL parameter to any page within the site.  (If the site is completely new, you may have to create an index.cfm page first.)
 
  ?ResetSiteADF=1
 
  
 
[[Category:Portlet]]
 
[[Category:Portlet]]

Revision as of 04:48, 15 April 2010

Overview

The Portlet Application is built within the ADF. The ADF must be installed in the site to run the Portlet Application, follow the ADF Installation instructions.

Steps

  • Open the sites 'ADF.cfc' ( See Site Configuration (ADF.cfc) for more details) file (/_cs_apps/ADF.cfc) in a text editor. Locate the Load the ADF Application into application space comment in the file. Add (or uncomment) the following command under the comment section:
loadApp("ptPortlet");