Merged V2.2 to HEAD

7386: JSF component to view, add, edit and remove deployment server configuration
            Added new step to create/edit website wizard to collect and edit deployment server configuration 
            Enabled the copying of deployment server config when creating one web project from another
            Added new icons to tell apart Alfresco Server vs. File System deployments
            Updated UI to use 'friendly' server name when possible

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8351 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2008-02-21 14:35:30 +00:00
parent 9b838b82c4
commit 338914016b
16 changed files with 1732 additions and 53 deletions

View File

@@ -0,0 +1,36 @@
Alfresco.deployServerTypeChanged = function()
{
var typeDropDown = document.getElementById('wizard:wizard-body:deployServerType');
if (typeDropDown != null)
{
var selectedType = typeDropDown.options[typeDropDown.selectedIndex].value;
// show or hide the label
var autoDeployLabel = document.getElementById('autoDeployLabel');
if (autoDeployLabel != null)
{
if (selectedType == "test")
{
autoDeployLabel.style.display = "none";
}
else
{
autoDeployLabel.style.display = "block";
}
}
// show or hide the checkbox
var autoDeployCheckbox = document.getElementById('wizard:wizard-body:autoDeployCheckbox');
if (autoDeployCheckbox != null)
{
if (selectedType == "test")
{
autoDeployCheckbox.style.display = "none";
}
else
{
autoDeployCheckbox.style.display = "block";
}
}
}
}