svn commit: r1772885 [3/9] - in /ofbiz/branches/release16.11: ./ applications/accounting/minilang/ applications/accounting/minilang/admin/ applications/accounting/minilang/budget/ applications/accounting/minilang/finaccount/ applications/accounting/min...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1772885 [3/9] - in /ofbiz/branches/release16.11: ./ applications/accounting/minilang/ applications/accounting/minilang/admin/ applications/accounting/minilang/budget/ applications/accounting/minilang/finaccount/ applications/accounting/min...

Deepak Dixit-5
Modified: ofbiz/branches/release16.11/applications/content/webapp/content/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/webapp/content/WEB-INF/controller.xml?rev=1772885&r1=1772884&r2=1772885&view=diff
==============================================================================
--- ofbiz/branches/release16.11/applications/content/webapp/content/WEB-INF/controller.xml (original)
+++ ofbiz/branches/release16.11/applications/content/webapp/content/WEB-INF/controller.xml Tue Dec  6 12:45:34 2016
@@ -169,13 +169,13 @@ under the License.
     </request-map>
     <request-map uri="createForumGroup">
         <security https="true" auth="true"/>
-        <event type="service" invoke="createContent"/>
+        <event invoke="createContent" type="service"/>
         <response name="success" type="view" value="FindForumGroups"/>
         <response name="error" type="view" value="FindForumGroups"/>
     </request-map>
     <request-map uri="updateForumGroup">
         <security https="true" auth="true"/>
-        <event type="service" invoke="updateContent"/>
+        <event invoke="updateContent" type="service"/>
         <response name="success" type="view" value="FindForumGroups"/>
         <response name="error" type="view" value="FindForumGroups"/>
     </request-map>
@@ -186,19 +186,19 @@ under the License.
     </request-map>
     <request-map uri="createForumGroupRole">
         <security https="true" auth="true"/>
-        <event type="service" invoke="createContentRole"/>
+        <event invoke="createContentRole" type="service"/>
         <response name="success" type="view" value="ForumGroupRoles"/>
         <response name="error" type="view" value="ForumGroupRoles"/>
     </request-map>
     <request-map uri="updateForumGroupRole">
         <security https="true" auth="true"/>
-        <event type="service" invoke="updateContentRole"/>
+        <event invoke="updateContentRole" type="service"/>
         <response name="success" type="view" value="ForumGroupRoles"/>
         <response name="error" type="view" value="ForumGroupRoles"/>
     </request-map>
     <request-map uri="deleteForumGroupRole">
         <security https="true" auth="true"/>
-        <event type="service" invoke="removeContentRole"/>
+        <event invoke="removeContentRole" type="service"/>
         <response name="success" type="view" value="ForumGroupRoles"/>
         <response name="error" type="view" value="ForumGroupRoles"/>
     </request-map>
@@ -209,13 +209,13 @@ under the License.
     </request-map>
     <request-map uri="createForumGroupPurpose">
         <security https="true" auth="true"/>
-        <event type="service" invoke="createContentPurpose"/>
+        <event invoke="createContentPurpose" type="service"/>
         <response name="success" type="view" value="ForumGroupPurposes"/>
         <response name="error" type="view" value="ForumGroupPurposes"/>
     </request-map>
     <request-map uri="deleteForumGroupPurpose">
         <security https="true" auth="true"/>
-        <event type="service" invoke="removeContentPurpose"/>
+        <event invoke="removeContentPurpose" type="service"/>
         <response name="success" type="view" value="ForumGroupPurposes"/>
         <response name="error" type="view" value="ForumGroupPurposes"/>
     </request-map>
@@ -226,13 +226,13 @@ under the License.
     </request-map>
     <request-map uri="createForum">
         <security https="true" auth="true"/>
-        <event type="service" invoke="persistContentAndAssoc"/>
+        <event invoke="persistContentAndAssoc" type="service"/>
         <response name="success" type="view" value="FindForums"/>
         <response name="error" type="view" value="FindForums"/>
     </request-map>
     <request-map uri="updateForum">
         <security https="true" auth="true"/>
-        <event type="service" invoke="persistContentAndAssoc"/>
+        <event invoke="persistContentAndAssoc" type="service"/>
         <response name="success" type="view" value="FindForums"/>
         <response name="error" type="view" value="FindForums"/>
     </request-map>
@@ -259,13 +259,13 @@ under the License.
     </request-map>
     <request-map uri="updateForumMessage">
         <security https="true" auth="true"/>
-        <event type="service" invoke="persistContentAndAssoc"/>
+        <event invoke="persistContentAndAssoc" type="service"/>
         <response name="success" type="view" value="FindForumMessages"/>
         <response name="error" type="view" value="FindForumMessages"/>
     </request-map>
     <request-map uri="updateForumThreadMessage">
         <security https="true" auth="true"/>
-        <event type="service" invoke="persistContentAndAssoc"/>
+        <event invoke="persistContentAndAssoc" type="service"/>
         <response name="success" type="view" value="FindForumThreads"/>
         <response name="error" type="view" value="FindForumThreads"/>
     </request-map>
@@ -464,19 +464,19 @@ under the License.
     </request-map>
     <request-map uri="addContentType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentType" path=""/>
+        <event invoke="createContentType" path="" type="service"/>
         <response name="success" type="view" value="EditContentType"/>
         <response name="error" type="view" value="EditContentType"/>
     </request-map>
     <request-map uri="updateContentType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentType" path=""/>
+        <event invoke="updateContentType" path="" type="service"/>
         <response name="success" type="view" value="EditContentType"/>
         <response name="error" type="view" value="EditContentType"/>
     </request-map>
     <request-map uri="removeContentType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentType" path=""/>
+        <event invoke="removeContentType" path="" type="service"/>
         <response name="success" type="view" value="EditContentType"/>
         <response name="error" type="view" value="EditContentType"/>
     </request-map>
@@ -488,19 +488,19 @@ under the License.
     </request-map>
     <request-map uri="addContentRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentRole" path=""/>
+        <event invoke="createContentRole" path="" type="service"/>
         <response name="success" type="view" value="EditContentRole"/>
         <response name="error" type="view" value="EditContentRole"/>
     </request-map>
     <request-map uri="updateContentRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentRole" path=""/>
+        <event invoke="updateContentRole" path="" type="service"/>
         <response name="success" type="view" value="EditContentRole"/>
         <response name="error" type="view" value="EditContentRole"/>
     </request-map>
     <request-map uri="removeContentRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentRole" path=""/>
+        <event invoke="removeContentRole" path="" type="service"/>
         <response name="success" type="view" value="EditContentRole"/>
         <response name="error" type="view" value="EditContentRole"/>
     </request-map>
@@ -512,19 +512,19 @@ under the License.
     </request-map>
     <request-map uri="addContentAssocType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentAssocType" path=""/>
+        <event invoke="createContentAssocType" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssocType"/>
         <response name="error" type="view" value="EditContentAssocType"/>
     </request-map>
     <request-map uri="updateContentAssocType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentAssocType" path=""/>
+        <event invoke="updateContentAssocType" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssocType"/>
         <response name="error" type="view" value="EditContentAssocType"/>
     </request-map>
     <request-map uri="removeContentAssocType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentAssocType" path=""/>
+        <event invoke="removeContentAssocType" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssocType"/>
         <response name="error" type="view" value="EditContentAssocType"/>
     </request-map>
@@ -536,19 +536,19 @@ under the License.
     </request-map>
     <request-map uri="addContentPurposeType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentPurposeType" path=""/>
+        <event invoke="createContentPurposeType" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurposeType"/>
         <response name="error" type="view" value="EditContentPurposeType"/>
     </request-map>
     <request-map uri="updateContentPurposeType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentPurposeType" path=""/>
+        <event invoke="updateContentPurposeType" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurposeType"/>
         <response name="error" type="view" value="EditContentPurposeType"/>
     </request-map>
     <request-map uri="removeContentPurposeType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentPurposeType" path=""/>
+        <event invoke="removeContentPurposeType" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurposeType"/>
         <response name="error" type="view" value="EditContentPurposeType"/>
     </request-map>
@@ -560,13 +560,13 @@ under the License.
     </request-map>
     <request-map uri="addContentTypeAttr">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentTypeAttr" path=""/>
+        <event invoke="createContentTypeAttr" path="" type="service"/>
         <response name="success" type="view" value="EditContentTypeAttr"/>
         <response name="error" type="view" value="EditContentTypeAttr"/>
     </request-map>
     <request-map uri="removeContentTypeAttr">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentTypeAttr" path=""/>
