Added item.getPath() in order to serve request #1657
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@122172 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ad885669b3
commit
6363543af3
|
@ -101,7 +101,7 @@ public class ItemBuilder {
|
|||
_log.debug("Building Item for: "+itemName);
|
||||
|
||||
//TODO ADD GET PATH WHEN WILL BE MORE FAST
|
||||
Item item = new Item(parent, workspaceItem.getId(), itemName, type, "", UserUtil.getUserFullName(workspaceItem.getOwner().getPortalLogin()), isFolder, false);
|
||||
Item item = new Item(parent, workspaceItem.getId(), itemName, type, workspaceItem.getPath(), UserUtil.getUserFullName(workspaceItem.getOwner().getPortalLogin()), isFolder, false);
|
||||
item.setSharedFolder(isSharedFolder);
|
||||
|
||||
if(loadChildren){
|
||||
|
@ -306,7 +306,7 @@ public class ItemBuilder {
|
|||
name = wsFolder.getName();
|
||||
|
||||
//BUILDS A SIMPLE ITEM FOR BREADCRUMB
|
||||
Item item = new Item(null, wsFolder.getId(), name, ItemType.FOLDER, "", null, true, isRoot);
|
||||
Item item = new Item(null, wsFolder.getId(), name, ItemType.FOLDER, wsFolder.getPath(), null, true, isRoot);
|
||||
item.setSpecialFolder(isSpecialFolder);
|
||||
|
||||
_log.debug("breadcrumb returning: "+item);
|
||||
|
|
Loading…
Reference in New Issue