|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.servlets.MVCServletHandlerImpl info.magnolia.module.admininterface.DialogMVCHandler info.magnolia.module.admininterface.dialogs.ConfiguredDialog info.magnolia.module.blossom.paragraph.BlossomParagraphEditDialog
public class BlossomParagraphEditDialog
This is a backport from Magnolia 4.4. In versions before 4.3.2 the ParagraphEditDialog did not respect the class attribute set on dialogs so the customized dialog handlers that blossom uses would not be used resulting in empty dialogs. MAGNOLIA-2907 It also includes support for paragraphs without dialogs, see MAGNOLIA-225. This is a cleaner implementation than the one used in Blossom 1.x.
Nested Class Summary | |
---|---|
static class |
BlossomParagraphEditDialog.NoDialogMVCHandler
DialogHandler that saves without showing a dialog. |
Field Summary |
---|
Fields inherited from class info.magnolia.module.admininterface.DialogMVCHandler |
---|
COMMAND_SAVE, COMMAND_SELECT_PARAGRAPH, COMMAND_SHOW_DIALOG, form, hm, msgs, nodeName, params, path, repository, richE, richEPaste, storageNode, VIEW_CLOSE_WINDOW, VIEW_SHOW_DIALOG |
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
exception, request, response, VIEW_ERROR, VIEW_SUCCESS |
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler |
---|
VIEW_NOTHING |
Constructor Summary | |
---|---|
BlossomParagraphEditDialog(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
info.magnolia.cms.core.Content configNode)
|
Method Summary | |
---|---|
String |
execute(String command)
|
String |
getCommand()
|
void |
renderHtml(String view)
|
Methods inherited from class info.magnolia.module.admininterface.dialogs.ConfiguredDialog |
---|
getConfigNode, getConfiguredDialog, getConfiguredDialog |
Methods inherited from class info.magnolia.module.admininterface.DialogMVCHandler |
---|
configureSaveHandler, createDialog, createSaveHandler, getDialog, getItemType, getJsExecutedAfterSaving, getRepository, getSaveHandler, getStorageNode, onPostSave, onPreSave, onSave, onSaveFailed, removeSessionAttributes, save, setDialog, setItemType, setJsExecutedAfterSaving, showDialog, validate |
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
getException, getExceptionStackTrace, getName, getRequest, getResponse, init, populateFromRequest, setCommand, setRequest, setResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlossomParagraphEditDialog(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, info.magnolia.cms.core.Content configNode)
Method Detail |
---|
public String getCommand()
getCommand
in interface info.magnolia.cms.servlets.MVCServletHandler
getCommand
in class info.magnolia.module.admininterface.DialogMVCHandler
public String execute(String command)
execute
in interface info.magnolia.cms.servlets.MVCServletHandler
execute
in class info.magnolia.cms.servlets.MVCServletHandlerImpl
public void renderHtml(String view) throws IOException
renderHtml
in interface info.magnolia.cms.servlets.MVCServletHandler
renderHtml
in class info.magnolia.module.admininterface.DialogMVCHandler
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |