if (Boolean.valueOf(editor.getParamDirectedit()).booleanValue()) { String linkTarget; if (!"".equals(editor.getParamBacklink())) { linkTarget = jsp.link(editor.getParamBacklink()); } else { linkTarget = jsp.link(editor.getParamResource()); } else { if (CmsLinkManager.isWorkplaceLink(editor.getParamBacklink())) { publishLink += params.toString() + CmsEncoder.escapeWBlanks(jsp.link(editor.getParamBacklink()), CmsEncoder.ENCODING_UTF_8); } else { publishLink += params.toString()
if (Boolean.valueOf(editor.getParamDirectedit()).booleanValue()) { String linkTarget; if (!"".equals(editor.getParamBacklink())) { linkTarget = jsp.link(editor.getParamBacklink()); } else { linkTarget = jsp.link(editor.getParamResource());
/** * Returns the editor action for a "cancel" button.<p> * * This overwrites the cancel method of the CmsDialog class.<p> * * Always use this value, do not write anything directly in the html page.<p> * * @return the default action for a "cancel" button */ public String buttonActionCancel() { String target = null; if (Boolean.valueOf(getParamDirectedit()).booleanValue()) { // editor is in direct edit mode if (CmsStringUtil.isNotEmpty(getParamBacklink())) { // set link to the specified back link target target = getParamBacklink(); } else { // set link to the edited resource target = getParamResource(); } } else { // in workplace mode, show explorer view target = OpenCms.getLinkManager().substituteLink(getCms(), CmsWorkplace.JSP_WORKPLACE_URI); } return "onclick=\"top.location.href='" + getJsp().link(target) + "';\""; }
/** * Returns the editor action for a "cancel" button.<p> * * This overwrites the cancel method of the CmsDialog class.<p> * * Always use this value, do not write anything directly in the html page.<p> * * @return the default action for a "cancel" button */ public String buttonActionCancel() { String target = null; if (Boolean.valueOf(getParamDirectedit()).booleanValue()) { // editor is in direct edit mode if (CmsStringUtil.isNotEmpty(getParamBacklink())) { // set link to the specified back link target target = getParamBacklink(); } else { // set link to the edited resource target = getParamResource(); } } else { // in workplace mode, show explorer view target = OpenCms.getLinkManager().substituteLink(getCms(), CmsFrameset.JSP_WORKPLACE_URI); } return "onclick=\"top.location.href='" + getJsp().link(target) + "';\""; }
if (CmsStringUtil.isNotEmpty(getParamBacklink())) { setParamCloseLink(getJsp().link(getParamBacklink())); } else { if (CmsStringUtil.isNotEmpty(getParamBacklink())) { setParamCloseLink(getJsp().link(getParamBacklink()));
if (Boolean.valueOf(getParamDirectedit()).booleanValue()) { if (CmsStringUtil.isNotEmpty(getParamBacklink())) { setParamCloseLink(getJsp().link(getParamBacklink())); } else { if (CmsStringUtil.isNotEmpty(getParamBacklink())) { setParamCloseLink(getJsp().link(getParamBacklink()));