+        <event invoke="removeContentTypeAttr" path="" type="service"/>
         <response name="success" type="view" value="EditContentTypeAttr"/>
         <response name="error" type="view" value="EditContentTypeAttr"/>
     </request-map>
@@ -578,19 +578,19 @@ under the License.
     </request-map>
     <request-map uri="addContentAssocPredicate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentAssocPredicate" path=""/>
+        <event invoke="createContentAssocPredicate" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssocPredicate"/>
         <response name="error" type="view" value="EditContentAssocPredicate"/>
     </request-map>
     <request-map uri="updateContentAssocPredicate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentAssocPredicate" path=""/>
+        <event invoke="updateContentAssocPredicate" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssocPredicate"/>
         <response name="error" type="view" value="EditContentAssocPredicate"/>
     </request-map>
     <request-map uri="removeContentAssocPredicate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentAssocPredicate" path=""/>
+        <event invoke="removeContentAssocPredicate" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssocPredicate"/>
         <response name="error" type="view" value="EditContentAssocPredicate"/>
     </request-map>
@@ -602,19 +602,19 @@ under the License.
     </request-map>
     <request-map uri="addCharacterSet">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createCharacterSet" path=""/>
+        <event invoke="createCharacterSet" path="" type="service"/>
         <response name="success" type="view" value="EditCharacterSet"/>
         <response name="error" type="view" value="EditCharacterSet"/>
     </request-map>
     <request-map uri="updateCharacterSet">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateCharacterSet" path=""/>
+        <event invoke="updateCharacterSet" path="" type="service"/>
         <response name="success" type="view" value="EditCharacterSet"/>
         <response name="error" type="view" value="EditCharacterSet"/>
     </request-map>
     <request-map uri="removeCharacterSet">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeCharacterSet" path=""/>
+        <event invoke="removeCharacterSet" path="" type="service"/>
         <response name="success" type="view" value="EditCharacterSet"/>
         <response name="error" type="view" value="EditCharacterSet"/>
     </request-map>
@@ -626,19 +626,19 @@ under the License.
     </request-map>
     <request-map uri="addDataCategory">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createDataCategory" path=""/>
+        <event invoke="createDataCategory" path="" type="service"/>
         <response name="success" type="view" value="EditDataCategory"/>
         <response name="error" type="view" value="EditDataCategory"/>
     </request-map>
     <request-map uri="updateDataCategory">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateDataCategory" path=""/>
+        <event invoke="updateDataCategory" path="" type="service"/>
         <response name="success" type="view" value="EditDataCategory"/>
         <response name="error" type="view" value="EditDataCategory"/>
     </request-map>
     <request-map uri="removeDataCategory">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeDataCategory" path=""/>
+        <event invoke="removeDataCategory" path="" type="service"/>
         <response name="success" type="view" value="EditDataCategory"/>
         <response name="error" type="view" value="EditDataCategory"/>
     </request-map>
@@ -669,19 +669,19 @@ under the License.
     </request-map>
     <request-map uri="addDataResourceType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createDataResourceType" path=""/>
+        <event invoke="createDataResourceType" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceType"/>
         <response name="error" type="view" value="EditDataResourceType"/>
     </request-map>
     <request-map uri="updateDataResourceType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateDataResourceType" path=""/>
+        <event invoke="updateDataResourceType" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceType"/>
         <response name="error" type="view" value="EditDataResourceType"/>
     </request-map>
     <request-map uri="removeDataResourceType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeDataResourceType" path=""/>
+        <event invoke="removeDataResourceType" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceType"/>
         <response name="error" type="view" value="EditDataResourceType"/>
     </request-map>
@@ -693,19 +693,19 @@ under the License.
     </request-map>
     <request-map uri="addDataResourceAttribute">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createDataResourceAttribute" path=""/>
+        <event invoke="createDataResourceAttribute" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceAttribute"/>
         <response name="error" type="view" value="EditDataResourceAttribute"/>
     </request-map>
     <request-map uri="updateDataResourceAttribute">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateDataResourceAttribute" path=""/>
+        <event invoke="updateDataResourceAttribute" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceAttribute"/>
         <response name="error" type="view" value="EditDataResourceAttribute"/>
     </request-map>
     <request-map uri="removeDataResourceAttribute">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeDataResourceAttribute" path=""/>
+        <event invoke="removeDataResourceAttribute" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceAttribute"/>
         <response name="error" type="view" value="EditDataResourceAttribute"/>
     </request-map>
@@ -721,31 +721,31 @@ under the License.
     </request-map>
     <request-map uri="addElectronicText">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createElectronicText" path=""/>
+        <event invoke="createElectronicText" path="" type="service"/>
         <response name="success" type="view" value="EditElectronicText"/>
         <response name="error" type="view" value="EditElectronicText"/>
     </request-map>
     <request-map uri="updateElectronicText">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateElectronicText" path=""/>
+        <event invoke="updateElectronicText" path="" type="service"/>
         <response name="success" type="view" value="EditElectronicText"/>
         <response name="error" type="view" value="EditElectronicText"/>
     </request-map>
     <request-map uri="addHtmlText">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createElectronicText" path=""/>
+        <event invoke="createElectronicText" path="" type="service"/>
         <response name="success" type="view" value="EditHtmlText"/>
         <response name="error" type="view" value="EditHtmlText"/>
     </request-map>
     <request-map uri="updateHtmlText">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateElectronicText" path=""/>
+        <event invoke="updateElectronicText" path="" type="service"/>
         <response name="success" type="view" value="EditHtmlText"/>
         <response name="error" type="view" value="EditHtmlText"/>
     </request-map>
     <request-map uri="removeElectronicText">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeElectronicText" path=""/>
+        <event invoke="removeElectronicText" path="" type="service"/>
         <response name="success" type="view" value="EditElectronicText"/>
         <response name="error" type="view" value="EditElectronicText"/>
     </request-map>
@@ -757,19 +757,19 @@ under the License.
     </request-map>
     <request-map uri="addDataResourceRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createDataResourceRole" path=""/>
+        <event invoke="createDataResourceRole" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceRole"/>
         <response name="error" type="view" value="EditDataResourceRole"/>
     </request-map>
     <request-map uri="updateDataResourceRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateDataResourceRole" path=""/>
+        <event invoke="updateDataResourceRole" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceRole"/>
         <response name="error" type="view" value="EditDataResourceRole"/>
     </request-map>
     <request-map uri="removeDataResourceRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeDataResourceRole" path=""/>
+        <event invoke="removeDataResourceRole" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceRole"/>
         <response name="error" type="view" value="EditDataResourceRole"/>
     </request-map>
@@ -781,13 +781,13 @@ under the License.
     </request-map>
     <request-map uri="createDataResourceProductFeature">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createProductFeatureDataResource" path=""/>
+        <event invoke="createProductFeatureDataResource" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceProductFeatures"/>
         <response name="error" type="view" value="EditDataResourceProductFeatures"/>
     </request-map>
     <request-map uri="removeDataResourceProductFeature">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeProductFeatureDataResource" path=""/>
+        <event invoke="removeProductFeatureDataResource" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceProductFeatures"/>
         <response name="error" type="view" value="EditDataResourceProductFeatures"/>
     </request-map>
@@ -799,13 +799,13 @@ under the License.
     </request-map>
     <request-map uri="addDataResourceTypeAttr">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createDataResourceTypeAttr" path=""/>
+        <event invoke="createDataResourceTypeAttr" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceTypeAttr"/>
         <response name="error" type="view" value="EditDataResourceTypeAttr"/>
     </request-map>
     <request-map uri="removeDataResourceTypeAttr">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeDataResourceTypeAttr" path=""/>
+        <event invoke="removeDataResourceTypeAttr" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceTypeAttr"/>
         <response name="error" type="view" value="EditDataResourceTypeAttr"/>
     </request-map>
@@ -817,19 +817,19 @@ under the License.
     </request-map>
     <request-map uri="addFileExtension">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createFileExtension" path=""/>
+        <event invoke="createFileExtension" path="" type="service"/>
         <response name="success" type="view" value="EditFileExtension"/>
         <response name="error" type="view" value="EditFileExtension"/>
     </request-map>
     <request-map uri="updateFileExtension">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateFileExtension" path=""/>
