JBoss.orgCommunity Documentation

GateIn Documentation

GateIn

This is a very rough documentation issued from the merge, content still has to be validated, we still hope that it can help the beta testers. Thanks !


1. Introduction
1.1. Related Links
2. Terms GateIn 3.0
2.1. Portal
2.2. Portlet
2.3. Toolbar
2.4. Navigation
2.5. Gadgets
2.6. Modes
2.7. Permissions
3. Portlets
3.1. Functional Portlets
3.2. Interface Portlets
3.3. Dashboard Portlet
3.3.1. Using the Dashboard Workspace
3.3.2. Add Gadgets
4. Accounts
4.1. Register New Accounts
4.2. Sign In and Sign Out
4.3. Remember User Account
4.4. Change Account Settings
4.5. Account and Password Retrieval
5. Portal Administration
5.1. Toolbar
5.1.1. User Actions in the Toolbar
5.1.2. Administration Actions in the Toolbar
5.2. User management
5.2.1. Manage users
5.2.2. Search a user
5.2.3. Edit a user
5.2.4. Delete a user
5.2.5. Manage groups
5.2.6. Add a New Group
5.2.7. Edit a group
5.2.8. Add a new user to a group
5.2.9. Edit the user membership in a group
5.2.10. Delete a group
5.2.11. Manage memberships
5.2.12. Add a new membership type
5.2.13. Edit a membership type
5.2.14. Delete a membership type
5.3. Manage Permissions
5.3.1. Set the Access permission on a portal
5.3.2. Set the Edit Permission on a Portal
5.3.3. Initialize a Permission on a Page
5.3.4. Set the Access Permission on a Page
5.3.5. Set the Edit Permission on a Page
5.3.6. Set the Access Permission on a Category
5.3.7. Set the Access Permission on a Portlet
5.4. Change Portal Skins
5.5. Manage Navigation Nodes
5.5.1. Add a new node
5.5.2. Edit a node
5.5.3. Copy a node
5.5.4. Clone nodes
5.5.5. Cut a node
5.5.6. Delete a node
5.6. Change Node Order
5.7. Manage Pages
5.7.1. Add a new Page in the Page List
5.7.2. Edit a Page
5.7.3. View a Page
5.7.4. Delete a Page
5.8. Page Creation Wizard
5.9. Drag and Drop the Page Body
5.10. Create a New Portal
5.11. Manage Portals
5.11.1. Edit a Portal
5.11.2. Delete a Portal
5.12. Switching between Portals
6. Language administration
6.1. Change Interface Language
6.1.1. Method One
6.1.2. Method Two
6.1.3. Method Three
6.1.4. Set language for a user
6.2. Right To Left Support
6.3. Multi-Language Navigation Nodes
6.3.1. Key Format
6.3.2. Creating Keys
6.3.3. Creating Keys using the Create Page Wizard
6.3.4. Creating/Editing Keys by Edit Page Wizard
6.3.5. Creating/Editing Keys using the Edit Page and Navigation
6.3.6. Providing translation
7. Portlets and Gadgets Administration
7.1. Import Portlets and Gadgets
7.2. Manage Portlets and Gadgets
7.2.1. Display Gadgets
7.2.2. Add a new Category
7.2.3. Edit a Category
7.2.4. Delete a Category
7.2.5. Add Portlets/Gadgets to the specific Category
7.2.6. Set Access Permission on Portlets
7.2.7. View detail information of the specific Portlets
7.2.8. Add a Gadget
7.2.9. Add a new Gadget to the Dashboard Portlet
7.2.10. Manage Gadgets

GateIn 3.0 is a merge of two mature projects; JBoss Portal and eXo Portal. It takes the best of both offerings and incorporates them into a single new project. The aim is to provide an intuitive portal for as-is use and a framework to build upon depending on your needs.

This book explains various apsects of GateIn 3.0, such as managing users and access permissions, using portlets and changing simple interface features such as skins, langauage and page orientation.

Refer to the GateIn 3.0 Installation Guide for information on downloading and installing the product or see the GateIn 3.0 Reference Guide for information on more advances topics.

This bar contains all user and administration actions. It helps users and the administrator access and perform actions easily, quickly and effectively. You can see the toolbar below as it appears in the Portal:

In this image you can see the three Navigations referred to in Section 2.4, “Navigation” as well as the main Menu button (on the far left of the toolbar) and the name of the current user (on the far right).

In this example the current user is the site administrator, hence the extra "Site Editor" menu.

Portal navigations are menus that list hyperlinks to other parts of a Portal. They can help users to visualize the structure of a site. The default navigation menus in GateIn 3.0 are located in a bar across the top of the 'Home' page.

There are three navigation types.

When logged in as an Administrator, a fourth navigation appears in the Toolbar:

Permission settings control what users can and cannot do within the portal and are set by portal administrators.

