. Checkpoint of WCM ui work (nothing to see here, move along please, move along)

- "Websites" folder created under root of Company Home during bootstrap
 - Bootstrap properties and getter helper added to import-export-context & web-client
 - Beginnings of the Create Website wizard
 - Action definition added for Create Website action
 - Beginings of the model for avm webfolders and associated sub-structures

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3763 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-09-11 16:57:01 +00:00
parent 5e0378deb2
commit 979ca93112
6 changed files with 90 additions and 13 deletions

View File

@@ -97,18 +97,18 @@
<cm:title>${spaces.guest_home.name}</cm:title> <cm:title>${spaces.guest_home.name}</cm:title>
<cm:description>${spaces.guest_home.description}</cm:description> <cm:description>${spaces.guest_home.description}</cm:description>
</cm:folder> </cm:folder>
<cm:folder view:childName="app:WCM"> <cm:folder view:childName="${spaces.wcm.childname}">
<view:acl view:inherit="false"> <view:acl view:inherit="false">
<view:ace view:access="ALLOWED"> <view:ace view:access="ALLOWED">
<view:authority>GROUP_EVERYONE</view:authority> <view:authority>GROUP_EVERYONE</view:authority>
<view:permission>Consumer</view:permission> <view:permission>Consumer</view:permission>
</view:ace> </view:ace>
</view:acl> </view:acl>
<app:uifacets/> <app:uifacets/>
<cm:name>WCM</cm:name> <cm:name>${spaces.wcm.name}</cm:name>
<app:icon>space-icon-default</app:icon> <app:icon>space-icon-default</app:icon>
<cm:title>WCM</cm:title> <cm:title>${spaces.wcm.name}</cm:title>
<cm:description>Web Content Management Spaces</cm:description> <cm:description>${spaces.wcm.description}</cm:description>
</cm:folder> </cm:folder>
</cm:contains> </cm:contains>
</cm:folder> </cm:folder>

View File

@@ -263,6 +263,7 @@
<prop key="spaces.templates.rss.childname">${spaces.templates.rss.childname}</prop> <prop key="spaces.templates.rss.childname">${spaces.templates.rss.childname}</prop>
<prop key="spaces.savedsearches.childname">${spaces.savedsearches.childname}</prop> <prop key="spaces.savedsearches.childname">${spaces.savedsearches.childname}</prop>
<prop key="spaces.scripts.childname">${spaces.scripts.childname}</prop> <prop key="spaces.scripts.childname">${spaces.scripts.childname}</prop>
<prop key="spaces.wcm.childname">${spaces.wcm.childname}</prop>
</props> </props>
</property> </property>
</bean> </bean>

View File

@@ -26,3 +26,6 @@ spaces.guest_home.description=The guest root space
spaces.scripts.name=Scripts spaces.scripts.name=Scripts
spaces.scripts.description=JavaScript files spaces.scripts.description=JavaScript files
spaces.wcm.name=Websites
spaces.wcm.description=Web Content Management Spaces

View File

@@ -49,6 +49,74 @@
<title>Folder Link Object</title> <title>Folder Link Object</title>
<parent>cm:link</parent> <parent>cm:link</parent>
</type> </type>
<type name="app:webfolder">
<title>AVM Website Folder</title>
<parent>cm:avmfolder</parent>
<properties>
<!-- root name of the avm staging store for this web folder -->
<property name="app:avmstore">
<type>d:text</type>
</property>
</properties>
<associations>
<child-association name="app:formtriples">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>app:formtriple</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</child-association>
<child-association name="app:webuser">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>app:webuser</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</child-association>
</associations>
</type>
<type name="app:formtriple">
<title>Website Form Triple</title>
<parent>cm:cmobject</parent>
<properties>
<property name="app:form">
<type>d:noderef</type>
<mandatory>true</mandatory>
</property>
<property name="app:workflow">
<type>d:noderef</type>
<mandatory>true</mandatory>
</property>
<property name="app:script">
<type>d:noderef</type>
</property>
</properties>
</type>
<type name="app:webuser">
<title>Website User Information</title>
<parent>cm:cmobject</parent>
<properties>
<property name="app:username">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="app:role">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
</types> </types>

View File

@@ -103,6 +103,7 @@ spaces.templates.email.childname=app:email_templates
spaces.templates.rss.childname=app:rss_templates spaces.templates.rss.childname=app:rss_templates
spaces.savedsearches.childname=app:saved_searches spaces.savedsearches.childname=app:saved_searches
spaces.scripts.childname=app:scripts spaces.scripts.childname=app:scripts
spaces.wcm.childname=app:wcm
# Folders for storing people # Folders for storing people

View File

@@ -231,7 +231,11 @@ public interface ContentModel
static final QName ASPECT_FEEDSOURCE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "feedsource"); static final QName ASPECT_FEEDSOURCE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "feedsource");
static final QName PROP_FEEDTEMPLATE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "template"); static final QName PROP_FEEDTEMPLATE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "template");
// AVM web folder
static final QName TYPE_AVMWEBFOLDER = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "webfolder");
static final QName PROP_AVMSTORE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "avmstore");
// //
// User Model Definitions // User Model Definitions
// //