info.magnolia.module.admininterface
Class PageMVCHandler
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.cms.servlets.CommandBasedMVCServletHandler
info.magnolia.module.admininterface.PageMVCHandler
- All Implemented Interfaces:
- MVCServletHandler
- Direct Known Subclasses:
- FileThumbnailDialogPage, JavascriptIncludePage, SimplePageMVCHandler, TemplatedMVCHandler
public abstract class PageMVCHandler
- extends CommandBasedMVCServletHandler
This is the MVCHandler for simple pages. The properties with coresponding request parameters are set with BeanUtils.
- Version:
- $Revision: 41137 $
- Author:
- Philipp Bracher
Constructor Summary |
PageMVCHandler(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Constuctor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMAND_PARAMETER_NAME
protected static final java.lang.String COMMAND_PARAMETER_NAME
- The name of the parameter passed by the request. Not used for simple pages.
- See Also:
- Constant Field Values
COMMAND_SHOW
protected static final java.lang.String COMMAND_SHOW
- See Also:
- Constant Field Values
VIEW_SHOW
protected static final java.lang.String VIEW_SHOW
- See Also:
- Constant Field Values
PageMVCHandler
public PageMVCHandler(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Constuctor
- Parameters:
name
- request
- response
-
init
public void init()
- Description copied from interface:
MVCServletHandler
- Called after instantiating.
- Specified by:
init
in interface MVCServletHandler
- Overrides:
init
in class MVCServletHandlerImpl
- See Also:
TODO ! init is called twice !!! once by content2bean, once by MVCServlet !
show
public java.lang.String show()
- This is an empty implementation return the default show view.
- Returns:
- the view name
setForm
protected void setForm(MultipartForm form)
- Parameters:
form
- The form to set.
getForm
protected MultipartForm getForm()
- Returns:
- Returns the form.
setMsgs
protected void setMsgs(Messages msgs)
- Parameters:
msgs
- The msgs to set.
getMsgs
protected Messages getMsgs()
- Returns:
- Returns the msgs.
setParams
protected void setParams(RequestFormUtil params)
- Parameters:
params
- The params to set.
getParams
protected RequestFormUtil getParams()
- Returns:
- Returns the params.
getI18nBasename
public java.lang.String getI18nBasename()
setI18nBasename
public void setI18nBasename(java.lang.String basename)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.