Permission types dictate what a user can do within the portal. There are two permission types used in GateIn 3.0:

Permission levels dictate where in the portal the user's permission type applies. There are three permission levels:

Permission types and levels can be used to effectively control who can do what within the portal. For more information on setting permissions refer to Section 5.3, “Manage Permissions”

The Interface Portlets are the face of the Portal. They provide the means for users to interact with the portal. GateIn 3.0 consists of the following Interface Portlets:

Banner Portlet

This Portlet is considered the welcome gateway of a Portal. It contains the organization's slogan, logo, and icons etc.

HomePage Portlet

This Portlet is used to provide the home page for a portal. The home page is the first page displayed when you visit the site.

Navigation Portlet

This Portlet provides a navigation bar. A is a menu that helps users to visualize the structure of a site and provide links to quickly move from page to page.

Sitemap Portlet

This Portlet is used to provide a site map page of a web site. It lists pages on a website, typically organized in hierarchical fashion.

Breadcumbs Portlet

This Portlet displays the 'path' the user has taken from the home page to arrive at the currrent page.

Dashboard Portlet

This portlet is used for hosting mini-applications known as gadgets. The dashboard uses a variety of graphical effects for displaying, opening, and using gadgets.

Refer to Section 3.3, “Dashboard Portlet” or Chapter 7, Portlets and Gadgets Administration for more information.

Iframe Portlet

This Portlet is used to create inline frames (IFrame) elements for a site. An Iframe is a HTML element which can embed another document into a parent HTML document. By using IFrames, embedded data is displayed inside a sub-window of browser.

Gadget Wrapper Portlet

This Portlet allows users to view a gadget in canvas mode.

Footer Portlet

This Portlet provides the footer for a site. This footer provides information or links about the site's author/institutional sponsor, the date of the last revision made to the site, copyright information, comments form and navigational links.

The Dashboard portlet is used for hosting mini applications known as gadgets. The Dashboard uses a variety of graphical effects for displaying, opening and using gadgets. Gadgets can be moved, rearranged, created and deleted. More than one instance of the same gadget can be opened at the same time and each instance of the same gadget can have different settings. The gadgets instances are as independent as different portlets instances.

