this.collections.setWrappedData(baseViewCollections);
List collectionFolders = rootCollection.getFolders();
List collectionViewFolders = new ArrayList(collectionFolders.size());
for (Iterator it = collectionFolders.iterator(); it.hasNext(); ) {
collectionViewFolders.add(new ViewFolder((Folder) it.next()));
}
//Prepare the folderBean with appropriate values
DataModel foldersDataModel = new ListDataModel();
foldersDataModel.setWrappedData(collectionViewFolders);