Merge branch 'maint-rel-1.6' into develop

This commit is contained in:
hudajkhan 2013-11-19 13:25:01 -05:00
commit 57e99d4055
2 changed files with 6 additions and 5 deletions

View file

@ -548,7 +548,7 @@ public class EditConfigurationTemplateModel extends BaseTemplateModel {
} }
for(VClass rangeVClass : rangeVClasses) { for(VClass rangeVClass : rangeVClasses) {
vclasses.add(rangeVClass); vclasses.add(rangeVClass);
List<String> subURIs = wdf.getVClassDao().getSubClassURIs(rangeVClass.getURI()); List<String> subURIs = wdf.getVClassDao().getAllSubClassURIs(rangeVClass.getURI());
for (String subClassURI : subURIs) { for (String subClassURI : subURIs) {
VClass subClass = wdf.getVClassDao().getVClassByURI(subClassURI); VClass subClass = wdf.getVClassDao().getVClassByURI(subClassURI);
if (subClass != null) { if (subClass != null) {

View file

@ -118,7 +118,7 @@ name will be used as the label. -->
</#if> </#if>
--> -->
<#if editable> <#if editable>
<h2 id="${property.localName}">${label} ${addLink!} ${verboseDisplay!}</h2> <h2 id="${property.localName!}">${label} ${addLink!} ${verboseDisplay!}</h2>
</#if> </#if>
</#macro> </#macro>
@ -134,8 +134,8 @@ name will be used as the label. -->
<#local domainUri = "" /> <#local domainUri = "" />
</#if> </#if>
<#if editable> <#if editable>
<#if property.addUrl?has_content>
<#local url = property.addUrl> <#local url = property.addUrl>
<#if url?has_content>
<@showAddLink property.localName label url rangeUri domainUri/> <@showAddLink property.localName label url rangeUri domainUri/>
</#if> </#if>
</#if> </#if>
@ -274,7 +274,8 @@ name will be used as the label. -->
<#assign labelPropertyUri = ("http://www.w3.org/2000/01/rdf-schema#label"?url) /> <#assign labelPropertyUri = ("http://www.w3.org/2000/01/rdf-schema#label"?url) />
<#assign useEditLink = false /> <#assign useEditLink = false />
<#--edit link used if in edit mode and only one label and one language--> <#--edit link used if in edit mode and only one label and one language-->
<#if labelCount = 1 && editable && localesCount = 1 > <#--locales count may be 0 in case where no languages/selectable locales are specified-->
<#if labelCount = 1 && editable && (localesCount >= 0) >
<#assign useEditLink = true/> <#assign useEditLink = true/>
</#if> </#if>
<#local label = individual.nameStatement> <#local label = individual.nameStatement>