rjy7 2010-07-21 14:27:51 +00:00
parent cb14df3cf7
commit 4482d2556d

View file

@ -237,12 +237,12 @@ PREFIX core: <${vivoCore}>
String objectUri = (String) request.getAttribute("objectUri"); String objectUri = (String) request.getAttribute("objectUri");
if (objectUri != null) { if (objectUri != null) {
editConfig.prepareForObjPropUpdate(model); editConfig.prepareForObjPropUpdate(model);
// Return browser to person individual after editing an existing role.
} else { } else {
editConfig.prepareForNonUpdate(model); editConfig.prepareForNonUpdate(model);
} // Return the browser to the new activity entity after adding a new role.
//this will return the browser to the new grant entity after an edit.
editConfig.setEntityToReturnTo("?grant"); editConfig.setEntityToReturnTo("?grant");
}
String subjectUri = vreq.getParameter("subjectUri"); String subjectUri = vreq.getParameter("subjectUri");