|
||||||||||
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.groovy.dialogs.MgnlGroovyDialog
public class MgnlGroovyDialog
Subclass of ConfiguredDialog
to add some javascript (e.g. jQuery)
Field Summary |
---|
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, 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 | |
---|---|
MgnlGroovyDialog(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
info.magnolia.cms.core.Content configNode)
|
Method Summary | |
---|---|
protected info.magnolia.cms.gui.dialog.Dialog |
createDialog(info.magnolia.cms.core.Content configNode,
info.magnolia.cms.core.Content storageNode)
|
protected boolean |
validate()
Before saving groovy source code, make sure it is valid i.e. If it is to be a model class a package declaration must be enforced the package declaration must match the path to the source in the scripts repository |
Methods inherited from class info.magnolia.module.admininterface.dialogs.ConfiguredDialog |
---|
getConfigNode, getConfiguredDialog, getConfiguredDialog |
Methods inherited from class info.magnolia.module.admininterface.DialogMVCHandler |
---|
configureDialog, configureSaveHandler, createSaveHandler, getCommand, getDialog, getItemType, getJsExecutedAfterSaving, getRepository, getSaveHandler, getStorageNode, onPostSave, onPreSave, onSave, onSaveFailed, removeSessionAttributes, renderHtml, save, setDialog, setItemType, setJsExecutedAfterSaving, showDialog |
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
execute, 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 MgnlGroovyDialog(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, info.magnolia.cms.core.Content configNode)
Method Detail |
---|
protected info.magnolia.cms.gui.dialog.Dialog createDialog(info.magnolia.cms.core.Content configNode, info.magnolia.cms.core.Content storageNode) throws javax.jcr.RepositoryException
createDialog
in class info.magnolia.module.admininterface.DialogMVCHandler
javax.jcr.RepositoryException
protected boolean validate()
validate
in class info.magnolia.module.admininterface.DialogMVCHandler
MgnlGroovyClassLoader#MgnlGroovyClassLoader(HierarchyManagerProvider)))}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |