JBoss.orgCommunity Documentation
To administrate category, portlet and gadget, you first need to go to Application Registry by selectingGroup, thenAdministration, and Application Registry on the Toolbar. The form to organize portlets/gadgets into different categories will be displayed as below

Details:
Tab bar
consists of three items, including Categories
, Portlet, Gadget.
Action bar
consists of some actions related to a category.
Left pane
lists all categories and portlets of each category.
Breadcrumb bar
is the path from a specific category to a specific portlet in that category.
Right pane
provides detailed information of a specific portlet.
Click
on the action bar to open the form to add a new category.
Details:
In theCategory Settingtab:
The category's name that you want to add. This field is required and its length must be between 3 and 30 characters.
The display name of the category and its length must be between 3 and 30 characters.
A brief description of the category. Any length from 0 to 255 characters is allowed.
Enter values in the Category Setting tab.
Set access permission for your category. Accordingly, another users can only view and use portlets in your category to which they have access.

For more details about how to set access permission, refer toSection 4.7, “Manage Permissions”.
Click Save to accept adding a new category to the categories list. Your newly created category will be added to the list in the left pane.
Click the Edit icon located next to the title bar.
Update the category information.
Click the Save button to apply changes.
Click the Trash can icon located next to the title bar.
Click OK to accept deleting in the confirmation message.
This function helps you add portlets to a specific category easily as follows:
Click the
icon located next to the category name to which you want to add portlets/gadgets.

The display name of a portlet/gadget.
Either Portlet or Gadget.
Enter the display name and select an application type.
Select a portlet/gadget by checking the radio button.
Click the Save button to add the selected portlet/gadget to the category.
The selected portlet/gadget will be added to the category in the left pane.
This feature enables you to import default portlets and gadgets into different categories as follows:
The Application Registry looks in all webapps of your application server for a file located at WEB-INF/portlet.xml and registers the portlets found there. When the user clicks on "Auto Import" the portlets of all webapps are imported. If there is a portlet.xml file in a webapp a new category is created whose name is the webapp war name (or the webapp folder name). All the portlets that are configured in the portlet.xml file are added to the new category.
Click
at the right corner on the action bar.
Click OK to accept importing portlets and gadgets automatically in the confirmation window.
All portlets and gadgets of all categories will be imported and listed on the left pane.
To view detailed information of portlet/gadget, simply select one portlet/gadget in the left pane. The detailed information of that portlet will be shown on the right pane.

All portlets and gadgets grouped by categories
shows detail information about a portlet: Name, Display name, Description and Portlet preferences.
To edit a portlet, click
on the top corner of right pane. The form to edit will appear:

Make changes in fields, except Application Name.
You can change the number of columns available in the Dashboard Portlet.
Click Site Editor, then select Edit Page
Click Edit Portlet button (which is displayed a pencil icon when you mouse-over the portlet in edit mode). It will show a dialog to change the number of columns to display gadgets.

Change the number of columns and click the Save button to accept the changes.
In the Group menu, select Administration and then Application Registry.

Select a category in the Category pane that includes the portlet you want to set permissions on. All portlets of that category will be listed underneath.
To set permission for a portlet:
Click the Add Permission button to add access permissions to more groups.

Or check Make it public to allow everyone to access.
Whenever the user creates or modifies a page, he or she can only see and use gadgets/portlets that fulfill two conditions: the portlet is in a category which the user has access permission too and the user has access permission on the portlet
This section tells you how to access the edit mode of a portlet and edit it.
Create or edit a page as stated in Section 4.1.3, Edit a portal. In this step, there will be a container that contains and arranges portlets as contents of that page. You can add a portlet to that page by dragging it from the left pane and dropping it into this container space.
Open the form to edit a portlet by clicking
at the upper left corner of that portlet:

Enter new values that you want to edit in this form, then click Save to save new values:

Normally, a portlet has four tabs: Window Setting, Select Icon, Decoration Themes and Access Permission. In addition, some portlets may also have Edit Mode or Preferences. The administrator can change the interface of a portlet by changing values in the Edit Mode tab or in the Preferences Tab.
The Portlet Setting tab includes:
The display name of portlet.
The window title with the length between 3 and 60 characters..
The portlet's vertical size. The value of this field must be in numeric format.
The portlet's horizontal size. The value of this field must be in numeric format.
The option enables the information bar to be shown or hidden.
The option enables the portlet mode to be shown or hidden.
The option enables the portlet's window state to be shown or not.
The brief information about the portlet. The length must be between 0 and 255 characters.
If Show Info Bar is not checked, portlet mode and window state will not be displayed in that portlet.
The Select Icon tab enables you to select an icon for the portlet. By clicking Get Default, you do not have to choose any icon from the list, the suitable icon will be gotten automatically.
The Decoration Themes tab enables you to select a theme for the portlet from the themes list. By clicking Get Default, you do not have to choose any theme, it will be automatically set.
The Access Permission tab enables you to set the access permission on the portlet. The portlet can be made public to everyone or restricted to specific groups. See more details at Section 4.7, “Manage Permissions”.
Some portlets have Edit Mode and Preferences tabs.
The Mode tab where administrator can define the interface details.
In the Group menu, select Administration then Application Registry. Click the Gadget icon.

You may add a remote gadget using its URL or create a brand-new one:
Procedure 5.1. Add a remote Gadget
Click Add a remote gadget:

Enter the URL of the remote gadget in the URL field.

Click Add. The new remote gadget will be appear in gadget list on left pane of the Dashboard portlet.
Procedure 5.2. Create a new Gadget
Click Create a new gadget:

Populate the
Source
field with the XML code of the new gadget.
You can edit or refresh a gadget using the icons in the top right of the Gadget Details pane.
You can delete a local gadget using the trashcan icon to the right of the appropriate gadget in the gadget list.

See Section 3.3.3, “Add Gadgets” for instructions on how to add new gadgets to the dashboard.