+        <event invoke="updateFileExtension" path="" type="service"/>
         <response name="success" type="view" value="EditFileExtension"/>
         <response name="error" type="view" value="EditFileExtension"/>
     </request-map>
     <request-map uri="removeFileExtension">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeFileExtension" path=""/>
+        <event invoke="removeFileExtension" path="" type="service"/>
         <response name="success" type="view" value="EditFileExtension"/>
         <response name="error" type="view" value="EditFileExtension"/>
     </request-map>
@@ -841,19 +841,19 @@ under the License.
     </request-map>
     <request-map uri="addMetaDataPredicate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createMetaDataPredicate" path=""/>
+        <event invoke="createMetaDataPredicate" path="" type="service"/>
         <response name="success" type="view" value="EditMetaDataPredicate"/>
         <response name="error" type="view" value="EditMetaDataPredicate"/>
     </request-map>
     <request-map uri="updateMetaDataPredicate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateMetaDataPredicate" path=""/>
+        <event invoke="updateMetaDataPredicate" path="" type="service"/>
         <response name="success" type="view" value="EditMetaDataPredicate"/>
         <response name="error" type="view" value="EditMetaDataPredicate"/>
     </request-map>
     <request-map uri="removeMetaDataPredicate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeMetaDataPredicate" path=""/>
+        <event invoke="removeMetaDataPredicate" path="" type="service"/>
         <response name="success" type="view" value="EditMetaDataPredicate"/>
         <response name="error" type="view" value="EditMetaDataPredicate"/>
     </request-map>
@@ -865,19 +865,19 @@ under the License.
     </request-map>
     <request-map uri="addMimeType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createMimeType" path=""/>
+        <event invoke="createMimeType" path="" type="service"/>
         <response name="success" type="view" value="EditMimeType"/>
         <response name="error" type="view" value="EditMimeType"/>
     </request-map>
     <request-map uri="updateMimeType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateMimeType" path=""/>
+        <event invoke="updateMimeType" path="" type="service"/>
         <response name="success" type="view" value="EditMimeType"/>
         <response name="error" type="view" value="EditMimeType"/>
     </request-map>
     <request-map uri="removeMimeType">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeMimeType" path=""/>
+        <event invoke="removeMimeType" path="" type="service"/>
         <response name="success" type="view" value="EditMimeType"/>
         <response name="error" type="view" value="EditMimeType"/>
     </request-map>
@@ -889,19 +889,19 @@ under the License.
     </request-map>
     <request-map uri="createMimeTypeHtmlTemplate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createMimeTypeHtmlTemplate" path=""/>
+        <event invoke="createMimeTypeHtmlTemplate" path="" type="service"/>
         <response name="success" type="view" value="EditMimeTypeHtmlTemplate"/>
         <response name="error" type="view" value="EditMimeTypeHtmlTemplate"/>
     </request-map>
     <request-map uri="updateMimeTypeHtmlTemplate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateMimeTypeHtmlTemplate" path=""/>
+        <event invoke="updateMimeTypeHtmlTemplate" path="" type="service"/>
         <response name="success" type="view" value="EditMimeTypeHtmlTemplate"/>
         <response name="error" type="view" value="EditMimeTypeHtmlTemplate"/>
     </request-map>
     <request-map uri="removeMimeTypeHtmlTemplate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeMimeTypeHtmlTemplate" path=""/>
+        <event invoke="removeMimeTypeHtmlTemplate" path="" type="service"/>
         <response name="success" type="view" value="EditMimeTypeHtmlTemplate"/>
         <response name="error" type="view" value="EditMimeTypeHtmlTemplate"/>
     </request-map>
@@ -926,13 +926,13 @@ under the License.
     </request-map>
     <request-map uri="updateContent">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContent"/>
+        <event invoke="updateContent" type="service"/>
         <response name="success" type="view" value="EditContent"/>
         <response name="error" type="view" value="EditContent"/>
     </request-map>
     <request-map uri="createContent">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContent"/>
+        <event invoke="createContent" type="service"/>
         <response name="success" type="view" value="EditContent"/>
         <response name="error" type="view" value="EditContent"/>
     </request-map>
@@ -948,19 +948,19 @@ under the License.
     </request-map>
     <request-map uri="updateContentAssoc">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentAssoc" path=""/>
+        <event invoke="updateContentAssoc" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssoc"/>
         <response name="error" type="view" value="EditContentAssoc"/>
     </request-map>
     <request-map uri="createContentAssoc">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentAssoc" path=""/>
+        <event invoke="createContentAssoc" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssoc"/>
         <response name="error" type="view" value="EditContentAssoc"/>
     </request-map>
     <request-map uri="removeContentAssoc">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentAssoc" path=""/>
+        <event invoke="removeContentAssoc" path="" type="service"/>
         <response name="success" type="view" value="EditContentAssoc"/>
         <response name="error" type="view" value="EditContentAssoc"/>
     </request-map>
@@ -977,13 +977,13 @@ under the License.
     <request-map uri="AddDataResourceFromContent"><security auth="true" https="true"/><response name="success" type="view" value="AddDataResourceFromContent"/></request-map>
     <request-map uri="updateDataResourceText">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateDataResource" path=""/>
+        <event invoke="updateDataResource" path="" type="service"/>
         <response name="success" type="request" value="EditDataResource"/>
         <response name="error" type="view" value="EditDataResource"/>
     </request-map>
     <request-map uri="updateDataResource">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateDataResource" path=""/>
+        <event invoke="updateDataResource" path="" type="service"/>
         <response name="success" type="view" value="EditDataResource"/>
         <response name="error" type="view" value="EditDataResource"/>
     </request-map>
@@ -997,7 +997,7 @@ under the License.
     </request-map>
     <request-map uri="createDataResourceAndAssocToContent">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createDataResourceAndAssocToContent" path=""/>
+        <event invoke="createDataResourceAndAssocToContent" path="" type="service"/>
         <response name="success" type="view" value="EditContent"/>
         <response name="ELECTRONIC_TEXT" type="view" value="EditElectronicText"/>
         <response name="IMAGE_OBJECT" type="view" value="UploadImage"/>
@@ -1005,13 +1005,13 @@ under the License.
     </request-map>
     <request-map uri="createDataResourceUpload">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createDataResource" path=""/>
+        <event invoke="createDataResource" path="" type="service"/>
         <response name="success" type="request" value="EditDataResourceUpload"/>
         <response name="error" type="view" value="AddDataResourceUpload"/>
     </request-map>
     <request-map uri="createDataResourceAndText">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createDataResourceAndText" path=""/>
+        <event invoke="createDataResourceAndText" path="" type="service"/>
         <response name="success" type="view" value="EditDataResourceText"/>
         <response name="error" type="view" value="AddDataResourceText"/>
     </request-map>
@@ -1023,7 +1023,7 @@ under the License.
         <!--
         <event type="java" path="org.apache.ofbiz.content.data.DataEvents" invoke="uploadImage"/>
             -->
-        <event type="service" invoke="persistContentAndAssoc" path=""/>
+        <event invoke="persistContentAndAssoc" path="" type="service"/>
         <response name="success" type="request" value="UploadImage"/>
         <response name="error" type="view" value="UploadImage"/>
     </request-map>
@@ -1038,19 +1038,19 @@ under the License.
     <request-map uri="EditContentOperation"><security auth="true" https="true"/><response name="success" type="view" value="EditContentOperation"/></request-map>
     <request-map uri="addContentOperation">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentOperation" path=""/>
+        <event invoke="createContentOperation" path="" type="service"/>
         <response name="success" type="view" value="EditContentOperation"/>
         <response name="error" type="view" value="EditContentOperation"/>
     </request-map>
     <request-map uri="updateContentOperation">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentOperation" path=""/>
+        <event invoke="updateContentOperation" path="" type="service"/>
         <response name="success" type="view" value="EditContentOperation"/>
         <response name="error" type="view" value="EditContentOperation"/>
     </request-map>
     <request-map uri="removeContentOperation">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentOperation" path=""/>
+        <event invoke="removeContentOperation" path="" type="service"/>
         <response name="success" type="view" value="EditContentOperation"/>
         <response name="error" type="view" value="EditContentOperation"/>
     </request-map>
@@ -1059,19 +1059,19 @@ under the License.
     <request-map uri="EditContentAttribute"><security auth="true" https="true"/><response name="success" type="view" value="EditContentAttribute"/></request-map>
     <request-map uri="addContentAttribute">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentAttribute" path=""/>
