Essentials Overview Features License Installation FAQ Sample Sites Resources Todo Changes Download Binaries Source Code Supporting Projects Community Portlets Documentation Configuration Guide Javadocs Development Jetspeed Tutorial Portlet Catalog Components Registry Security Syndication WAP Customization Cache PSML Forwards Translated Japanese (Web) Get Involved Contributors CVS Repository View CVS CVS Branches Coding Spec Bug Database |
HTML Class Name : org.apache.jetspeed.portal.portlets.FileServerPortlet
Description
> Present HTML in a portlet. Why use a HTML portlet instead of a WebPagePortlet? HTML is a static Not a complete HTML document, i.e. <HEAD> is not in file HTML file does not have to be visible to the Web Server Specific task can not be achieved with WebPagePortlet Desired portlet is just an image, like JPEG or SVG
> Supported Media Types
> Description of Media Types. html
Element: parameter
Parameter that control the how the web page is converted into a portlet. This element is optional. Parameters common to many portlets.
Element: url
Name of HTML file. This must include the path relative to <jetspeed_home> This element is required.
Example of use
> Portlet Entry
>     <portlet-entry name="Logo" hidden="false" type="ref"
>         parent="HTML" application="false">
>         <meta-info>
>             <title>Logo</title>
>             <description>Example of HTML portlet</description>
>         </meta-info>
>         <url>/Logo.html</url>
>     </portlet-entry>
> <jetspeed_home>/Logo.html
>     <!--
>          Portlet contains the Jetspeed logo. This could be a
>          link to SVG graphic trending the corporate stock over the
>          last 30 days.
>     -->
>     <a href="http://jakarta.apache.org/jetspeed">
>       <img src="images/jetspeed-logo.gif" alt="Jetspeed Logo">
>     </a>
Copyright © 1999-2003, Apache Software Foundation