org.apache.jetspeed.portal.controllers
Class VelocityPortletController

java.lang.Object
  extended byorg.apache.jetspeed.portal.controllers.AbstractPortletController
      extended byorg.apache.jetspeed.portal.controllers.VelocityPortletController
All Implemented Interfaces:
PortletController, java.io.Serializable
Direct Known Subclasses:
VelocityPanedPortletController

public class VelocityPortletController
extends AbstractPortletController

A Velocity based portlet controller implementation

Version:
$Id: VelocityPortletController.java,v 1.13 2005/03/21 18:21:41 sgala Exp $
Author:
Roberto Carrasco, Raphaël Luta
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.portal.controllers.AbstractPortletController
DEFAULT_PADDING
 
Constructor Summary
VelocityPortletController()
           
 
Method Summary
 void buildContext(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
 org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData rundata)
          Renders the content of the PortletSet for the current request
 
Methods inherited from class org.apache.jetspeed.portal.controllers.AbstractPortletController
getConfig, getConstraints, getContent, getHTMLContent, getPadding, getPortlets, getWidth, getWMLContent, init, setConfig, setPadding, setPadding, setPortlets, setWidth, supportsType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityPortletController

public VelocityPortletController()
Method Detail

getContent

public org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData rundata)
Description copied from interface: PortletController
Renders the content of the PortletSet for the current request

Specified by:
getContent in interface PortletController
Overrides:
getContent in class AbstractPortletController

buildContext

public void buildContext(org.apache.turbine.util.RunData data,
                         org.apache.velocity.context.Context context)


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