+        <event invoke="createContentAttribute" path="" type="service"/>
         <response name="success" type="view" value="EditContentAttribute"/>
         <response name="error" type="view" value="EditContentAttribute"/>
     </request-map>
     <request-map uri="updateContentAttribute">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentAttribute" path=""/>
+        <event invoke="updateContentAttribute" path="" type="service"/>
         <response name="success" type="view" value="EditContentAttribute"/>
         <response name="error" type="view" value="EditContentAttribute"/>
     </request-map>
     <request-map uri="removeContentAttribute">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentAttribute" path=""/>
+        <event invoke="removeContentAttribute" path="" type="service"/>
         <response name="success" type="view" value="EditContentAttribute"/>
         <response name="error" type="view" value="EditContentAttribute"/>
     </request-map>
@@ -1081,19 +1081,19 @@ under the License.
     <request-map uri="EditContentMetaData"><security auth="true" https="true"/><response name="success" type="view" value="EditContentMetaData"/></request-map>
     <request-map uri="addContentMetaData">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentMetaData" path=""/>
+        <event invoke="createContentMetaData" path="" type="service"/>
         <response name="success" type="view" value="EditContentMetaData"/>
         <response name="error" type="view" value="EditContentMetaData"/>
     </request-map>
     <request-map uri="updateContentMetaData">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentMetaData" path=""/>
+        <event invoke="updateContentMetaData" path="" type="service"/>
         <response name="success" type="view" value="EditContentMetaData"/>
         <response name="error" type="view" value="EditContentMetaData"/>
     </request-map>
     <request-map uri="removeContentMetaData">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentMetaData" path=""/>
+        <event invoke="removeContentMetaData" path="" type="service"/>
         <response name="success" type="view" value="EditContentMetaData"/>
         <response name="error" type="view" value="EditContentMetaData"/>
     </request-map>
@@ -1103,19 +1103,19 @@ under the License.
     <request-map uri="EditContentPurpose"><security auth="true" https="true"/><response name="success" type="view" value="EditContentPurpose"/></request-map>
     <request-map uri="addContentPurpose">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentPurpose" path=""/>
+        <event invoke="createContentPurpose" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurpose"/>
         <response name="error" type="view" value="EditContentPurpose"/>
     </request-map>
     <request-map uri="updateContentPurpose">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentPurpose" path=""/>
+        <event invoke="updateContentPurpose" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurpose"/>
         <response name="error" type="view" value="EditContentPurpose"/>
     </request-map>
     <request-map uri="removeContentPurpose">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentPurpose" path=""/>
+        <event invoke="removeContentPurpose" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurpose"/>
         <response name="error" type="view" value="EditContentPurpose"/>
     </request-map>
@@ -1125,19 +1125,19 @@ under the License.
     <request-map uri="EditContentPurposeOperation"><security auth="true" https="true"/><response name="success" type="view" value="EditContentPurposeOperation"/></request-map>
     <request-map uri="addContentPurposeOperation">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentPurposeOperation" path=""/>
+        <event invoke="createContentPurposeOperation" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurposeOperation"/>
         <response name="error" type="view" value="EditContentPurposeOperation"/>
     </request-map>
     <request-map uri="updateContentPurposeOperation">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentPurposeOperation" path=""/>
+        <event invoke="updateContentPurposeOperation" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurposeOperation"/>
         <response name="error" type="view" value="EditContentPurposeOperation"/>
     </request-map>
     <request-map uri="removeContentPurposeOperation">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentPurposeOperation" path=""/>
+        <event invoke="removeContentPurposeOperation" path="" type="service"/>
         <response name="success" type="view" value="EditContentPurposeOperation"/>
         <response name="error" type="view" value="EditContentPurposeOperation"/>
     </request-map>
@@ -1149,21 +1149,21 @@ under the License.
     </request-map>
     <request-map uri="createWorkEffortContent">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createWorkEffortContent" path=""/>
+        <event invoke="createWorkEffortContent" path="" type="service"/>
         <response name="success" type="view" value="EditContentWorkEfforts"/>
         <response name="error" type="view" value="EditContentWorkEfforts"/>
     </request-map>
 
     <request-map uri="updateWorkEffortContent">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateWorkEffortContent" path=""/>
+        <event invoke="updateWorkEffortContent" path="" type="service"/>
         <response name="success" type="view" value="EditContentWorkEfforts"/>
         <response name="error" type="view" value="EditContentWorkEfforts"/>
     </request-map>
 
     <request-map uri="deleteWorkEffortContent">
         <security auth="true" https="true"/>
-        <event type="service" invoke="deleteWorkEffortContent" path=""/>
+        <event invoke="deleteWorkEffortContent" path="" type="service"/>
         <response name="success" type="view" value="EditContentWorkEfforts"/>
         <response name="error" type="view" value="EditContentWorkEfforts"/>
     </request-map>
@@ -1186,61 +1186,61 @@ under the License.
 
     <request-map uri="createCompDocTemplate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistContentAndAssoc" path=""/>
+        <event invoke="persistContentAndAssoc" path="" type="service"/>
         <response name="success" type="view" value="EditRootCompDoc"/>
         <response name="error" type="view" value="EditRootCompDoc"/>
     </request-map>
     <request-map uri="updateCompDoc">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistContentAndAssoc" path=""/>
+        <event invoke="persistContentAndAssoc" path="" type="service"/>
         <response name="success" type="view" value="EditChildCompDoc"/>
         <response name="error" type="view" value="EditChildCompDoc"/>
     </request-map>
     <request-map uri="persistCompDocPdf2Survey">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistCompDocPdf2Survey" path=""/>
+        <event invoke="persistCompDocPdf2Survey" path="" type="service"/>
         <response name="success" type="view" value="EditChildCompDoc"/>
         <response name="error" type="view" value="EditChildCompDoc"/>
     </request-map>
     <request-map uri="createCompDoc">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistContentAndAssoc"  path=""/>
+        <event invoke="persistContentAndAssoc"  path="" type="service"/>
         <response name="success" type="view" value="EditChildCompDoc"/>
         <response name="error" type="view" value="EditChildCompDoc"/>
     </request-map>
     <request-map uri="updateRootCompDocTemplate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistCompDoc"  path=""/>
+        <event invoke="persistCompDoc"  path="" type="service"/>
         <response name="success" type="view" value="EditRootCompDoc"/>
         <response name="error" type="view" value="EditRootCompDoc"/>
     </request-map>
     <request-map uri="createRootCompDocTemplate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistCompDoc"  path=""/>
+        <event invoke="persistCompDoc"  path="" type="service"/>
         <response name="success" type="view" value="EditRootCompDoc"/>
         <response name="error" type="view" value="AddRootCompDocTemplate"/>
     </request-map>
     <request-map uri="createChildCompDocTemplate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistCompDoc"  path=""/>
+        <event invoke="persistCompDoc"  path="" type="service"/>
         <response name="success" type="view" value="EditChildCompDoc"/>
         <response name="error" type="view" value="AddChildCompDocTemplate"/>
     </request-map>
     <request-map uri="createChildCompDocInstance">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistCompDoc"  path=""/>
+        <event invoke="persistCompDoc"  path="" type="service"/>
         <response name="success" type="view" value="EditChildCompDoc"/>
         <response name="error" type="view" value="AddChildCompDocInstance"/>
     </request-map>
     <request-map uri="updateChildCompDocTemplate">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistCompDoc"  path=""/>
+        <event invoke="persistCompDoc"  path="" type="service"/>
         <response name="success" type="view" value="EditChildCompDoc"/>
         <response name="error" type="view" value="EditChildCompDoc"/>
     </request-map>
     <request-map uri="uploadCompDocContent">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistCompDocContent"  path=""/>
+        <event invoke="persistCompDocContent"  path="" type="service"/>
         <response name="success" type="view" value="EditChildCompDoc"/>
         <response name="error" type="view" value="EditChildCompDoc"/>
     </request-map>
@@ -1250,33 +1250,33 @@ under the License.
     </request-map>
     <request-map uri="updateChildCompDocInstance">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistCompDoc"  path=""/>
+        <event invoke="persistCompDoc"  path="" type="service"/>
         <response name="success" type="view" value="EditChildCompDoc"/>
         <response name="error" type="view" value="EditChildCompDoc"/>
     </request-map>
     <request-map uri="genCompDocInstance">
         <security auth="true" https="true"/>
