WPS:Adicionando paginas html ao Portal

Adding HTML files to the portal

Você pode adicionar páginas HTML estáticas ao portal através do FileServer Portlet.

Veja os passos a seguir:

1) Go to the Administration page.

2) Select Portlet Management from the list on the left.

3) Select Portlets from the options under Portal Management.

4) Find the FileServer portlet. You may do this by browsing the list of available portlets, or by using the Search feature, with "Title starts with" set to "FileServer".

5) Select the Configure option for the FileServer portlet.

6) On the configuration page, you will see a section entitled Parameters and Values. You may add your chosen URL to this list by entering "url" in the New parameter box and your URL in the New value box. Note: if the "url" parameter is already in this list, you may remove it by using "Delete parameter."

7) If you wish to change the title of the portlet (the default is "FileServer"), select I want to set titles and descriptions. On the following page, select Edit next to the language-specific title you wish to modify, make your changes, then select OK.

8) Select OK to save your changes.

9) In order to place the portlet on a page:

a) return to My Portal;

b) select the page where you wish to deploy this portlet;

c) select Edit Page (under Administration);

d) select Add Portlet under the column where you wish to see the file server portlet added;

e) select the portlet from the given list; and

f) select OK.

Note: Your HTML content can be local (relative path) or remote (absolute path). To use the relative path, you must place your HTML file in the WAR file directory associated with the portlet (for example, FileServer.WAR/FileServerPortlet/html/test.html). You will find the portlet's directory under wp_root/installedApps. The path for the example above would be "/FileServerPortlet/html/test.html".

Note: The "url" configuration parameter is applied globally to the file server portlet wherever it is placed in the portal (on any page). If you wish to invoke more than one file server portlet on a single page (in order to display the content of more than one static HTML file), you must first copy or clone the portlet using Administration > Portlet Management > Portlets. There you may select the portlet from the given list and select the Copy icon.

Link:

http://publib.boulder.ibm.com/infocenter/wpdoc/v510/topic/com.ibm.wp.zos.doc/wps/cnt_tmpl_file.html

= Ver também =


 * Mais Artigos sobre WebSphere Portal Server
 * Mais Artigos sobre WebSphere Application Server