Importing Legacy Portlets
A legacy portlet is any portlet developed in a platform other than
Composite Application Framework (CAF), but primarily refers to JSP-based portlets developed before the common use of JSF. You can experiment by importing legacy projects from the sample files found in
webm_CAF_Samples_821.zip. After extracting the samples file, you can find legacy portlets in the following directories:
/analysis/
/pagecomponents/
/security/
/services/directory/
You must have legacy portlet support enabled to use these samples and instructions. For more information, see
Enabling Legacy Portlet Support.
To import legacy portlets into your Composite Application Framework workspace
1. In Software AG Designer, click File > Import.
2. In Import, expand Software AG, expand Legacy Portlets, click Import Existing Component, and then click Next.
3. To populate the Existing Portlet Source Folder field, click Browse to select the location of the source files to import.
Note: | An error icon appears in the wizard header to indicate that a selected folder does not contain any legacy portlet projects. |
4. Click Next. On the Java Settings page, define the Java build settings for the project and then click Finish.
A new project for the legacy portlet is added to the Navigator and Project Explorer views. The project is not available in the Solutions view.