initContent(); } catch (CmsXmlException e) {
initContent(); } catch (CmsXmlException e) {
/** * Performs the change body action of the editor.<p> */ public void actionChangeBodyElement() { try { // save eventually changed content of the editor to the temporary file Locale oldLocale = CmsLocaleManager.getLocale(getParamOldelementlanguage()); performSaveContent(getParamOldelementname(), oldLocale); } catch (CmsException e) { // show error page try { showErrorPage(this, e); } catch (JspException exc) { // should usually never happen if (LOG.isInfoEnabled()) { LOG.info(exc); } } } // re-initialize the element name if the language has changed if (!getParamElementlanguage().equals(getParamOldelementlanguage())) { initBodyElementName(getParamOldelementname()); } // get the new editor content initContent(); }
/** * Performs the change body action of the editor.<p> */ public void actionChangeBodyElement() { try { // save eventually changed content of the editor to the temporary file Locale oldLocale = CmsLocaleManager.getLocale(getParamOldelementlanguage()); performSaveContent(getParamOldelementname(), oldLocale); } catch (CmsException e) { // show error page try { showErrorPage(this, e); } catch (JspException exc) { // should usually never happen if (LOG.isInfoEnabled()) { LOG.info(exc); } } } // re-initialize the element name if the language has changed if (!getParamElementlanguage().equals(getParamOldelementlanguage())) { initBodyElementName(getParamOldelementname()); } // get the new editor content initContent(); }