paulsp 01/08/27 20:40:39 Modified: docs/site catalog.html Added: docs/site portlet_config_Velocity.html Log: Added Velocity Portlet documentation Revision Changes Path 1.2 +7 -3 jakarta-jetspeed/docs/site/catalog.html Index: catalog.html =================================================================== RCS file: /home/cvs/jakarta-jetspeed/docs/site/catalog.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- catalog.html 2001/07/30 04:20:41 1.1 +++ catalog.html 2001/08/28 03:40:39 1.2 @@ -110,18 +110,22 @@ HTML Portlet
  • - RSS Portlet + JSP Portlet
  • - XSL Portlet + RSS Portlet
  • - JSP Portlet + Velocity Portlet
  • Web Page Portlet
  • +
  • + XSL Portlet +
  • + Configuration common to many standard portlets

    1.1 jakarta-jetspeed/docs/site/portlet_config_Velocity.html Index: portlet_config_Velocity.html =================================================================== Jetspeed - Portlet Configuration How To


    Get Involved




    Class Name : org.apache.jetspeed.portal.portlets.VelocityPortlet


    Present content rendered via a Velocity template in a portlet.

    Additional information about Velocity is available at

    Element: parameter

    Only the template parameter is required. If the "action" parameter is defined, the referenced class may require additional parameters.

    Parameters common to many portlets.

    Parameter Name Description
    action Name of action class, relative to org.apache.jetspeed.modules.actions. The class file is expected in <jetspeed_home>WEB-INF/classes/org/apache/jetspeed/modules/actions.
    This parameter is optional.
    template Name of VM file. The file is expected in <jetspeed_home>WEB-INF/templates/vm/media_type.

    Example of Registry Entry
      <portlet-entry name="PortletCustomizer"
                     type="instance" application="false">
        <security role="user"/>
          <title>Customize portlet</title>
        <parameter name="template" value="customizer-portlet" hidden="false"/>
        <parameter name="action" value="portlets.CustomizeAction" hidden="false"/>

    Context or Variables available to a Velocity Template

    Below is a list variables that can be used in the Velocity template file. Their values are defined by Jetspeed. For a list of properties and methods available, refer to the Classname documentation.

    Context Classname Description
    action String Class name to process form
    clink JetspeeedContentLink  
    conf PortletConfig  
    config JetspeeedResources  
    data RunData  
    jetspeed JetspeedTool  
    jlink JetspeedTemplateLink  
    portlet VelocityPortlet  
    skin PortletSkin  
    template String Name of Velocity template

    Copyright © 1999-2001, Apache Software Foundation
    --------------------------------------------------------------------- To unsubscribe, e-mail: For additional commands, e-mail: