Skip to content

Commit 0ccf57b

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-1817 Updated validator for the new cclicense rendering
1 parent 7bca169 commit 0ccf57b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dspace/config/spring/api/cris-layout-tool-render-validation.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,17 @@
147147
<property name="fieldType" value="METADATA"/>
148148
<property name="subTypeValidationRule" value="NOT_ALLOWED"/>
149149
</bean>
150+
151+
<bean id="cclicensefullRenderValidator" class="org.dspace.layout.script.service.impl.CrisLayoutToolRenderValidatorImpl">
152+
<property name="name" value="cclicensefull"/>
153+
<property name="fieldType" value="METADATA"/>
154+
<property name="subTypeValidationRule" value="NOT_ALLOWED"/>
155+
</bean>
156+
157+
<bean id="cclicensesmallRenderValidator" class="org.dspace.layout.script.service.impl.CrisLayoutToolRenderValidatorImpl">
158+
<property name="name" value="cclicensesmall"/>
159+
<property name="fieldType" value="METADATA"/>
160+
<property name="subTypeValidationRule" value="NOT_ALLOWED"/>
161+
</bean>
150162
</beans>
151163

0 commit comments

Comments
 (0)