-        <event type="service" invoke="genCompDocInstance"  path=""/>
+        <event invoke="genCompDocInstance"  path="" type="service"/>
         <response name="success" type="view" value="EditRootCompDoc"/>
         <response name="error" type="view" value="AddRootCompDocInstance"/>
     </request-map>
 
     <request-map uri="resequenceCompDocPart">
         <security auth="true" https="true"/>
-        <event type="service" invoke="resequence"  path=""/>
+        <event invoke="resequence"  path="" type="service"/>
         <response name="success" type="view" value="ViewCompDocTemplateTree"/>
         <response name="error" type="view" value="ViewCompDocTemplateTree"/>
     </request-map>
 
     <request-map uri="GenCompDocPdf">
         <security auth="true" https="true"/>
-        <event type="java" invoke="genCompDocPdf"  path="org.apache.ofbiz.content.compdoc.CompDocEvents"/>
+        <event invoke="genCompDocPdf"  path="org.apache.ofbiz.content.compdoc.CompDocEvents" type="java"/>
         <response name="success" type="none" value=""/>
         <response name="error" type="view" value="error"/>
     </request-map>
     <request-map uri="GenContentPdf">
         <security auth="true" https="true"/>
-        <event type="java" invoke="genContentPdf"  path="org.apache.ofbiz.content.compdoc.CompDocEvents"/>
+        <event invoke="genContentPdf"  path="org.apache.ofbiz.content.compdoc.CompDocEvents" type="java"/>
         <response name="success" type="none" value=""/>
         <response name="error" type="view" value="error"/>
     </request-map>
@@ -1284,19 +1284,19 @@ under the License.
     <request-map uri="EditCompDocContentRole"><security auth="true" https="true"/><response name="success" type="view" value="EditCompDocContentRole"/></request-map>
     <request-map uri="addCompDocContentRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentRole" path=""/>
+        <event invoke="createContentRole" path="" type="service"/>
         <response name="success" type="view" value="EditCompDocContentRole"/>
         <response name="error" type="view" value="EditCompDocContentRole"/>
     </request-map>
     <request-map uri="updateCompDocContentRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentRole" path=""/>
+        <event invoke="updateContentRole" path="" type="service"/>
         <response name="success" type="view" value="EditCompDocContentRole"/>
         <response name="error" type="view" value="EditCompDocContentRole"/>
     </request-map>
     <request-map uri="removeCompDocContentRole">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentRole" path=""/>
+        <event invoke="removeContentRole" path="" type="service"/>
         <response name="success" type="view" value="EditCompDocContentRole"/>
         <response name="error" type="view" value="EditCompDocContentRole"/>
     </request-map>
@@ -1308,38 +1308,38 @@ under the License.
     <request-map uri="EditContentApproval"><security auth="true" https="true"/><response name="success" type="view" value="EditContentApproval"/></request-map>
     <request-map uri="createContentApproval">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentApproval" path=""/>
+        <event invoke="createContentApproval" path="" type="service"/>
         <response name="success" type="view" value="ListContentApproval"/>
         <response name="error" type="view" value="ListContentApproval"/>
     </request-map>
     <request-map uri="updateContentApproval">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentApproval" path=""/>
+        <event invoke="updateContentApproval" path="" type="service"/>
         <response name="success" type="view" value="ListContentApproval"/>
         <response name="error" type="view" value="ListContentApproval"/>
     </request-map>
     <request-map uri="updateContentApprovalStatus">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentApproval" path=""/>
+        <event invoke="updateContentApproval" path="" type="service"/>
         <response name="success" type="view" value="ListContentApproval"/>
         <response name="error" type="view" value="ListContentApproval"/>
     </request-map>
     <request-map uri="updateWaitingContentApproval">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentApproval" path=""/>
+        <event invoke="updateContentApproval" path="" type="service"/>
         <response name="success" type="view" value="ListWaitingContentApproval"/>
         <response name="error" type="view" value="ListWaitingContentApproval"/>
     </request-map>
     <request-map uri="removeContentApproval">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentApproval" path=""/>
+        <event invoke="removeContentApproval" path="" type="service"/>
         <response name="success" type="view" value="ListContentApproval"/>
         <response name="error" type="view" value="ListContentApproval"/>
     </request-map>
 
     <request-map uri="prepForApproval">
         <security auth="true" https="true"/>
-        <event type="service" invoke="prepForApproval" path=""/>
+        <event invoke="prepForApproval" path="" type="service"/>
         <response name="success" type="view" value="ViewCompDocInstanceTree"/>
         <response name="error" type="view" value="ViewCompDocInstanceTree"/>
     </request-map>
@@ -1349,19 +1349,19 @@ under the License.
     <request-map uri="EditContentRevision"><security auth="true" https="true"/><response name="success" type="view" value="EditContentRevision"/></request-map>
     <request-map uri="createContentRevision">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentRevision" path=""/>
+        <event invoke="createContentRevision" path="" type="service"/>
         <response name="success" type="view" value="EditContentRevision"/>
         <response name="error" type="view" value="EditContentRevision"/>
     </request-map>
     <request-map uri="updateContentRevision">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentRevision" path=""/>
+        <event invoke="updateContentRevision" path="" type="service"/>
         <response name="success" type="view" value="EditContentRevision"/>
         <response name="error" type="view" value="EditContentRevision"/>
     </request-map>
     <request-map uri="removeContentRevision">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentRevision" path=""/>
+        <event invoke="removeContentRevision" path="" type="service"/>
         <response name="success" type="view" value="EditContentRevision"/>
         <response name="error" type="view" value="EditContentRevision"/>
     </request-map>
@@ -1371,19 +1371,19 @@ under the License.
     <request-map uri="EditContentRevisionItem"><security auth="true" https="true"/><response name="success" type="view" value="EditContentRevisionItem"/></request-map>
     <request-map uri="createContentRevisionItem">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createContentRevisionItem" path=""/>
+        <event invoke="createContentRevisionItem" path="" type="service"/>
         <response name="success" type="view" value="EditContentRevisionItem"/>
         <response name="error" type="view" value="EditContentRevisionItem"/>
     </request-map>
     <request-map uri="updateContentRevisionItem">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContentRevisionItem" path=""/>
+        <event invoke="updateContentRevisionItem" path="" type="service"/>
         <response name="success" type="view" value="EditContentRevisionItem"/>
         <response name="error" type="view" value="EditContentRevisionItem"/>
     </request-map>
     <request-map uri="removeContentRevisionItem">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentRevisionItem" path=""/>
+        <event invoke="removeContentRevisionItem" path="" type="service"/>
         <response name="success" type="view" value="EditContentRevisionItem"/>
         <response name="error" type="view" value="EditContentRevisionItem"/>
     </request-map>
@@ -1397,31 +1397,31 @@ under the License.
     <request-map uri="EditSurvey"><security auth="true" https="true"/><response name="success" type="view" value="EditSurvey"/></request-map>
     <request-map uri="createSurvey">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createSurvey" path=""/>
+        <event invoke="createSurvey" path="" type="service"/>
         <response name="success" type="view" value="EditSurvey"/>
         <response name="error" type="view" value="EditSurvey"/>
     </request-map>
     <request-map uri="updateSurvey">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateSurvey" path=""/>
+        <event invoke="updateSurvey" path="" type="service"/>
         <response name="success" type="view" value="EditSurvey"/>
         <response name="error" type="view" value="EditSurvey"/>
     </request-map>
     <request-map uri="buildSurveyFromPdf">
         <security auth="true" https="true"/>
-        <event type="service" invoke="buildSurveyFromPdf" path=""/>
+        <event invoke="buildSurveyFromPdf" path="" type="service"/>
         <response name="success" type="view" value="EditSurvey"/>
         <response name="error" type="view" value="EditSurvey"/>
     </request-map>
     <request-map uri="buildSurveyResponseFromPdf">
         <security auth="true" https="true"/>
-        <event type="service" invoke="buildSurveyResponseFromPdf" path=""/>
+        <event invoke="buildSurveyResponseFromPdf" path="" type="service"/>
         <response name="success" type="view" value="EditSurveyResponse"/>
         <response name="error" type="view" value="EditSurveyResponse"/>
     </request-map>
     <request-map uri="deleteSurvey">
         <security auth="true" https="true"/>
-        <event type="service" invoke="deleteSurvey" path=""/>
+        <event invoke="deleteSurvey" path="" type="service"/>
         <response name="success" type="view" value="EditSurvey"/>
         <response name="error" type="view" value="EditSurvey"/>
     </request-map>
