anchor.diff:          editConfig = new EditConfiguration((String) request.getAttribute("editjson"));     
           EditConfiguration.putConfigInSession(editConfig,session);
       }   
  -    
  -    //validator for addGrantRoleToPerson.jsp? 
  -	//editConfig.addValidator(new AddGrantRoleToPersonValidator());
  +        
       editConfig.addValidator(new StartYearBeforeEndYear("startYear","endYear") );
           
       Model model = (Model) application.getAttribute("jenaOntModel");
  -    editConfig.prepareForNonUpdate(model); 
  +    String objectUri = (String) request.getAttribute("objectUri");
  +    if (objectUri != null) { 
  +        editConfig.prepareForObjPropUpdate(model);
  +    } else { 
  +        editConfig.prepareForNonUpdate(model);
  +    }
       
       //this will return the browser to the new grant entity after an edit.
       editConfig.setEntityToReturnTo("?grant");
  
positive.code: 	?role   ?inverseRolePredicate ?person.
  </v:jsonset>
  
  <v:jsonset var="n3ForNewGrant">
      @prefix core: <${vivoCore}> .
      @prefix rdf: <${rdf}> .
      @prefix rdfs: <${rdfs}> .
      	
      ?grant rdf:type core:Grant .
      ?grant rdfs:label ?grantLabel .               
  </v:jsonset>
  
  
  
  <v:jsonset var="grantTypeUriJson">${vivoOnt}#Grant</v:jsonset>
  <c:set var="editjson" scope="request">
  
negative.code:     "urisOnForm"     : [ "grant" ],
      "literalsOnForm" : [ "grantLabel", "startYear", "endYear" ],
      "filesOnForm"    : [ ],
      "sparqlForLiterals" : {  },
      "sparqlForUris" : {   },
      "sparqlForExistingLiterals" : { "grantLabel":"${grantLabelQuery}" , "startYear":"${startYearQuery}", "endYear":"${endYearQuery}" },
      "sparqlForExistingUris" : { "grant":"${grantQuery}" },
      "fields" : {  
        "grant" : {
           "newResource"      : "false",
  