3 Copyright 2009 University of California at Berkeley
4 Licensed under the Educational Community License (ECL), Version 2.0.
5 You may not use this file except in compliance with this License.
7 You may obtain a copy of the ECL 2.0 License at
8 https://source.collectionspace.org/collection-space/LICENSE.txt
10 Document : layouts-contrib.xml
11 Created on : $LastChangedDate: $
12 Author : $LastChangedBy: $
13 Revision : $LastChangedRevision: $
15 Nuxeo webapp layout for CollectionSpace Relation doctype
17 <component name="org.collectionspace.relation.layouts.webapp">
19 <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
22 <layout name="relation">
24 <template mode="any">/layouts/layout_default_template.xhtml</template>
29 <widget>relationtype</widget>
33 <widget name="relationtype" type="template">
35 <field>rel:relationtype</field>
37 <properties mode="any">
38 <property name="template">
39 /widgets/complex_widget_template.xhtml
45 <widget name="documentId1" type="text">
47 <label mode="any">Document ID 1</label>
49 <translated>true</translated>
51 <field>documentId1</field>
53 <properties widgetMode="edit">
54 <property name="styleClass">dataInputText</property>
58 <widget name="documentType1" type="text">
60 <label mode="any">Document Type 1</label>
62 <translated>true</translated>
64 <field>documentType1</field>
66 <properties widgetMode="edit">
67 <property name="styleClass">dataInputText</property>
71 <widget name="documentId2" type="text">
73 <label mode="any">Document ID 2</label>
75 <translated>true</translated>
77 <field>documentId2</field>
79 <properties widgetMode="edit">
80 <property name="styleClass">dataInputText</property>
84 <widget name="documentType2" type="text">
86 <label mode="any">Document Type 2</label>
88 <translated>true</translated>
90 <field>documentType2</field>
92 <properties widgetMode="edit">
93 <property name="styleClass">dataInputText</property>