Starting to add editing of existing role to custom form. NIHVIVO-629
This commit is contained in:
parent
21a36706a4
commit
766a318bb8
1 changed files with 3 additions and 1 deletions
|
@ -283,12 +283,14 @@ PREFIX core: <${vivoCore}>
|
|||
PREFIX core: <${vivoCore}> SELECT ?grantUri WHERE {<${subjectUri}> <${predicateUri}> ?grantRole . ?grantRole core:roleIn ?grantUri .}
|
||||
</c:set>
|
||||
|
||||
<c:set var="isUpdate"><%= request.getAttribute("objectUri")!=null %></c:set>
|
||||
<script type="text/javascript">
|
||||
var customFormData = {
|
||||
sparqlForAcFilter: '${sparqlForAcFilter}',
|
||||
sparqlQueryUrl: '${sparqlQueryUrl}',
|
||||
acUrl: '${acUrl}',
|
||||
acType: '${vivoCore}Grant'
|
||||
acType: '${vivoCore}Grant',
|
||||
isUpdate: '${isUpdate}',
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue