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>relation:relationtype</field>
37 <properties mode="any">
38 <property name="template">
39 /widgets/complex_widget_template.xhtml
45 <widget name="document-id-1" type="text">
47 <label mode="any">Document ID: 1</label>
49 <translated>true</translated>
51 <field schema="relation">relation:document-id-1</field>
53 <properties widgetMode="edit">
54 <property name="javax.faces.Character">javax.faces.convert.CharacterConverter</property>
55 <property name="styleClass">dataInputText</property>
59 <widget name="document-type-1" type="text">
61 <label mode="any">Document Type: 1</label>
63 <translated>true</translated>
65 <field schema="relation">relation:document-type-1</field>
67 <properties widgetMode="edit">
68 <property name="styleClass">dataInputText</property>
72 <widget name="document-id-2" type="text">
74 <label mode="any">Document ID: 2</label>
76 <translated>true</translated>
78 <field schema="relation">relation:document-id-2</field>
80 <properties widgetMode="edit">
81 <property name="styleClass">dataInputText</property>
85 <widget name="document-type-2" type="text">
87 <label mode="any">Document Type: 2</label>
89 <translated>true</translated>
91 <field schema="relation">relation:document-type-2</field>
93 <properties widgetMode="edit">
94 <property name="styleClass">dataInputText</property>