diff --git a/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java b/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java
index 39f9afe029..a7946f19fd 100644
--- a/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java
+++ b/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java
@@ -787,6 +787,16 @@ public class CreateWebContentWizard extends BaseContentWizard
{
return this.startWorkflow;
}
+
+ /**
+ * Provides the url to the preview sandbox containing the asset currently
+ * being edited.
+ */
+ public String getPreviewSandboxUrl()
+ {
+ return AVMConstants.buildWebappUrl(AVMConstants.getCorrespondingPreviewStoreName(this.avmBrowseBean.getSandbox()),
+ this.avmBrowseBean.getWebapp());
+ }
public String getSummary()
{
diff --git a/source/java/org/alfresco/web/forms/xforms/XFormsProcessor.java b/source/java/org/alfresco/web/forms/xforms/XFormsProcessor.java
index c367334073..d87b4fdc62 100644
--- a/source/java/org/alfresco/web/forms/xforms/XFormsProcessor.java
+++ b/source/java/org/alfresco/web/forms/xforms/XFormsProcessor.java
@@ -68,6 +68,7 @@ public class XFormsProcessor
? "dojo.js.uncompressed.js"
: "dojo.js"),
"/scripts/ajax/ajax_helper.js",
+ "/scripts/ajax/tiny_mce_wcm_extensions.js",
"/scripts/ajax/xforms.js",
"/scripts/ajax/file_picker_widget.js",
"/scripts/upload_helper.js",
@@ -211,7 +212,7 @@ public class XFormsProcessor
}
final ResourceBundle bundle = Application.getBundle(FacesContext.getCurrentInstance());
- js.append("alfresco.xforms.constants.resources = {\n");
+ js.append("alfresco.resources = {\n");
for (String k : BUNDLE_KEYS)
{
js.append(k).
diff --git a/source/test-resources/xforms/unit-tests/output-method-callout-test/output-method-callout.ftl b/source/test-resources/xforms/unit-tests/rendering-engine-test/form-data-functions-test.ftl
similarity index 100%
rename from source/test-resources/xforms/unit-tests/output-method-callout-test/output-method-callout.ftl
rename to source/test-resources/xforms/unit-tests/rendering-engine-test/form-data-functions-test.ftl
diff --git a/source/test-resources/xforms/unit-tests/output-method-callout-test/output-method-callout.xsd b/source/test-resources/xforms/unit-tests/rendering-engine-test/form-data-functions-test.xsd
similarity index 100%
rename from source/test-resources/xforms/unit-tests/output-method-callout-test/output-method-callout.xsd
rename to source/test-resources/xforms/unit-tests/rendering-engine-test/form-data-functions-test.xsd
diff --git a/source/test-resources/xforms/unit-tests/output-method-callout-test/output-method-callout.xsl b/source/test-resources/xforms/unit-tests/rendering-engine-test/form-data-functions-test.xsl
similarity index 100%
rename from source/test-resources/xforms/unit-tests/output-method-callout-test/output-method-callout.xsl
rename to source/test-resources/xforms/unit-tests/rendering-engine-test/form-data-functions-test.xsl
diff --git a/source/test-resources/xforms/unit-tests/multi-form-schema/multi-form-schema.xsd b/source/test-resources/xforms/unit-tests/simple-test/multi-form-schema-test.xsd
similarity index 100%
rename from source/test-resources/xforms/unit-tests/multi-form-schema/multi-form-schema.xsd
rename to source/test-resources/xforms/unit-tests/simple-test/multi-form-schema-test.xsd
diff --git a/source/test-resources/xforms/unit-tests/upload-tests/upload-simple-test.xsd b/source/test-resources/xforms/unit-tests/simple-test/upload-simple-test.xsd
similarity index 100%
rename from source/test-resources/xforms/unit-tests/upload-tests/upload-simple-test.xsd
rename to source/test-resources/xforms/unit-tests/simple-test/upload-simple-test.xsd
diff --git a/source/web/jsp/wcm/create-web-content-wizard/create-html.jsp b/source/web/jsp/wcm/create-web-content-wizard/create-html.jsp
index 393494337d..69d023aaa3 100644
--- a/source/web/jsp/wcm/create-web-content-wizard/create-html.jsp
+++ b/source/web/jsp/wcm/create-web-content-wizard/create-html.jsp
@@ -1,4 +1,4 @@
-<%--
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/source/web/jsp/wcm/tiny_mce_image_dialog.jsp b/source/web/jsp/wcm/tiny_mce_image_dialog.jsp
index 416c522d2e..d081e7fd30 100644
--- a/source/web/jsp/wcm/tiny_mce_image_dialog.jsp
+++ b/source/web/jsp/wcm/tiny_mce_image_dialog.jsp
@@ -41,9 +41,6 @@
-
-
-