info.magnolia.module.admininterface.dialogs
Class ParagraphEditDialog
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.module.admininterface.DialogMVCHandler
info.magnolia.module.admininterface.dialogs.ConfiguredDialog
info.magnolia.module.admininterface.dialogs.ParagraphEditDialog
- All Implemented Interfaces:
- MVCServletHandler
public class ParagraphEditDialog
- extends ConfiguredDialog
This dialog hander delegates to a dialog handler representing the dialog assigned to the paragraph we edit (or create).
- Author:
- philipp
Fields inherited from class info.magnolia.module.admininterface.DialogMVCHandler |
COMMAND_SAVE, COMMAND_SELECT_PARAGRAPH, COMMAND_SHOW_DIALOG, form, hm, locale, msgs, nodeName, params, path, repository, richE, richEPaste, storageNode, treeBasePath, VIEW_CLOSE_WINDOW, VIEW_SHOW_DIALOG |
Constructor Summary |
ParagraphEditDialog(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Content configNode)
|
Methods inherited from class info.magnolia.module.admininterface.DialogMVCHandler |
configureDialog, configureSaveHandler, createDialog, createSaveHandler, getDialog, getItemType, getJsExecutedAfterSaving, getRepository, getSaveHandler, getStorageNode, onPostSave, onPreSave, onSave, onSaveFailed, removeSessionAttributes, save, setDialog, setItemType, setJsExecutedAfterSaving, showDialog, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParagraphEditDialog
public ParagraphEditDialog(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Content configNode)
getCommand
public String getCommand()
- Description copied from interface:
MVCServletHandler
- Returns the name of the command we want to execute.
- Specified by:
getCommand
in interface MVCServletHandler
- Overrides:
getCommand
in class DialogMVCHandler
- Returns:
- Returns the command.
execute
public String execute(String command)
- Description copied from class:
MVCServletHandlerImpl
- Call the method through reflection.
- Specified by:
execute
in interface MVCServletHandler
- Overrides:
execute
in class MVCServletHandlerImpl
- Returns:
- the name of the view to show (used in renderHtml)
renderHtml
public void renderHtml(String view)
throws IOException
- Description copied from interface:
MVCServletHandler
- Render the tree depending on the view name.
- Specified by:
renderHtml
in interface MVCServletHandler
- Overrides:
renderHtml
in class DialogMVCHandler
- Throws:
IOException
- See Also:
MVCServletHandler.renderHtml(java.lang.String)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.