Skip to content

Commit 2c02c80

Browse files
committed
editor has to propose directory-entry-selector for both mri:resourceFormat and mrd:distributionFormat
1 parent 2a3ab94 commit 2c02c80

1 file changed

Lines changed: 20 additions & 10 deletions

File tree

  • web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3.2018.che/layout

web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3.2018.che/layout/config-editor.xml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,26 @@
162162
data-variables="cit:role/cit:CI_RoleCode/@codeListValue~{role}"
163163
data-insert-modes="xlink"/>
164164
</for>
165+
<for name="mri:resourceFormat" addDirective="data-gn-directory-entry-selector">
166+
<directiveAttributes
167+
data-template-add-action="false"
168+
data-search-action="true"
169+
data-popup-action="false"
170+
data-template-type="format"
171+
data-filter='{"root": "mrd:MD_Format"}'
172+
data-show-valid-only="true"
173+
data-insert-modes="xlink"/>
174+
</for>
175+
<for name="mrd:distributionFormat" addDirective="data-gn-directory-entry-selector">
176+
<directiveAttributes
177+
data-template-add-action="false"
178+
data-search-action="true"
179+
data-popup-action="false"
180+
data-template-type="format"
181+
data-filter='{"root": "mrd:MD_Format"}'
182+
data-show-valid-only="true"
183+
data-insert-modes="xlink"/>
184+
</for>
165185
<for name="mrl:processor" addDirective="data-gn-directory-entry-selector">
166186
<directiveAttributes
167187
data-template-add-snippet="&lt;cit:CI_Responsibility
@@ -252,16 +272,6 @@
252272
data-insert-modes="xlink"/>
253273
</for>
254274

255-
<for name="mrd:distributionFormat" addDirective="data-gn-directory-entry-selector">
256-
<directiveAttributes
257-
data-template-add-action="true"
258-
data-search-action="true"
259-
data-popup-action="false"
260-
data-template-type="format"
261-
data-filter='{"root": "mrd:MD_Format"}'
262-
data-insert-modes="xlink"/>
263-
</for>
264-
265275
<for name="cit:logo" addDirective="data-gn-directory-entry-selector">
266276
<directiveAttributes
267277
data-template-add-action="true"

0 commit comments

Comments
 (0)