getPath now return absolute path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@124694 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
80ff067c51
commit
3fe9d27f31
|
@ -127,9 +127,9 @@ public class ItemBuilder {
|
||||||
//TODO A PATCH TO AVOID A SLOW GETPATH
|
//TODO A PATCH TO AVOID A SLOW GETPATH
|
||||||
// workspaceItemPath = workspaceItem.getPath();
|
// workspaceItemPath = workspaceItem.getPath();
|
||||||
for (WorkspaceItem child: workspaceItem.getChildren()){
|
for (WorkspaceItem child: workspaceItem.getChildren()){
|
||||||
String itemPath = workspaceItemPath;
|
String itemPath = workspaceItemPath+"/"+child.getName();
|
||||||
if(child.isFolder())
|
// if(child.isFolder())
|
||||||
itemPath+="/"+child.getName();
|
// itemPath+="/"+child.getName();
|
||||||
|
|
||||||
// _log.trace("\nConverting child item: "+child.getName());
|
// _log.trace("\nConverting child item: "+child.getName());
|
||||||
Item itemChild = getItem(item, child, itemPath, showableTypes, filterCriteria, false);
|
Item itemChild = getItem(item, child, itemPath, showableTypes, filterCriteria, false);
|
||||||
|
|
Loading…
Reference in New Issue