org.xwiki.portlet
Class XWikiDispatchPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.xwiki.portlet.DispatchPortlet
          extended by org.xwiki.portlet.XWikiDispatchPortlet
All Implemented Interfaces:
javax.portlet.EventPortlet, javax.portlet.Portlet, javax.portlet.PortletConfig, javax.portlet.ResourceServingPortlet

public class XWikiDispatchPortlet
extends DispatchPortlet

Extends DispatchPortlet with custom implementation for XWiki.

Version:
$Id: 7cc129e5640517123608151d79b8cbf18b544487 $

Field Summary
static String PREFERENCE_PATH_INFO
          The name of the preference holding the path info used to compute the default dispatch URL.
static String PREFERENCE_SERVLET_PATH
          The name of the preference holding the servlet path used to compute the default dispatch URL.
 
Fields inherited from class org.xwiki.portlet.DispatchPortlet
ATTRIBUTE_DISPATCHED, ATTRIBUTE_REDIRECT_URL, ATTRIBUTE_RESPONSE_DATA, ATTRIBUTE_RESPONSE_DATA_MAP, PARAMETER_DISPATCH_URL, PARAMETER_DISPATCHED_RESPONSE_KEY, PREFERENCE_DEFAULT_DISPATCH_URL, PREFERENCE_EDIT_URL, PREFERENCE_TITLE
 
Constructor Summary
XWikiDispatchPortlet()
           
 
Method Summary
protected  String getDefaultDispatchURL(javax.portlet.PortletPreferences preferences)
           
 
Methods inherited from class org.xwiki.portlet.DispatchPortlet
doEdit, doView, getTitle, processAction, processEdit, processView, serveResource
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, init, init, processEvent, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFERENCE_SERVLET_PATH

public static final String PREFERENCE_SERVLET_PATH
The name of the preference holding the servlet path used to compute the default dispatch URL.

See Also:
Constant Field Values

PREFERENCE_PATH_INFO

public static final String PREFERENCE_PATH_INFO
The name of the preference holding the path info used to compute the default dispatch URL.

See Also:
Constant Field Values
Constructor Detail

XWikiDispatchPortlet

public XWikiDispatchPortlet()
Method Detail

getDefaultDispatchURL

protected String getDefaultDispatchURL(javax.portlet.PortletPreferences preferences)
Overrides:
getDefaultDispatchURL in class DispatchPortlet
Parameters:
preferences - the portlet preferences to take the default dispatch URL from
Returns:
the URL used to dispatch the request when there's no dispatch URL parameter specified on the request


Copyright © 2004-2013 XWiki. All Rights Reserved.