To add more gadgets from external sources:

  1. Obtain the URL (.xml or .rss) of the gadget you wish to add from the gadget source.

    For example; the gadgets available at Google Gadget provide a link to View source. Clicking on this will open a page showing the gadget's XML source. Use the URL of this page in the Dashboard Workspace. The URL should end in .xml

    URL Types

    Remote gadgets can be only created using an .xml link or RSS URL. However, if you use a link that generates an RSS feed (for example: http://feeds.feedburner.com/gatein), a new RSS reader gadget will be created automatically.

  2. Return to your portal and click the Dashboard link in the toolbar.

  3. Click on Add Gadgets in the Dashboard to open the Dashboard Workspace.

  4. The Dashboard Workspace dialog appears:

  5. Paste the URL obtained in step 1 into the text box above the gadget list.

  6. Click on the plus icon to add the new gadget to the page.

Users who visit the Portal and who are not registered are limited in the content they can see. Users who need access to deeper content or who need to undertake actions within the prtal should register themselves and then contact the portal administrator to have appropriate permissions added to their account.

Users can quickly and easily register a new account for themselves. Complete the steps below:

After adding a new account, you should contact the administrator to get appropriate permissions added to your account.

After registering your account, you can sign in to GateIn 3.0 to go into private mode.

To sign in to a portal, users must complete the Sign in form. This form contains the following elements:

If the user name does not exist or the user name and/or password is invalid an alert message will appear. To attempt the login again; click the OK button on the alert message to be returned to the Sign In form. Enter the user name and password again.

After signing in, you will be redirected to the homepage and welcomed with your full name in the top right corner of the page.

To assist Administrators to manage a number of registered users GateIn 3.0 offers a number of tools to manage users, groups and memberships easily and effectively.

  1. Select the path to the group you want to edit by selecting the groups from the list on the left pane. The Group's information is displayed including the user list and a form which allows the addition of a new user.

  2. Enter the username of the new user of the selected group.

    If you are unsure of the exact username of the user you wish to add to the group, you can use the search function to locate them.

    Refer to Section 5.2.2, “Search a user” for instructions on how to locate a user.

    After you have found the required username, click the Add button and the complete username will populate the Add member form.

  3. Select the membership for the user in a group from memberships list. The refresh icon can be used to update the memberships list if there are any changes to incorporate.

  4. Click the Save button to accept adding the selected user to a specific group with the selected membership type.

Permissions play an important part in accessing and performing actions in the Portal. Depending on permissions assigned by an administrator, users can either access or edit portals, pages and portlets. GateIn 3.0 has several permission levels:

Details about permission types and levels can be found in Section 2.7, “Permissions”

With enough privileges you can take all actions related to a node such as : add a new node, edit, copy, cut, delete and clone node.

  1. Click on Site then click on Edit Navigation of the portal you want to modify.

  2. Select a node from list (to create a new node like sub-node of the selected node) or click the Up icon to create a new node at the root level of the portal.

  3. Right-click on the selected navigation or node and select Add new Node option. The Add new node form appears:

    The Page Node Setting tab includes:

    In the Page Selector tab, you can select a page or not for this node.

    You do not have to input values in these fields. It is automatically displayed after selecting an existing page by clicking the Search and Select Page button. The Select a page form appears:

    This window lists of all existing pages is displayed with basic information. You can follow these guides to select a page for creating a node:

    Select a page from list or search a specific page :

    After configuring the page node settings, the page selector and the node's icon, click the Save button to accept or the Cancel button to quit without creating a new node.

GateIn 3.0 users can quickly add, edit, delete and view pages effectively in a comprehensive list. Follow the guide below to manage portal pages:

You easily add a new page by following these simple steps:

  1. Go to Group ->Administration -> Page Management.

  2. Click on Add New Page

  3. Enter values for fields in the Page Setting tab

  4. Enter values for fields in the Permission Setting tab

  5. Click the Save button to accept creating a new page or the Cancel button to quit the form.

  1. Go to Group in the Toolbar. Highlight Administration and then click on Page Management.

  2. Click the edit icon on the row of page you want to edit in the existing pages list.

    Click the edit icon to show a form to edit page properties.

  3. The properties presented in the Page Properties window are the same as those outlined in Section 5.7.1, “Add a new Page in the Page List”.

    Permission Setting

    This form is supported for pages with group or portal ownershuip types. Because a user's page is private, no user, other than the creator, can access or edit it.

    Permission on each page is set in two levels: Access right and Edit right.

    Access right

    The page Access right can be set to specific user groups or set to everyone (this includes unregistered users). Current access permissions on page are listed and you can remove permissions (by clicking the delete icon) or add further permission (by click the Add Permission button). Populating the Make it public check box will allow all users (registered or unregistered) to access the page.

    Edit right

    The Edit right allows users to change information on a page. Edit right only is set for a group of users. Edit right can be set for one specific membership type within a particular group (* allows every membership type in a group). If you want to re-assign this right to another group, click Select Permission to choose another one.

  4. Editing page container layout

    Click the Show Container icon to show current container layout of selected page on your right and all the container layouts list on the left pane.

    If you want to change the current layout, select a layout type from the list on the left pane, then drag the template you want into the right pane. The new container will be displayed on the right pane. You can change the position of the current container by dragging it to another place on the right pane or remove it completely by clicking the delete icon in the right corner.

  5. Editing page portlet layout

    Click the Show Portlet icon to show current portlet layout of page.

    If you want to change the current layout, select a layout type from the list on the left pane, then drag it into the right pane. The new portlet will be added and displayed in the right pane. You can change the position of the current portlet by dragging it to the place you want on the right pane, or remove it completely by clicking the delete icon.

A page creation wizard is included in GateIn 3.0 to help administrators to create and publish a page quickly and easily.

  1. Go to Site Editorand click on Add New Page. Yhe Page Creation Wizard will appear.

  2. The wizard includes two parts: the left pane contains a list of navigations and shows the page list and the right pane displays the main information of the page selected in this list.

  3. In the left pane, select the navigation that you want to create a new page for. Clicking a navigation displays the pages already existing for that navigation.

  4. Select a page from the list or click on arrow up icon to add a page at root.

  5. Click Next or number '2' of the wizard steps to go to step 2.

  6. Select Empty Layout or click the icon to see more templates to select.

  7. Click the Next button or number '3' of the wizard step to go to step 3. You can drag portlets from the popup panel into the main pane to create the content of this page.

  8. Click the Show Container icon if you want to see the existing containers and re-select the layout of the page. You can click on the Switch icon to view the content of this page.

  9. Click Save to accept creating a new page, the Back button to return the previous step or the Abort button to quit without creating a new page.

Portals can easily be managed by editing or deleting.

GateIn 3.0 allows users to choose their interface language to work with.

The priority of the interface language setting is:

Users should pay attention to this order to change the language type appropriately.

You can change the interface language permanently in three ways :

GateIn 3.0 supports a multi-language environment for your portal allowing you to internationalize any menu entry on the navigation.

As the navigation bar is composed of nodes, you have to modify the display names of the nodes to enable this. Instead of entering the display name of the node in a defined language (English, for example) you have to use a language-neutral 'resource key'.

This resource key is then used to define the label that is shown for that node on the navigation bar, the menu and the breadcrumb.

Portlets and gadgets are organized in different categories. Each category contains one or several portlets or gadgets. You can also mix portlets and gadgets into one category. By default all gadgets are placed in the Gadgets category.