org.apache.jetspeed.portal.portlets
Class JspPortlet

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.AbstractPortlet
      extended byorg.apache.jetspeed.portal.portlets.AbstractInstancePortlet
          extended byorg.apache.jetspeed.portal.portlets.GenericMVCPortlet
              extended byorg.apache.jetspeed.portal.portlets.JspPortlet
All Implemented Interfaces:
Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable

public class JspPortlet
extends GenericMVCPortlet

A JSP portlet example. STW: Changed to subclass the GenericMVCPortlet to help unify the handling of all template based portlets.

Author:
David Sean Taylor, Santiago Gala, Scott Weaver
See Also:
Serialized Form

Field Summary
static java.lang.String TEMPLATE
           
 
Fields inherited from class org.apache.jetspeed.portal.portlets.GenericMVCPortlet
DOC_URL, IS_CACHEABLE, PORTLET, PORTLET_CONFIG, PORTLET_ID, RENDERING_DELAYED, RUNDATA, SIMULATE_DELAY, SKIN, VIEW_TYPE
 
Fields inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
content
 
Fields inherited from interface org.apache.jetspeed.portal.Portlet
PORTLET_MAXIMIZED, PORTLET_MINIMIZED, PORTLET_NORMAL
 
Constructor Summary
JspPortlet()
           
 
Method Summary
 void init()
          STW: Backward compatibility: set the viewType to "JSP".
 
Methods inherited from class org.apache.jetspeed.portal.portlets.GenericMVCPortlet
buildContent, getContent, getCurrentTemplate, getViewType, isCacheable, populateRequest, providesCustomization, renderJspTemplate, setViewType, useDelayedRendering
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractInstancePortlet
getHandle
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
allowClose, allowCustomize, allowInfo, allowMaximize, allowMinimize, allowPrintFriendly, allowView, clearContent, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getContent, getCreationTime, getDescription, getDescription, getExpirationMillis, getExpire, getHandle, getID, getImage, getImage, getInstance, getName, getPortletConfig, getTitle, getTitle, isClosed, isMinimized, isShowTitleBar, refresh, setAttribute, setCacheable, setCachedObject, setClosed, setContent, setContent, setContent, setCreationTime, setDescription, setExpirationMillis, setHandle, setID, setImage, setMinimized, setName, setPortletConfig, setTitle, setTitle, supportsType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATE

public static final java.lang.String TEMPLATE
See Also:
Constant Field Values
Constructor Detail

JspPortlet

public JspPortlet()
Method Detail

init

public void init()
          throws PortletException
STW: Backward compatibility: set the viewType to "JSP". By default the data is non cacheable

Specified by:
init in interface Portlet
Overrides:
init in class GenericMVCPortlet
Throws:
PortletException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.