mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Multiple webapp folders now supported for a Web Project
- Creation of new root webapp folders via specific action or via Edit Web Project wizard - Modification of default webapp folder in Edit Web Project wizard - Switching of 'current' webapp for staging/sandbox views in the browse web project screen - Filtering of files in sandbox modified file list by current webapp - Submit All action correctly respects the current webapp . A few minor UI tweaks to placement of menus and actions in web project/sandbox views git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4594 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -177,7 +177,19 @@ public class EditWebsiteWizard extends CreateWebsiteWizard
|
||||
// can be used to apply the modified and previous settings from scratch
|
||||
clearWebProjectModel(nodeRef);
|
||||
|
||||
// TODO: add the ability to change/rename the root webapp and DNS name for the website
|
||||
// change/create the root webapp name for the website
|
||||
if (this.webapp != null && this.webapp.length() != 0)
|
||||
{
|
||||
String stagingStore = AVMConstants.buildAVMStagingStoreName(this.dnsName);
|
||||
String webappPath = AVMConstants.buildAVMStoreWebappPath(stagingStore, this.webapp);
|
||||
if (this.avmService.lookup(-1, webappPath) == null)
|
||||
{
|
||||
this.avmService.createDirectory(AVMConstants.buildAVMStoreRootPath(stagingStore), this.webapp);
|
||||
}
|
||||
this.nodeService.setProperty(nodeRef, WCMAppModel.PROP_DEFAULTWEBAPP, this.webapp);
|
||||
}
|
||||
|
||||
// TODO: allow change of dns name - via store rename functionality
|
||||
|
||||
// persist the forms, templates, workflows and workflow defaults to the model for this web project
|
||||
saveWebProjectModel(nodeRef);
|
||||
|
Reference in New Issue
Block a user