/** * Performs the exit editor action.<p> * * @see org.opencms.workplace.editors.CmsEditor#actionExit() */ @Override public void actionExit() throws IOException, JspException, ServletException { if (getAction() == ACTION_CANCEL) { // save and exit was cancelled return; } // unlock resource if we are in direct edit mode actionClear(false); // close the editor actionClose(); }
/** * Performs the exit editor action.<p> * * @see org.opencms.workplace.editors.CmsEditor#actionExit() */ @Override public void actionExit() throws IOException, JspException, ServletException { if (getAction() == ACTION_CANCEL) { // save and exit was canceled return; } // unlock resource if we are in direct edit mode actionClear(false); // close the editor actionClose(); }
/** * 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); } }
if ((getAction() != ACTION_CANCEL) && (getAction() != ACTION_SHOW_ERRORMESSAGE)) { if ((getAction() != ACTION_CANCEL) && (getAction() != ACTION_SHOW_ERRORMESSAGE)) { if ((getAction() != ACTION_CANCEL) && (getAction() != ACTION_SHOW_ERRORMESSAGE)) { if ((getAction() != ACTION_CANCEL) && (getAction() != ACTION_SHOW_ERRORMESSAGE)) {
if (getAction() == ACTION_ELEMENT_MOVE_DOWN) {
if (getAction() == ACTION_ELEMENT_MOVE_DOWN) {
if (getAction() == ACTION_ELEMENT_REMOVE) {
if (getAction() == ACTION_ELEMENT_REMOVE) {