return "";
}
public String seeParentCollectionFromFolder() {
ViewCollection selectedCollection = (ViewCollection) this.selectedFolder.getParentCollectionsModel().getRowData();
//Get a fresh copy
String selectCollectionId = selectedCollection.getId();
Collection collection = CollectionDao.createInstance().retrieve(selectCollectionId);
List collectionCollections = collection.getCollections();
List collectionViewCollections = new ArrayList(collectionCollections.size());
for (Iterator it = collectionCollections.iterator(); it.hasNext(); ) {
collectionViewCollections.add(new ViewCollection((Collection) it.next()));
}
DataModel collections = new ListDataModel();
collections.setWrappedData(collectionViewCollections);
CollectionBean collectionBean = (CollectionBean) FacesContext.getCurrentInstance().getApplication().createValueBinding(CollectionBean.BEAN_REF).getValue(FacesContext.getCurrentInstance());
collectionBean.setCollections(collections);
collectionBean.setSelectedCollection(new ViewCollection(collection));
List collectionFolders = collection.getFolders();
List collectionViewFolders = new ArrayList(collectionFolders.size());
for (Iterator it = collectionFolders.iterator(); it.hasNext(); ) {
collectionViewFolders.add(new ViewFolder((Folder) it.next()));