@@ -1430,37 +1430,37 @@ under the License.
     <request-map uri="EditSurveyMultiResps"><security auth="true" https="true"/><response name="success" type="view" value="EditSurveyMultiResps"/></request-map>
     <request-map uri="createSurveyMultiResp">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createSurveyMultiResp" path=""/>
+        <event invoke="createSurveyMultiResp" path="" type="service"/>
         <response name="success" type="view" value="EditSurveyMultiResps"/>
         <response name="error" type="view" value="EditSurveyMultiResps"/>
     </request-map>
     <request-map uri="updateSurveyMultiResp">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateSurveyMultiResp" path=""/>
+        <event invoke="updateSurveyMultiResp" path="" type="service"/>
         <response name="success" type="view" value="EditSurveyMultiResps"/>
         <response name="error" type="view" value="EditSurveyMultiResps"/>
     </request-map>
     <request-map uri="deleteSurveyMultiResp">
         <security auth="true" https="true"/>
-        <event type="service" invoke="deleteSurveyMultiResp" path=""/>
+        <event invoke="deleteSurveyMultiResp" path="" type="service"/>
         <response name="success" type="view" value="EditSurveyMultiResps"/>
         <response name="error" type="view" value="EditSurveyMultiResps"/>
     </request-map>
     <request-map uri="createSurveyMultiRespColumn">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createSurveyMultiRespColumn" path=""/>
+        <event invoke="createSurveyMultiRespColumn" path="" type="service"/>
         <response name="success" type="view" value="EditSurveyMultiResps"/>
         <response name="error" type="view" value="EditSurveyMultiResps"/>
     </request-map>
     <request-map uri="updateSurveyMultiRespColumn">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateSurveyMultiRespColumn" path=""/>
+        <event invoke="updateSurveyMultiRespColumn" path="" type="service"/>
         <response name="success" type="view" value="EditSurveyMultiResps"/>
         <response name="error" type="view" value="EditSurveyMultiResps"/>
     </request-map>
     <request-map uri="deleteSurveyMultiRespColumn">
         <security auth="true" https="true"/>
-        <event type="service" invoke="deleteSurveyMultiRespColumn" path=""/>
+        <event invoke="deleteSurveyMultiRespColumn" path="" type="service"/>
         <response name="success" type="view" value="EditSurveyMultiResps"/>
         <response name="error" type="view" value="EditSurveyMultiResps"/>
     </request-map>
@@ -1469,19 +1469,19 @@ under the License.
     <request-map uri="EditSurveyQuestions"><security auth="true" https="true"/><response name="success" type="view" value="EditSurveyQuestions"/></request-map>
     <request-map uri="createSurveyQuestion">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createSurveyQuestion"/>
+        <event invoke="createSurveyQuestion" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="updateSurveyQuestion">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateSurveyQuestion"/>
+        <event invoke="updateSurveyQuestion" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="deleteSurveyQuestion">
         <security auth="true" https="true"/>
-        <event type="service" invoke="deleteSurveyQuestion"/>
+        <event invoke="deleteSurveyQuestion" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
@@ -1489,19 +1489,19 @@ under the License.
     <!-- SurveyQuestionOption Requests -->
     <request-map uri="createSurveyQuestionOption">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createSurveyQuestionOption"/>
+        <event invoke="createSurveyQuestionOption" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="updateSurveyQuestionOption">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateSurveyQuestionOption"/>
+        <event invoke="updateSurveyQuestionOption" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="deleteSurveyQuestionOption">
         <security auth="true" https="true"/>
-        <event type="service" invoke="deleteSurveyQuestionOption"/>
+        <event invoke="deleteSurveyQuestionOption" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
@@ -1509,44 +1509,44 @@ under the License.
     <!-- SurveyQuestionCategory Requests -->
     <request-map uri="createSurveyQuestionCategory">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createSurveyQuestionCategory"/>
+        <event invoke="createSurveyQuestionCategory" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="createSurveyQuestionAppl">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createSurveyQuestionAppl"/>
+        <event invoke="createSurveyQuestionAppl" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="updateSurveyQuestionAppl">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateSurveyQuestionAppl"/>
+        <event invoke="updateSurveyQuestionAppl" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="removeSurveyQuestionAppl">
         <security auth="true" https="true"/>
-        <event type="service" invoke="deleteSurveyQuestionAppl"/>
+        <event invoke="deleteSurveyQuestionAppl" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
 
     <request-map uri="createSurveyPage">
         <security auth="true" https="true"/>
-        <event type="service" invoke="createSurveyPage"/>
+        <event invoke="createSurveyPage" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="updateSurveyPage">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateSurveyPage"/>
+        <event invoke="updateSurveyPage" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
     <request-map uri="removeSurveyPage">
         <security auth="true" https="true"/>
-        <event type="service" invoke="deleteSurveyPage"/>
+        <event invoke="deleteSurveyPage" type="service"/>
         <response name="success" type="view" value="EditSurveyQuestions"/>
         <response name="error" type="view" value="EditSurveyQuestions"/>
     </request-map>
@@ -1566,7 +1566,7 @@ under the License.
     <request-map uri="ListLayout"><security auth="true" https="true"/><response name="success" type="view" value="ListLayout"/></request-map>
     <request-map uri="clipFindLayout">
         <security auth="true" https="true"/>
-        <event type="java" invoke="copyToClip" path="org.apache.ofbiz.content.layout.LayoutEvents"/>
+        <event invoke="copyToClip" path="org.apache.ofbiz.content.layout.LayoutEvents" type="java"/>
         <response name="success" type="view" value="FindLayout"/>
         <response name="error" type="view" value="FindLayout"/>
     </request-map>
@@ -1575,43 +1575,43 @@ under the License.
     <request-map uri="AddLayout"><security auth="true" https="true"/><response name="success" type="view" value="AddLayout"/></request-map>
     <request-map uri="createLayout">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="createLayout" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="createLayout" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayout"/>
         <response name="error" type="view" value="AddLayout"/>
     </request-map>
     <request-map uri="updateLayout">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="updateLayout" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="updateLayout" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayout"/>
         <response name="error" type="view" value="EditLayout"/>
     </request-map>
     <request-map uri="createLayoutSubContent">
         <security auth="true" https="true"/>
-        <event type="java" invoke="createLayoutSubContent" path="org.apache.ofbiz.content.layout.LayoutEvents"/>
+        <event invoke="createLayoutSubContent" path="org.apache.ofbiz.content.layout.LayoutEvents" type="java"/>
         <response name="success" type="view" value="EditLayoutSubContent"/>
         <response name="error" type="view" value="EditLayoutSubContent"/>
     </request-map>
     <request-map uri="updateLayoutSubContent">
         <security auth="true" https="true"/>
-        <event type="java" invoke="updateLayoutSubContent" path="org.apache.ofbiz.content.layout.LayoutEvents"/>
+        <event invoke="updateLayoutSubContent" path="org.apache.ofbiz.content.layout.LayoutEvents" type="java"/>
         <response name="success" type="view" value="EditLayoutSubContent"/>
         <response name="error" type="view" value="EditLayoutSubContent"/>
     </request-map>
     <request-map uri="replaceSubContent">
         <security auth="true" https="true"/>
-        <event type="java" invoke="replaceSubContent" path="org.apache.ofbiz.content.layout.LayoutEvents"/>
+        <event invoke="replaceSubContent" path="org.apache.ofbiz.content.layout.LayoutEvents" type="java"/>
         <response name="success" type="view" value="EditLayout"/>
         <response name="error" type="view" value="EditLayout"/>
     </request-map>
     <request-map uri="pasteSubContent">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="pasteSubContent" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="pasteSubContent" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayout"/>
         <response name="error" type="view" value="EditLayout"/>
     </request-map>
     <request-map uri="removeLayout">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentAssoc" path=""/>
+        <event invoke="removeContentAssoc" path="" type="service"/>
         <response name="success" type="view" value="ListLayout"/>
         <response name="error" type="view" value="main"/>
     </request-map>
