]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
e9e3b748d6826df6ccdf46c30ca72a29f55c8e6a
[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             
27             <rows>
28                 <row>
29                     <widget>relationtype</widget>
30                 </row>
31             </rows>
32             
33             <widget name="relationtype" type="template">
34                 <fields>
35                     <field>rel:relationtype</field>
36                 </fields>
37                 <properties mode="any">
38                     <property name="template">
39                         /widgets/complex_widget_template.xhtml
40                     </property>
41                 </properties>
42                 
43                 <subWidgets>
44                     
45                     <widget name="documentId1" type="text">
46                         <labels>
47                             <label mode="any">Document ID 1</label>
48                         </labels>
49                         <translated>true</translated>
50                         <fields>
51                             <field>documentId1</field>
52                         </fields>
53                         <properties widgetMode="edit">
54                             <property name="styleClass">dataInputText</property>
55                         </properties>
56                     </widget>
57                     
58                     <widget name="documentType1" type="text">
59                         <labels>
60                             <label mode="any">Document Type 1</label>
61                         </labels>
62                         <translated>true</translated>
63                         <fields>
64                             <field>documentType1</field>
65                         </fields>
66                         <properties widgetMode="edit">
67                             <property name="styleClass">dataInputText</property>
68                         </properties>
69                     </widget>
70                     
71                     <widget name="documentId2" type="text">
72                         <labels>
73                             <label mode="any">Document ID 2</label>
74                         </labels>
75                         <translated>true</translated>
76                         <fields>
77                             <field>documentId2</field>
78                         </fields>
79                         <properties widgetMode="edit">
80                             <property name="styleClass">dataInputText</property>
81                         </properties>
82                     </widget>
83                     
84                     <widget name="documentType2" type="text">
85                         <labels>
86                             <label mode="any">Document Type 2</label>
87                         </labels>
88                         <translated>true</translated>
89                         <fields>
90                             <field>documentType2</field>
91                         </fields>
92                         <properties widgetMode="edit">
93                             <property name="styleClass">dataInputText</property>
94                         </properties>
95                     </widget>
96                     
97                 </subWidgets>
98             </widget>
99             
100         </layout>
101     </extension>
102 </component>