JBoss.orgCommunity Documentation

Chapter 7. Gadgets Administration

7.1. Manage Gadgets in User Workspace
7.1.1. Add a Gadget
7.1.2. Edit a Gadget
7.1.3. Remove a Gadget
7.2. Import Portlets and Gadgets
7.3. Manage Portlets and Gadgets
7.3.1. Introduction
7.3.2. Add a new Category
7.3.3. Edit a Category
7.3.4. Delete a Category
7.3.5. Add Portlets/Gadgets to the specific Category
7.3.6. Set Access Permission on Portlets
7.3.7. View detail information of the specific Portlets
7.3.8. Add a Gadget
7.3.9. Add a remote Gadget
7.3.10. Create a new Gadget
7.3.11. Add a new Gadget to the Dashboard Portlet
7.3.12. Manage Gadgets

To add a gadget, you can follow these steps:

1. Open the User Workspace on your left pane.

2. Click the tool!images/Tool.png! icon to add a new category

The Gadget Containers Management dialog appears:

Click the add icon !images/AddIcon.png! to show the Gadget Container Form .

Name Description
Label The display name of the category. This field is required and must have at least 3 characters.
Description The brief description of the category.A length from 0 to 255 characters is allowed. This field is not required.

Enter values for fields in the Gadget Container Form .

Click on the Save button to accept adding a new category or click Cancel to quit. After you added the new category you will see it in the dialog :

Edit the information of an existing category by selecting it from the left pane, the selected category is marked by a symbol. Then click the edit icon to show the edit form. Change the current category information and click on the button to accept changes.

Delete an existing category by selecting it from the left pane. In the message box Click on the OK button to confirm the deletion or click the Cancel button.

3. Click on the Save button in the Gadget Containers Management dialog to accept or on the Cancel button to quit. Added categories will be displayed in list in the User Workspace.

4. Click the list icon!images/ListIcon.png! to see category list and select one in list.

5. Click the add icon!images/AddIcon1.png! at the bottom of the User Workspace to open the Add Application dialog:

6. Select a gadget by clicking the add icon !images/PlusIcon.png! that is located next to the the gadget. The selected gadget is displayed immediately in the user workspace. Normally, you can see only two gadgets in the User Workspace. When there are more gadgets, some gadgets are not visible.

7. Click the scroll down icon !images/DownIcon.png!images/ or the scroll up icon!images/ UpIcon.png! at the bottom of the User Workspace to see the other gadgets. If there are no more gadgets to scroll to, the color of the scroll down and scroll up icon switches to gray color.

To edit a gadget, click !images/EditIcon.png! icon.

Remove a gadget from the User Workspace by using the functional bar!images/FunctionBar.png! at the upper right corner of that gadget.

Click the remove icon !images/RemoveIcon.png! . When the confirmation message appears, click the OK button to accept or the Cancel to quit.

This convenient feature that helps you import default portlets/gadgets automatically in different categories and these portlets/gadgets will be listed on the left pane.

1. Go to Administration-> Application Registry page-> Organize item on the navigation bar. A form for organizing portlets/gadgets will be displayed:

2. Click the Auto Import button!images/Auto1.png! at upper right corner on the action bar. A pop up will be shown:

2. Click the OK button to accept importing gadgets automatically. All portlets/gadgets categories will be imported and listed on the left pane.

You easily add a new category by following these guides:

Go to Administration -> Application Registry page -> Organize item.

1. Open a form to add a new category on the right pane by clicking the Add Category button on the action bar:

The Category Setting tab: includes common information about a category.

Name Description
Category name The name of the category which you want to add. This field is required and its length must be between 3 and 30 characters.
Display name The display name of the category in list and its length must be between 3 and 30 characters.
Description A brief description of the category. Any length from 0 to 255 characters is allowed.

The Permission Setting tab: used to set the access permission for a category.


2. Enter values for required fields in this form.

3. Click the Save button to accept adding a new category into a category list. The new category will be added into a list on the left pane.