@@ -1621,62 +1621,62 @@ under the License.
     <request-map uri="EditLayoutUrl"><security auth="true" https="true"/><response name="success" type="view" value="EditLayoutUrl"/></request-map>
     <request-map uri="createLayoutText">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="createLayoutText" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="createLayoutText" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayoutText"/>
         <response name="error" type="view" value="EditLayoutText"/>
     </request-map>
     <request-map uri="EditLayoutSubContent"><security auth="true" https="true"/><response name="success" type="view" value="EditLayoutSubContent"/></request-map>
     <request-map uri="updateLayoutText">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="updateLayoutText" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="updateLayoutText" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayoutText"/>
         <response name="error" type="view" value="EditLayoutText"/>
     </request-map>
     <request-map uri="createLayoutHtml">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="createLayoutText" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="createLayoutText" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayoutHtml"/>
         <response name="error" type="view" value="EditLayoutHtml"/>
     </request-map>
     <request-map uri="updateLayoutHtml">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="updateLayoutText" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="updateLayoutText" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayoutHtml"/>
         <response name="error" type="view" value="EditLayoutHtml"/>
     </request-map>
     <request-map uri="createLayoutUrl">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="createLayoutUrl" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="createLayoutUrl" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayoutUrl"/>
         <response name="error" type="view" value="EditLayoutUrl"/>
     </request-map>
     <request-map uri="updateLayoutUrl">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="updateLayoutUrl" path="component://content/minilang/layout/LayoutEvents.xml"/>
+        <event invoke="updateLayoutUrl" path="component://content/minilang/layout/LayoutEvents.xml" type="simple"/>
         <response name="success" type="view" value="EditLayoutUrl"/>
         <response name="error" type="view" value="EditLayoutUrl"/>
     </request-map>
     <request-map uri="createLayoutImage">
         <security auth="true" https="true"/>
-        <event type="java" invoke="createLayoutImage" path="org.apache.ofbiz.content.layout.LayoutEvents"/>
+        <event invoke="createLayoutImage" path="org.apache.ofbiz.content.layout.LayoutEvents" type="java"/>
         <response name="success" type="view" value="EditLayoutImage"/>
         <response name="error" type="view" value="EditLayoutImage"/>
     </request-map>
     <request-map uri="updateLayoutImage">
         <security auth="true" https="true"/>
-        <event type="java" invoke="updateLayoutImage" path="org.apache.ofbiz.content.layout.LayoutEvents"/>
+        <event invoke="updateLayoutImage" path="org.apache.ofbiz.content.layout.LayoutEvents" type="java"/>
         <response name="success" type="view" value="EditLayoutImage"/>
         <response name="error" type="view" value="EditLayoutImage"/>
     </request-map>
     <request-map uri="updateLayoutImageOnly">
         <security auth="true" https="true"/>
-        <event type="java" invoke="updateLayoutImageOnly" path="org.apache.ofbiz.content.layout.LayoutEvents"/>
+        <event invoke="updateLayoutImageOnly" path="org.apache.ofbiz.content.layout.LayoutEvents" type="java"/>
         <response name="success" type="view" value="EditLayoutImage"/>
         <response name="error" type="view" value="EditLayoutImage"/>
     </request-map>
     <request-map uri="cloneLayout">
         <security auth="true" https="true"/>
-        <event type="java" invoke="cloneLayout" path="org.apache.ofbiz.content.layout.LayoutEvents"/>
+        <event invoke="cloneLayout" path="org.apache.ofbiz.content.layout.LayoutEvents" type="java"/>
         <response name="success" type="view" value="EditLayout"/>
         <response name="error" type="view" value="EditLayout"/>
     </request-map>
@@ -1728,20 +1728,20 @@ under the License.
     <request-map uri="EditAddContent"><security https="true" auth="true"/><response name="success" type="view" value="EditAddContent"/></request-map>
     <request-map uri="persistContentStuff">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistContentAndAssoc" path=""/>
+        <event invoke="persistContentAndAssoc" path="" type="service"/>
         <response name="success" type="view" value="EditAddContent"/>
         <response name="error" type="view" value="EditAddContent"/>
     </request-map>
     <request-map uri="EditAddSubContent"><security https="true" auth="true"/><response name="success" type="view" value="EditAddSubContent"/></request-map>
     <request-map uri="persistSubContentStuff">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistContentAndAssoc" path=""/>
+        <event invoke="persistContentAndAssoc" path="" type="service"/>
         <response name="success" type="view" value="EditAddContent"/>
         <response name="error" type="view" value="EditAddSubContent"/>
     </request-map>
     <request-map uri="persistContent">
         <security auth="true" https="true"/>
-        <event type="service" invoke="persistContentAndAssoc" path=""/>
+        <event invoke="persistContentAndAssoc" path="" type="service"/>
         <response name="success" type="view" value="CMSContentEdit"/>
         <response name="error" type="view" value="EditAddContent"/>
     </request-map>
@@ -1809,19 +1809,19 @@ under the License.
     </request-map>
     <request-map uri="updateDocumentTree">
         <security auth="true" https="true"/>
-        <event type="service" invoke="updateContent"/>
+        <event invoke="updateContent" type="service"/>
         <response name="success" type="request-redirect" value="navigateContent"/>
         <response name="error" type="view" value="navigateContent"/>
     </request-map>
     <request-map uri="removeDocumentFromTree">
         <security auth="true" https="true"/>
-        <event type="service" invoke="removeContentAssoc" path=""/>
+        <event invoke="removeContentAssoc" path="" type="service"/>
         <response name="success" type="request-redirect" value="navigateContent"/>
         <response name="error" type="view" value="navigateContent"/>
     </request-map>
     <request-map uri="addDocumentToTree">
         <security auth="true" https="true"/>
-        <event type="simple" invoke="createDocument" path="component://content/minilang/content/ContentEvents.xml"/>
+        <event invoke="createDocument" path="component://content/minilang/content/ContentEvents.xml" type="simple"/>
         <response name="success" type="request-redirect" value="navigateContent"/>
         <response name="error" type="request" value="navigateContent"/>
     </request-map>
@@ -1836,7 +1836,7 @@ under the License.
     
     <request-map uri="WebSiteCmsPreview">
         <security auth="true" https="true"/>
-        <event type="java" invoke="execute" path="org.apache.ofbiz.content.content.WebSiteCmsPreviewEvent"/>
+        <event invoke="execute" path="org.apache.ofbiz.content.content.WebSiteCmsPreviewEvent" type="java"/>
         <response name="success" type="none"/>
     </request-map>
     

Modified: ofbiz/branches/release16.11/applications/content/widget/cms/CMSForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/widget/cms/CMSForms.xml?rev=1772885&r1=1772884&r2=1772885&view=diff
==============================================================================
--- ofbiz/branches/release16.11/applications/content/widget/cms/CMSForms.xml (original)
+++ ofbiz/branches/release16.11/applications/content/widget/cms/CMSForms.xml Tue Dec  6 12:45:34 2016
@@ -79,9 +79,9 @@ under the License.
         </field>
         <field name="dataResourceId" title="${uiLabelMap.ContentDataResourceId}" >
             <drop-down allow-empty="false" no-current-selected-key="TEMPLATE_TEXT_ONLY">
-                <option key="${uiLabelMap.ContentTemplateTextOnly}" description="TEMPLATE_TEXT_ONLY"/>
-                <option key="${uiLabelMap.ContentTemplateImageCentered}" description="TEMPLATE_IMAGE_CENTERED"/>
-                <option key="${uiLabelMap.ContentTemplateImageLeft}" description="TEMPLATE_IMAGE_LEFT"/>
+                <option key="TEMPLATE_TEXT_ONLY" description="${uiLabelMap.ContentTemplateTextOnly}"/>
+                <option key="TEMPLATE_IMAGE_CENTERED" description="${uiLabelMap.ContentTemplateImageCentered}"/>
+                <option key="TEMPLATE_IMAGE_LEFT" description="${uiLabelMap.ContentTemplateImageLeft}"/>
             </drop-down>
         </field>
         <field name="ftlContentId" position="1">
@@ -209,13 +209,13 @@ under the License.
         </field>
         <field name="roleTypeId">
             <drop-down allow-empty="false">
-                <option key="${uiLabelMap.CommonNA}" description="_NA_"/>
+                <option key="_NA_" description="${uiLabelMap.CommonNA}"/>
                 <entity-options entity-name="RoleType" key-field-name="roleTypeId"/>
             </drop-down>
         </field>
         <field name="statusId">
             <drop-down allow-empty="false">
-                <option key="${uiLabelMap.CommonNA}" description="_NA_"/>
+                <option key="_NA_" description="${uiLabelMap.CommonNA}"/>
                 <entity-options
                     entity-name="StatusItem" key-field-name="statusId">
                     <entity-constraint name="statusTypeId" value="PUBLISH_STATUS"/>
@@ -224,7 +224,7 @@ under the License.
         </field>
         <field name="privilegeEnumId">
             <drop-down allow-empty="false">
