Creating a WebFacing portlet project

Note: WebFacing Portal support is an optional installation and has its own prerequisites. See Installing HATS for more information.

To create a WebFacing portlet project:

  1. Click File > New > Project.
  2. Expand WebFacing in the Wizards pane, select WebFacing Portlet Project, and then click Next to open the WebFacing Portlet Project wizard.
  3. In the WebFacing Portlet Project wizard:
    1. Enter a name for your project in the Project name field.
    2. In the Project location field, when Use default location is selected, the project is created in the file system location where your workspace resides. To change the default file system location, clear the check box and locate the path using the Browse button.
    3. Select a portal server in the Target runtime combo box. Click New Runtime to define a new server.
    4. Ensure that the Add project to an EAR check box is selected. A default name for the EAR project will be provided. You can change the EAR project name or keep the default.
    5. Ensure that the Create a portlet box is selected. You can change the portlet name or keep the default.
    6. Notice Configuration: IBM ibmportlet.webfacing is displayed. This indicates that IBM® Portlet is the portlet API and that the portlet type is WebFacing.
    7. Be sure Web 2.0 Features: No Web 2.0 feature currently enabled is displayed. Do not click Modify to enable any Web 2.0 features.
    8. Optional. If necessary you can click Manage Features to change the facets that should be enabled for your project.

To add WebFacing support to an existing Struts IBM portlet project:

  1. Right click on the Struts IBM portlet project and select Properties. The Properties dialog for the project opens.
  2. Select the Project Facets node.
  3. Select the WebFacing portlet facet and any dependencies, such as Struts for IBM portlets 6.0. If you want to add WebFacing support without converting, click OK. If you want to select display file and UIM help source members to convert, click Further configuration available.
    • Click Next. The next few screens allow you to select display file and UIM help source members to convert. If you want to create the WebFacing portlet project without converting, click Finish to create the project.

Feedback