A URL display portlet is a portlet that accesses a
specific URL, and then displays the returned information inside the
portlet's borders, either with or without an inline frame.
After
you create a URL display portlet, you can edit the portlet by specifying
the URL. If applicable, you can also choose the inline frame option
and set the frame height.
To edit
a URL display portlet, follow these steps:
-
Identify
the type of content that you want to display and its URL, and then
determine whether the content should be displayed in an inline frame.
For more information,
see About URL Display Portlets.
-
Navigate
to the page that contains the portlet that you want to edit.
-
In the
portlet's title bar, click the Edit Contents icon
.
-
On the
Edit Portlet page, enter the following:
Enter a fully qualified
URL. Some examples of valid URL formats are as follows:
-
-
file:///c:/temp/test.html
Note: If you use
this URL format, then the referenced file must be located on the file
system of the server where the portal is running.
-
http://host.domain/reports/sales.html
-
http://host.domain/WebApp/output.jsp
Show full HTML content in an inline frame
By default, this check
box is checked, indicating that the content is displayed
in an inline frame within the portlet borders. If the URL returns
a complete HTML page (rather than an HTML fragment), then leave this
option checked.
If the URL returns
an HTML fragment, then you can clear the check box. When you don't
use an inline frame, the portlet can modify its size to accommodate
the HTML. An inline frame has a fixed size and, therefore, its contents
might need to scroll.
An HTML fragment is
an HTML file that does not contain opening and closing HTML tags,
HEAD tags, or BODY tags. The fragment can be displayed successfully
in the cell of an HTML table.
Note: Portlet content
that is not displayed in an inline frame is subject to the portal's
security policies. Therefore, URL display portlets without inline
frames are generally created under the guidance of the site administrator.
In addition, content that is not displayed in an inline frame uses
as much space as necessary and might exceed the width of the portal
column or page.
If you selected Show full HTML content in an inline frame, then you
can specify a height for the frame. The default height is 300 pixels.
(If necessary, the frame is displayed with scroll bars so that all
of the portlet contents can be viewed within the frame.)
-
When the
portlet appears, it displays the content of the URL.