-                <option key="${uiLabelMap.CommonNA}" description="_NA_"/>
+                <option key="_NA_" description="${uiLabelMap.CommonNA}"/>
                 <entity-options entity-name="Enumeration" key-field-name="enumId">
                     <entity-constraint name="enumTypeId" value="SUBSCRIPTION_TYPE"/>
                 </entity-options>

Modified: ofbiz/branches/release16.11/applications/content/widget/compdoc/CompDocForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/widget/compdoc/CompDocForms.xml?rev=1772885&r1=1772884&r2=1772885&view=diff
==============================================================================
--- ofbiz/branches/release16.11/applications/content/widget/compdoc/CompDocForms.xml (original)
+++ ofbiz/branches/release16.11/applications/content/widget/compdoc/CompDocForms.xml Tue Dec  6 12:45:34 2016
@@ -28,10 +28,10 @@ under the License.
         <field name="contentName"><text-find/></field>
         <field name="contentTypeId">
             <drop-down no-current-selected-key="COMPDOC_TEMPLATE">
-                <option key="${uiLabelMap.ContentTemplateRoot}" description="COMPDOC_TEMPLATE"/>
-                <option key="${uiLabelMap.ContentTemplateRootInstance}" description="COMPDOC_INSTANCE"/>
-                <option key="${uiLabelMap.ContentTemplateChild}" description="TEMPLATE"/>
-                <option key="${uiLabelMap.ContentTemplateInstanceChild}" description="DOCUMENT"/>
+                <option key="COMPDOC_TEMPLATE" description="${uiLabelMap.ContentTemplateRoot}"/>
+                <option key="COMPDOC_INSTANCE" description="${uiLabelMap.ContentTemplateRootInstance}"/>
+                <option key="TEMPLATE" description="${uiLabelMap.ContentTemplateChild}"/>
+                <option key="DOCUMENT" description="${uiLabelMap.ContentTemplateInstanceChild}"/>
             </drop-down>
         </field>
         <!-- <field name="rootonly" map-name="dummy" title="Root CompDocs Only"><check/></field> -->
@@ -239,9 +239,9 @@ under the License.
         </field>
         <field name="approvalStatusId" use-when="&quot;COMPDOC_INSTANCE&quot;.equals(contentTypeId)">
             <drop-down allow-empty="true">
-                <option key="${uiLabelMap.ContentSoftRejected}" description="SOFT_REJ"/>
-                <option key="${uiLabelMap.ContentRejected}" description="REJECTED"/>
-                <option key="${uiLabelMap.CommonApproved}" description="APPROVED"/>
+                <option key="SOFT_REJ" description="${uiLabelMap.ContentSoftRejected}"/>
+                <option key="REJECTED" description="${uiLabelMap.ContentRejected}"/>
+                <option key="APPROVED" description="${uiLabelMap.CommonApproved}"/>
             </drop-down>
         </field>
         <field name="approvalDate" widget-style="inputBox"><date-time/></field>
@@ -288,9 +288,9 @@ under the License.
         </field>
         <field name="approvalStatusId" use-when="&quot;COMPDOC_INSTANCE&quot;.equals(contentTypeId)">
             <drop-down allow-empty="true">
-                <option key="${uiLabelMap.ContentSoftRejected}" description="SOFT_REJ"/>
-                <option key="${uiLabelMap.ContentRejected}" description="REJECTED"/>
-                <option key="${uiLabelMap.CommonApproved}" description="APPROVED"/>
+                <option key="SOFT_REJ" description="${uiLabelMap.ContentSoftRejected}"/>
+                <option key="REJECTED" description="${uiLabelMap.ContentRejected}"/>
+                <option key="APPROVED" description="${uiLabelMap.CommonApproved}"/>
             </drop-down>
         </field>
         <field name="approvalDate" widget-style="inputBox"   use-when="&quot;COMPDOC_INSTANCE&quot;.equals(contentTypeId)"><date-time/></field>
@@ -322,9 +322,9 @@ under the License.
         </field>
         <field name="approvalStatusId" use-when="&quot;COMPDOC_INSTANCE&quot;.equals(contentTypeId)">
             <drop-down allow-empty="true">
-                <option key="${uiLabelMap.ContentSoftRejected}" description="SOFT_REJ"/>
-                <option key="${uiLabelMap.ContentRejected}" description="REJECTED"/>
-                <option key="${uiLabelMap.CommonApproved}" description="APPROVED"/>
+                <option key="SOFT_REJ" description="${uiLabelMap.ContentSoftRejected}"/>
+                <option key="REJECTED" description="${uiLabelMap.ContentRejected}"/>
+                <option key="APPROVED" description="${uiLabelMap.CommonApproved}"/>
             </drop-down>
         </field>
         <field name="approvalDate" widget-style="inputBox"><date-time/></field>
@@ -397,16 +397,16 @@ under the License.
         </field>
         <field name="mimeTypeId" title="${uiLabelMap.ContentDocumentType}" use-when="&quot;TEMPLATE&quot;.equals(contentTypeId)" widget-style="smallSelect">
             <drop-down allow-empty="false">
-                <option key="${uiLabelMap.ContentMSWord}" description="application/msword"/>
-                <option key="${uiLabelMap.ContentPDFFile}" description="application/pdf"/>
-                <option key="${uiLabelMap.ContentSurvey}" description="application/vnd.ofbiz.survey"/>
-                <option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
-                <option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
-                <option key="${uiLabelMap.ContentJPEG}" description="image/jpeg"/>
-                <option key="${uiLabelMap.ContentGIF}" description="image/gif"/>
-                <option key="${uiLabelMap.ContentTIFF}" description="image/tiff"/>
-                <option key="${uiLabelMap.ContentPNG}" description="image/png"/>
-                <option key="${uiLabelMap.ContentResourceOther}" description="application/octet-stream"/>
+                <option key="application/msword" description="${uiLabelMap.ContentMSWord}"/>
+                <option key="application/pdf" description="${uiLabelMap.ContentPDFFile}"/>
+                <option key="application/vnd.ofbiz.survey" description="${uiLabelMap.ContentSurvey}"/>
+                <option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
+                <option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
+                <option key="image/jpeg" description="${uiLabelMap.ContentJPEG}"/>
+                <option key="image/gif" description="${uiLabelMap.ContentGIF}"/>
+                <option key="image/tiff" description="${uiLabelMap.ContentTIFF}"/>
+                <option key="image/png" description="${uiLabelMap.ContentPNG}"/>
+                <option key="application/octet-stream" description="${uiLabelMap.ContentResourceOther}"/>
             </drop-down>
         </field>
         <field name="rootContentId"><hidden/></field>
@@ -429,16 +429,16 @@ under the License.
         <field name="mimeTypeId" map-name="dataResource"
             use-when="&quot;TEMPLATE&quot;.equals(contentTypeId)">
             <drop-down allow-empty="false">
-                <option key="${uiLabelMap.ContentMSWord}" description="application/msword"/>
-                <option key="${uiLabelMap.ContentPDFFile}" description="application/pdf"/>
-                <option key="${uiLabelMap.ContentSurvey}" description="application/vnd.ofbiz.survey"/>
-                <option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
-                <option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
-                <option key="${uiLabelMap.ContentJPEG}" description="image/jpeg"/>
-                <option key="${uiLabelMap.ContentGIF}" description="image/gif"/>
-                <option key="${uiLabelMap.ContentTIFF}" description="image/tiff"/>
-                <option key="${uiLabelMap.ContentPNG}" description="image/png"/>
-                <option key="${uiLabelMap.ContentResourceOther}" description="application/octet-stream"/>
+                <option key="application/msword" description="${uiLabelMap.ContentMSWord}"/>
+                <option key="application/pdf" description="${uiLabelMap.ContentPDFFile}"/>
+                <option key="application/vnd.ofbiz.survey" description="${uiLabelMap.ContentSurvey}"/>
+                <option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
+                <option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
+                <option key="image/jpeg" description="${uiLabelMap.ContentJPEG}"/>
+                <option key="image/gif" description="${uiLabelMap.ContentGIF}"/>
+                <option key="image/tiff" description="${uiLabelMap.ContentTIFF}"/>
+                <option key="image/png" description="${uiLabelMap.ContentPNG}"/>
+                <option key="application/octet-stream" description="${uiLabelMap.ContentResourceOther}"/>
             </drop-down>
         </field>
         <field name="mimeTypeId" map-name="dataResource"