]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
ff58c8e364771b78e92a77ceb5f8efe662a43a50
[tmp/jakarta-migration.git] /
1 <?xml version="1.0"?>
2 <!--
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.
6     
7     You may obtain a copy of the ECL 2.0 License at
8     https://source.collectionspace.org/collection-space/LICENSE.txt
9     
10     Document   : layouts-contrib.xml
11     Created on : $LastChangedDate: $
12     Author     : $LastChangedBy: $
13     Revision   : $LastChangedRevision: $
14     Description:
15     Nuxeo webapp layout for CollectionSpace Relation doctype
16 -->
17 <component name="org.collectionspace.relation.layouts.webapp">
18     
19     <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
20         point="layouts">
21         
22         <layout name="relation">
23             <templates>
24                 <template mode="any">/layouts/layout_default_template.xhtml</template>
25             </templates>            
26             <rows>
27                 <row><widget>relationshipType</widget></row>
28                 <row><widget>documentId1</widget></row>
29                 <row><widget>documentType1</widget></row>
30                 <row><widget>documentId2</widget></row>
31                 <row><widget>documentType2</widget></row>
32             </rows>
33             
34             <widget name="relationshipType" type="text">
35                 <labels>
36                     <label mode="any">Relationship Type</label>
37                 </labels>
38                 <translated>true</translated>
39                 <fields>
40                     <field schema="relations_common">relationshipType</field>
41                 </fields>
42                 <properties widgetMode="edit">
43                     <property name="styleClass">dataInputText</property>
44                 </properties>
45             </widget>
46             
47             <widget name="documentId1" type="text">
48                 <labels>
49                     <label mode="any">Document ID 1</label>
50                 </labels>
51                 <translated>true</translated>
52                 <fields>
53                     <field schema="relations_common">documentId1</field>
54                 </fields>
55                 <properties widgetMode="edit">
56                     <property name="styleClass">dataInputText</property>
57                 </properties>
58             </widget>
59             
60             <widget name="documentType1" type="text">
61                 <labels>
62                     <label mode="any">Document Type 1</label>
63                 </labels>
64                 <translated>true</translated>
65                 <fields>
66                     <field schema="relations_common">documentType1</field>
67                 </fields>
68                 <properties widgetMode="edit">
69                     <property name="styleClass">dataInputText</property>
70                 </properties>
71             </widget>
72             
73             <widget name="documentId2" type="text">
74                 <labels>
75                     <label mode="any">Document ID 2</label>
76                 </labels>
77                 <translated>true</translated>
78                 <fields>
79                     <field schema="relations_common">documentId2</field>
80                 </fields>
81                 <properties widgetMode="edit">
82                     <property name="styleClass">dataInputText</property>
83                 </properties>
84             </widget>
85             
86             <widget name="documentType2" type="text">
87                 <labels>
88                     <label mode="any">Document Type 2</label>
89                 </labels>
90                 <translated>true</translated>
91                 <fields>
92                     <field schema="relations_common">documentType2</field>
93                 </fields>
94                 <properties widgetMode="edit">
95                     <property name="styleClass">dataInputText</property>
96                 </properties>
97             </widget>
98                     
99         </layout>
100     </extension>
101 </component>