org.apache.jetspeed.util.template
Class PortletTemplateLink

java.lang.Object
  extended byorg.apache.turbine.util.DynamicURI
      extended byorg.apache.turbine.util.template.TemplateLink
          extended byorg.apache.jetspeed.util.template.JetspeedTemplateLink
              extended byorg.apache.jetspeed.util.template.PortletTemplateLink
All Implemented Interfaces:
org.apache.turbine.services.pull.ApplicationTool

Deprecated. Since 2002-03-05. Use JetspeedTemplateLink with the setPortlet(Portlet) method to give it the right context.

public class PortletTemplateLink
extends JetspeedTemplateLink

A customized version of the JetspeedTemplateLink that reacts to the Portlet context and allows you to manipulate the lowest level pane if it exists.

Version:
$Id: PortletTemplateLink.java,v 1.5 2005/03/21 18:21:45 sgala Exp $
Author:
Raphaël Luta

Field Summary
 
Fields inherited from class org.apache.jetspeed.util.template.JetspeedTemplateLink
ACTION_KEY, activePortlet, PANEL_KEY, PORTLET_KEY, SCREEN_KEY, TEMPLATE_KEY
 
Fields inherited from class org.apache.turbine.util.DynamicURI
hasPathInfo, hasQueryData, HTTP, HTTPS, PATH_INFO, pathInfo, QUERY_DATA, queryData, redirect, reference, res, scriptName, sd, serverName, serverPort, serverScheme
 
Constructor Summary
PortletTemplateLink()
          Deprecated. Empty constructor.for introspection
PortletTemplateLink(org.apache.turbine.util.RunData data, Portlet portlet)
          Deprecated. Constructor.
 
Method Summary
 java.lang.String getPanelKey()
          Deprecated. Use the activePortlet to get the current Panel name (key).
 org.apache.turbine.util.DynamicURI setPanel(java.lang.String panel)
          Deprecated. Add a select-panel reference in the link
 
Methods inherited from class org.apache.jetspeed.util.template.JetspeedTemplateLink
clear, forPortlet, getActionKey, getPageKey, getPortlet, getPortletByName, getPortletKey, getScreenKey, init, refresh, setPortlet, setPortlet, toString
 
Methods inherited from class org.apache.turbine.util.template.TemplateLink
getPage, getURI, setEncodeURLOff, setPage
 
Methods inherited from class org.apache.turbine.util.DynamicURI
add, add, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addQueryData, addQueryData, addQueryData, addQueryData, addQueryData, addQueryData, getA, getReference, getScriptName, getServerData, getServerName, getServerPort, getServerScheme, init, init, init, remove, removePathInfo, removePathInfo, removeQueryData, removeQueryData, renderPathInfo, renderQueryString, setAction, setReference, setScreen, setScriptName, setSecure, setSecure, setServerData, setServerName, setServerPort, setServerScheme, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortletTemplateLink

public PortletTemplateLink()
Deprecated. 
Empty constructor.for introspection


PortletTemplateLink

public PortletTemplateLink(org.apache.turbine.util.RunData data,
                           Portlet portlet)
Deprecated. 
Constructor.

Parameters:
data - A Turbine RunData object.
Method Detail

setPanel

public org.apache.turbine.util.DynamicURI setPanel(java.lang.String panel)
Deprecated. 
Add a select-panel reference in the link

Overrides:
setPanel in class JetspeedTemplateLink
Returns:
a self reference for easy link construction in template

getPanelKey

public java.lang.String getPanelKey()
Deprecated. 
Description copied from class: JetspeedTemplateLink

Use the activePortlet to get the current Panel name (key).

Overrides:
getPanelKey in class JetspeedTemplateLink
Returns:
the panel parameter name


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