/** * Performs the save content action.<p> * * @see org.opencms.workplace.editors.CmsEditor#actionSave() */ @Override public void actionSave() throws JspException { actionSave(getElementLocale()); if (getAction() != ACTION_CANCEL) { // save successful, set save action setAction(ACTION_SAVE); } }
/** * Performs the save content action.<p> * * @see org.opencms.workplace.editors.CmsEditor#actionSave() */ @Override public void actionSave() throws JspException { actionSave(getElementLocale()); if (getAction() != ACTION_CANCEL) { // save successful, set save action setAction(ACTION_SAVE); } }
setAction(ACTION_SAVE); } else if (EDITOR_SAVEEXIT.equals(getParamAction())) { setAction(ACTION_SAVEEXIT); } else if (EDITOR_EXIT.equals(getParamAction())) { setAction(ACTION_EXIT); } else if (EDITOR_ACTION_SUBCHOICES.equals(getParamAction())) { setAction(ACTION_SUBCHOICES); } else if (EDITOR_CLOSEBROWSER.equals(getParamAction())) { return; } else if (EDITOR_ACTION_CHECK.equals(getParamAction())) { setAction(ACTION_CHECK); } else if (EDITOR_SAVEACTION.equals(getParamAction())) { setAction(ACTION_SAVEACTION); try { actionDirectEdit(); setAction(ACTION_EXIT); } else if (EDITOR_COPYLOCALE.equals(getParamAction())) { setAction(ACTION_COPYLOCALE); } else if (EDITOR_DELETELOCALE.equals(getParamAction())) { setAction(ACTION_DELETELOCALE); } else if (EDITOR_SHOW.equals(getParamAction())) { setAction(ACTION_SHOW); } else if (EDITOR_SHOW_ERRORMESSAGE.equals(getParamAction())) { setAction(ACTION_SHOW_ERRORMESSAGE); } else if (EDITOR_CHANGE_ELEMENT.equals(getParamAction())) { setAction(ACTION_SHOW); actionChangeElementLanguage();
setAction(ACTION_SAVE); } else if (EDITOR_SAVEEXIT.equals(getParamAction())) { setAction(ACTION_SAVEEXIT); } else if (EDITOR_EXIT.equals(getParamAction())) { setAction(ACTION_EXIT); } else if (EDITOR_CLOSEBROWSER.equals(getParamAction())) { return; } else if (EDITOR_ACTION_CHECK.equals(getParamAction())) { setAction(ACTION_CHECK); } else if (EDITOR_SAVEACTION.equals(getParamAction())) { setAction(ACTION_SAVEACTION); try { actionDirectEdit(); setAction(ACTION_EXIT); } else if (EDITOR_COPYLOCALE.equals(getParamAction())) { setAction(ACTION_COPYLOCALE); } else if (EDITOR_DELETELOCALE.equals(getParamAction())) { setAction(ACTION_DELETELOCALE); } else if (EDITOR_SHOW.equals(getParamAction())) { setAction(ACTION_SHOW); } else if (EDITOR_SHOW_ERRORMESSAGE.equals(getParamAction())) { setAction(ACTION_SHOW_ERRORMESSAGE); } else if (EDITOR_CHANGE_ELEMENT.equals(getParamAction())) { setAction(ACTION_SHOW); actionChangeElementLanguage(); } else if (EDITOR_ACTION_ELEMENT_ADD.equals(getParamAction())) { setAction(ACTION_ELEMENT_ADD);
setAction(ACTION_DEFAULT); } else {
setAction(ACTION_DEFAULT); } else {
setParamAction(null); setParamResource(newFileName); setAction(ACTION_DEFAULT);
setParamAction(null); setParamResource(newFileName); setAction(ACTION_DEFAULT);