diff --git a/source/web/WEB-INF/web.xml b/source/web/WEB-INF/web.xml
index bd3412c338..dbbafb9a69 100644
--- a/source/web/WEB-INF/web.xml
+++ b/source/web/WEB-INF/web.xml
@@ -274,7 +274,7 @@
- 500
+ java.lang.Exception
/jsp/error.jsp
diff --git a/source/web/jsp/wcm/browse-sandbox.jsp b/source/web/jsp/wcm/browse-sandbox.jsp
index 0e51f70d21..4dbc0d1274 100644
--- a/source/web/jsp/wcm/browse-sandbox.jsp
+++ b/source/web/jsp/wcm/browse-sandbox.jsp
@@ -75,7 +75,7 @@
-
+
|
diff --git a/source/web/jsp/wcm/edit-xml-inline.jsp b/source/web/jsp/wcm/edit-xml-inline.jsp
index 7e3b645589..9bf2cab543 100644
--- a/source/web/jsp/wcm/edit-xml-inline.jsp
+++ b/source/web/jsp/wcm/edit-xml-inline.jsp
@@ -33,10 +33,10 @@
<%@ page import="org.alfresco.web.templating.*" %>
<%@ page import="org.w3c.dom.Document" %>
<%
-final AVMBrowseBean ccb = (AVMBrowseBean)session.getAttribute("AVMBrowseBean");
-NodeRef nr = ccb.getAvmNode().getNodeRef();
-final AVMEditBean aeb = (AVMEditBean)session.getAttribute("AVMEditBean");
-String ttName = (String)ccb.getNodeService().getProperty(nr, TemplatingService.TT_QNAME);
+final AVMBrowseBean browseBean = (AVMBrowseBean)session.getAttribute("AVMBrowseBean");
+NodeRef nr = browseBean.getAvmNode().getNodeRef();
+final AVMEditBean editBean = (AVMEditBean)session.getAttribute("AVMEditBean");
+String ttName = (String)browseBean.getNodeService().getProperty(nr, TemplatingService.TT_QNAME);
final TemplatingService ts = TemplatingService.getInstance();
final TemplateType tt = ts.getTemplateType(ttName);
TemplateInputMethod tim = tt.getInputMethods().get(0);
@@ -46,7 +46,7 @@ final InstanceData instanceData = new InstanceData()
{
try
{
- return aeb.getEditorOutput() != null ? ts.parseXML(aeb.getEditorOutput()) : null;
+ return editBean.getEditorOutput() != null ? ts.parseXML(editBean.getEditorOutput()) : null;
}
catch (Exception e)
{
@@ -57,7 +57,7 @@ final InstanceData instanceData = new InstanceData()
public void setContent(final Document d)
{
- aeb.setEditorOutput(ts.writeXMLToString(d));
+ editBean.setEditorOutput(ts.writeXMLToString(d));
}
};
%>
@@ -130,27 +130,7 @@ final InstanceData instanceData = new InstanceData()
-
- <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "blue", "#D3E6FE"); %>
-
- <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "blue"); %>
- |
-
-
- <%-- Inline editor --%>
-
+ <%-- Inline editor --%>
<% PanelGenerator.generatePanelStart(out, request.getContextPath(), "white", "white"); %>
@@ -158,6 +138,23 @@ final InstanceData instanceData = new InstanceData()
<% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "white"); %>
|
+
+ <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "blue", "#D3E6FE"); %>
+
+ <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "blue"); %>
+ |
|