This feature applies to the Mainsoft for Java EE Portal Edition
only.
The Portlet Designer allows you to add new portlets
to your application, to edit user attributes for your portal applications,
and to view and change the configuration of your portal application portlets.
To open the Portlet Designer, double-click the portlet.xml file,
located under your project's WEB-INF folder.
Tasks
- Add Portlet...
Click to add a new portlet to your application. New resource files will
be created for the new portlet.
- Edit User Attributes...
Click to select the user attributes you wish to use in your portal application.
Portlet configuration
The following properties may be configured for each of the application's
portlets:
- Appearance
- [Name]
Sets or displays the portlet name.
- Description
Sets or displays a description string for the portlet.
- Display Name
Sets or displays the display name of the portlet.
- Short Title
Sets or displays the portlet short title.
- Title
Sets or displays the portlet title.
- Behavior
- Portlet Modes
Displays a list of the supported modes for the portlet. The portlet
mode indicates the function that the portlet is performing. To define additional
portlet modes and to link a portlet mode with an ASPX page, click the browse
button. For more information, refer to Select Portlet Modes Dialog Box.
- Preferences
Displays a key-value list of the portlet's preferences. Click
the browse button to add or remove preferences.
- Localization
- Resource Bundle
Sets or displays the prefix for the resource bundle file names.
- Supported Locales
Displays a list of the supported locales. Click the browse button to
add or remove locales.
- Advanced
- Initialization Parameters
Displays a key-value list of the portlet's initialization parameters.
Click the browse button to add or remove initial parameters.
- Session Scope
When set to Application, the .NET session is
shared by all the application's portlets. When set to Portlet,
the .NET session is per portlet.
- Use Namespace
When set to True, a namespace is added to the
portlet's control IDs to make them unique inside the portal. When set
to False, a namespace will not be added.
See Also
Portlet configuration