Merged V2.1 to HEAD

6529: Fix for AWC-1506 "Configure Dashboard Wizard - no indication as to why new Components can not be added to the Selected list...."
   6530: SDK remote dependencies for Axis jar rename
   6531: Fixed XML blooper in sample config.
   6532: AWC-1516
   6533 FQDN case sensitivity
   6534: Fixed WebServices query session cache in the cluster sample


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6743 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-09-11 00:32:15 +00:00
parent 794cbf4584
commit 598a5ea21a
5 changed files with 56 additions and 6 deletions

View File

@@ -403,4 +403,13 @@ final class Column
{
return this.dashlets;
}
public void trimDashlets(int max)
{
if (max >= 0)
{
int maxTrim = Math.min(this.dashlets.size(), max);
this.dashlets = this.dashlets.subList(0, maxTrim);
}
}
}