Present a web page in a portlet.
The web page will be loaded by the Jetspeed server, not the user's web browser, and maintained by the cache subsystem. Since Jetspeed is loading the page, no information from the user's browser, like cookies, will be provided to the web server.
The WebPagePortlet will convert, or delete, some of the HTML tags so the resulting page can be presented in a portlet.
Parameter that control the how the web page is converted into a portlet.
This element is optional.
Parameters common to many portlets.
| Parameter Name | Description | ||||||
|---|---|---|---|---|---|---|---|
| dont_remove_applet | <APPLET> tag. Used to include a Java Applet. The space allocate on the web page for the applet will be available for other HTML tags, thus the appearance of the resulting page will be different. | ||||||
If not present, "no" is the default value
|
|||||||
| dont_remove_head | <HEAD> tag. | ||||||
If not present, "no" is the default value
|
|||||||
| dont_remove_meta | <META> tag. | ||||||
If not present, "no" is the default value
|
|||||||
| dont_remove_noscript | <NOSCRIPT> tag. | ||||||
If not present, "no" is the default value
|
|||||||
| dont_remove_onsomething | <Retain onBlur, onChange, ... attributes> in tag. | ||||||
If not present, "no" is the default value
|
|||||||
| dont_remove_object | <OBJECT> tag. | ||||||
If not present, "no" is the default value
|
|||||||
| dont_remove_script | <SCRIPT> tag. | ||||||
If not present, "no" is the default value
|
|||||||
| dont_remove_style | <STYLE> tag. | ||||||
If not present, "no" is the default value
|
|||||||
| open_in_popup | Open links in a new window | ||||||
If not present, "no" is the default value
|
|||||||
| username | Username for HTTP Basic Authentication | ||||||
| If not present, then basic HTTP authentication is not used. | |||||||
| password | Password for HTTP Basic Authentication | ||||||
| If not present, then basic HTTP authentication is not used. |
Contains the URL of the web page to be displayed.
This element is required.
General information about of URL.
Good URLs:
Bad URLs:
The example will place the results of a Yahoo search on "jetspeed" in a portlet.
From <jetspeed_home>/WEB-INF/conf/local-portlets.xreg
The following is from the util/HTMLRewriter.java