|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.CmsWorkplace
org.opencms.workplace.tools.CmsToolDialog
org.opencms.workplace.CmsDialog
org.opencms.workplace.editors.CmsEditor
org.opencms.workplace.editors.CmsDefaultPageEditor
org.opencms.workplace.editors.CmsSimplePageEditor
org.opencms.workplace.editors.CmsMSDHtmlEditor
Creates the output for editing a CmsDefaultPage with the MS DHTML control editor.
The following editor uses this class:
Field Summary | |
static java.lang.String |
EDITOR_TYPE
Constant for the editor type, must be the same as the editors subfolder name in the VFS. |
static java.lang.String[] |
SELECTBOX_EDITORVIEWKEYS
Option localization keys for editor view select boxes. |
static java.lang.String[] |
SELECTBOX_EDITORVIEWS
Option values for editor view select boxes. |
static int[] |
SELECTBOX_EDITORVIEWS_ALLOWED
values for editor view select boxes. |
Fields inherited from class org.opencms.workplace.editors.CmsDefaultPageEditor |
m_file, m_page, PARAM_ELEMENTNAME, PARAM_OLDELEMENTNAME, SELECTBOX_FONTS, XML_BODY_ELEMENT |
Fields inherited from class org.opencms.workplace.editors.CmsEditor |
ACTION_CHANGE_BODY, ACTION_EXIT, ACTION_PREVIEW, ACTION_SAVE, ACTION_SAVEACTION, ACTION_SAVEEXIT, ACTION_SHOW, ACTION_SHOW_ERRORMESSAGE, EDITOR_CHANGE_ELEMENT, EDITOR_CLEANUP, EDITOR_EXIT, EDITOR_PREVIEW, EDITOR_SAVE, EDITOR_SAVEACTION, EDITOR_SAVEEXIT, EDITOR_SHOW, EDITOR_SHOW_ERRORMESSAGE, PARAM_BACKLINK, PARAM_CONTENT, PARAM_DIRECTEDIT, PARAM_EDITASTEXT, PARAM_EDITORMODE, PARAM_ELEMENTLANGUAGE, PARAM_LOADDEFAULT, PARAM_MODIFIED, PARAM_OLDELEMENTLANGUAGE, PARAM_TEMPFILE, PATH_EDITORS |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
PARAM_BASE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
CmsMSDHtmlEditor(CmsJspActionElement jsp)
Public constructor. |
Method Summary | |
java.lang.String |
buildSelectViews(java.lang.String attributes)
Builds the html String for the editor views available in the editor screens. |
void |
escapeParams()
Escapes the content and title parameters to display them in the editor form. |
java.lang.String |
getEditorResourceUri()
Returns the URI to the editor resource folder where button images and javascripts are located. |
protected java.lang.String |
prepareContent(boolean save)
Manipulates the content String for the different editor views and the save operation. |
Methods inherited from class org.opencms.workplace.editors.CmsSimplePageEditor |
buildGalleryButtons, initWorkplaceRequestValues |
Methods inherited from class org.opencms.workplace.editors.CmsDefaultPageEditor |
actionChangeBodyElement, actionCleanupBodyElement, actionClear, actionDirectEdit, actionExit, actionPreview, actionSave, buildSelectElementLanguage, buildSelectElementName, buildSelectFonts, getElementList, getElementLocale, getParamElementname, getParamOldelementname, getUriStyleSheet, getUriTemplate, initBodyElementLanguage, initBodyElementName, initContent, performSaveContent, setParamElementname, setParamOldelementname |
Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, setParamPath, setParamRoot, setParamStyle, useNewStyle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String EDITOR_TYPE
public static final java.lang.String[] SELECTBOX_EDITORVIEWKEYS
public static final java.lang.String[] SELECTBOX_EDITORVIEWS
public static final int[] SELECTBOX_EDITORVIEWS_ALLOWED
Constructor Detail |
public CmsMSDHtmlEditor(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementMethod Detail |
public final java.lang.String buildSelectViews(java.lang.String attributes)
attributes
- optional attributes for the <select> tag
public void escapeParams()
CmsDefaultPageEditor
This method has to be called on the JSP right before the form display html is created.
*
escapeParams
in class CmsDefaultPageEditor
CmsDefaultPageEditor.escapeParams()
public final java.lang.String getEditorResourceUri()
CmsEditor
getEditorResourceUri
in class CmsSimplePageEditor
CmsEditor.getEditorResourceUri()
protected java.lang.String prepareContent(boolean save)
prepareContent
in class CmsSimplePageEditor
save
- if set to true, the content parameter is not updated
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |