updates for NIHVIVO-3517 "Template exception thrown when deleting either hasEditorRole or hasReviewerRole properties". Updated EditConfigurationTemplateModel to return ObjectPropertyTemplateModel representing property and Freemarker template to assign that object to the variable "property" so the list view for reviewer/editor would work correctly.

This commit is contained in:
hjkhjk54 2011-12-16 19:31:49 +00:00
parent 555d32bb91
commit 4de612a306
4 changed files with 17 additions and 9 deletions

View file

@ -6,6 +6,8 @@
<#assign toBeDeletedClass = "objProp" />
<#if editConfiguration.objectStatementDisplay?has_content>
<#assign statement = editConfiguration.objectStatementDisplay />
<#--Reviewer and editor role list views required object property template model object for property-->
<#assign property = editConfiguration.objectPropertyStatementDisplayPropertyModel />
</#if>
<#else>
<#assign statement = editConfiguration.dataStatementDisplay />