mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Create Web Content from Form hooked into Available Content Forms panel in the User Sandboxes component
- Create Web Content form initialised with the correctly selected form template in the drop-down . Revert node, Revert Selected and Revert All actions working git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -790,6 +790,10 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
// tag the store with the DNS name property
|
||||
tagStoreDNSPath(stagingStore, name, "staging");
|
||||
|
||||
// snapshot the store
|
||||
this.avmService.createSnapshot(stagingStore, null, null);
|
||||
|
||||
|
||||
// create the 'preview' store for the website
|
||||
String previewStore = AVMConstants.buildAVMStagingPreviewStoreName(name);
|
||||
this.avmService.createAVMStore(previewStore);
|
||||
@@ -815,6 +819,9 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
// tag the store with the DNS name property
|
||||
tagStoreDNSPath(previewStore, name, "preview");
|
||||
|
||||
// snapshot the store
|
||||
this.avmService.createSnapshot(previewStore, null, null);
|
||||
|
||||
|
||||
// tag all related stores to indicate that they are part of a single sandbox
|
||||
String sandboxIdProp = AVMConstants.PROP_SANDBOXID + GUID.generate();
|
||||
@@ -889,6 +896,9 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
// tag the store with the DNS name property
|
||||
tagStoreDNSPath(userStore, name, username);
|
||||
|
||||
// snapshot the store
|
||||
this.avmService.createSnapshot(userStore, null, null);
|
||||
|
||||
|
||||
// create the user 'preview' store
|
||||
String previewStore = AVMConstants.buildAVMUserPreviewStoreName(name, username);
|
||||
@@ -920,6 +930,9 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
// tag the store with the DNS name property
|
||||
tagStoreDNSPath(previewStore, name, username, "preview");
|
||||
|
||||
// snapshot the store
|
||||
this.avmService.createSnapshot(previewStore, null, null);
|
||||
|
||||
|
||||
// tag all related stores to indicate that they are part of a single sandbox
|
||||
String sandboxIdProp = AVMConstants.PROP_SANDBOXID + GUID.generate();
|
||||
|
Reference in New Issue
Block a user