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:
- Click .
- Expand WebFacing in the Wizards pane, select WebFacing
Portlet Project, and then click Next to
open the WebFacing Portlet Project wizard.
- In the WebFacing Portlet Project wizard:
- Enter a name for your project in the Project
name field.
- 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.
- Select a portal server in the Target runtime combo
box. Click New Runtime to
define a new server.
- 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.
- Ensure that the Create
a portlet box is selected. You can change the portlet
name or keep the default.
- Notice Configuration: IBM ibmportlet.webfacing is
displayed. This indicates that IBM® Portlet
is the portlet API and that the portlet type is WebFacing.
- 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.
- 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:
- Right click on the Struts IBM portlet
project and select Properties. The Properties
dialog for the project opens.
- Select the Project Facets node.
- 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.