Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

Commit

Permalink
#27 sop in controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Hetal Patel committed Jan 29, 2018
1 parent 27d6081 commit 9796c4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,8 @@ private void setBreadcrumbToModel(final Model model, final DataGridCollectionAnd
model.addAttribute("collectionForwardHistory", collectionHistoryForward);
model.addAttribute("collectionAndDataObject", obj);
model.addAttribute("breadcrumb", new DataGridBreadcrumb(obj.getPath()));

System.out.println("Path :: " +obj.getPath());
model.addAttribute("homeCollectionName", irodsServices.getCurrentUser());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import com.emc.metalnx.controller.utils.LoggedUserUtils;
import com.emc.metalnx.core.domain.exceptions.DataGridConnectionRefusedException;
import com.emc.metalnx.core.domain.exceptions.DataGridException;
import com.emc.metalnx.modelattribute.breadcrumb.DataGridBreadcrumb;
import com.emc.metalnx.services.interfaces.CollectionService;
import com.emc.metalnx.services.interfaces.IRODSServices;
import com.emc.metalnx.services.interfaces.IconService;
Expand Down Expand Up @@ -85,6 +86,9 @@ public String getTestCollectionInfo(final Model model, HttpServletRequest reques

model.addAttribute("iconToDisplay", iconToDisplay);
model.addAttribute("dataProfile", dataProfile);
model.addAttribute("breadcrumb", new DataGridBreadcrumb(dataProfile.getAbsolutePath()));

System.out.println("Absolute Path :: " +dataProfile.getAbsolutePath());
String template = "";

if(!dataProfile.isFile())
Expand Down

0 comments on commit 9796c4b

Please sign in to comment.