org.apache.geronimo.console
Class MultiPagePortlet
java.lang.Object
javax.portlet.GenericPortlet
org.apache.geronimo.console.BasePortlet
org.apache.geronimo.console.MultiPagePortlet
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
- Direct Known Subclasses:
- ApacheConfigPortlet, CertificationAuthorityPortlet, ImportExportPortlet, JMSResourcePortlet, KeystoresPortlet, ThreadPoolPortlet
public abstract class MultiPagePortlet
- extends BasePortlet
A base class for porlets consisting on multiple JSPs with before and after
actions (e.g. for load and validation/save) and the ability for an "after"
action to set the next page to load.
Methods inherited from class javax.portlet.GenericPortlet |
doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODE_KEY
protected static final String MODE_KEY
- See Also:
- Constant Field Values
helpers
protected Map helpers
MultiPagePortlet
public MultiPagePortlet()
destroy
public void destroy()
- Specified by:
destroy
in interface javax.portlet.Portlet
- Overrides:
destroy
in class javax.portlet.GenericPortlet
processAction
public void processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws javax.portlet.PortletException,
IOException
- Specified by:
processAction
in interface javax.portlet.Portlet
- Overrides:
processAction
in class javax.portlet.GenericPortlet
- Throws:
javax.portlet.PortletException
IOException
doView
protected void doView(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws IOException,
javax.portlet.PortletException
- Overrides:
doView
in class javax.portlet.GenericPortlet
- Throws:
IOException
javax.portlet.PortletException
addHelper
protected void addHelper(MultiPageAbstractHandler handler,
javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
getDefaultMode
protected String getDefaultMode()
getModelJSPVariableName
protected abstract String getModelJSPVariableName()
getModel
protected abstract MultiPageModel getModel(javax.portlet.PortletRequest request)
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.