org.apache.portals.gems.googlemaps
Class GoogleMapsPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.portals.bridges.common.GenericServletPortlet
          extended by org.apache.portals.bridges.velocity.GenericVelocityPortlet
              extended by org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
                  extended by org.apache.portals.gems.googlemaps.GoogleMapsPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig, SupportsHeaderPhase

public class GoogleMapsPortlet
extends AbstractDojoVelocityPortlet

This is a simple class used to override processAction to save location form submission value to location preference

Version:
$Id: GoogleMapsPortlet.java 393251 2006-04-22 15:50:52Z jdp $

Field Summary
 
Fields inherited from class org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
headerPage
 
Fields inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet
PORTLET_BRIDGE_CONTEXT
 
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE
 
Constructor Summary
GoogleMapsPortlet()
          no change
 
Method Summary
 void doHeader(PortletHeaderRequest request, PortletHeaderResponse response)
           
protected  void includeHeaderContent(HeaderResource headerResource)
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse actionResponse)
          save submitted value
 
Methods inherited from class org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
include, include, init
 
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet
doCustom, doEdit, doHelp, doPreferencesEdit, doView, getContext, getContext, render, setupPreferencesEdit
 
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet
getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapsPortlet

public GoogleMapsPortlet()
no change

Method Detail

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse actionResponse)
                   throws javax.portlet.PortletException,
                          java.io.IOException
save submitted value

Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
Throws:
javax.portlet.PortletException
java.io.IOException
See Also:
javax.portlet.GenericPortlet#processActions

doHeader

public void doHeader(PortletHeaderRequest request,
                     PortletHeaderResponse response)
              throws javax.portlet.PortletException
Specified by:
doHeader in interface SupportsHeaderPhase
Overrides:
doHeader in class AbstractDojoVelocityPortlet
Throws:
javax.portlet.PortletException

includeHeaderContent

protected void includeHeaderContent(HeaderResource headerResource)
Overrides:
includeHeaderContent in class AbstractDojoVelocityPortlet


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.