]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-949: Fixed bug in Nuxeo layouts-contrib.xml file. Also, added placeholders...
authorRichard Millet <richard.millet@berkeley.edu>
Mon, 8 Feb 2010 18:13:21 +0000 (18:13 +0000)
committerRichard Millet <richard.millet@berkeley.edu>
Mon, 8 Feb 2010 18:13:21 +0000 (18:13 +0000)
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/OSGI-INF/layouts-contrib.xml
services/organization/3rdparty/nuxeo-platform-cs-organization/src/main/resources/schemas/organizations_common.xsd
services/organization/jaxb/src/main/resources/organization_common.xsd

index ca5555761c9d76b28d8d01be883b2caac6579fd4..7c7c37c0c2ac73b82a764add41f96bdeae3e738e 100644 (file)
@@ -65,6 +65,7 @@
       </templates>
       <rows>
         <row><widget>displayName</widget></row>
+<!--        <row><widget>displayNameComputed</widget></row> -->
         <row><widget>shortName</widget></row>
         <row><widget>refName</widget></row>
         <row><widget>inAuthority</widget></row>
         </labels>
         <translated>true</translated>
         <fields>
-          <field schema="orgauthorities_common">displayName</field>
+          <field schema="organizations_common">displayName</field>
         </fields>
         <properties widgetMode="edit">
           <property name="styleClass">dataInputText</property>
         </properties>
       </widget>
       
+<!--      <widget name="displayNameComputed" type="text">
+        <labels>
+          <label mode="any">Display Name Computed?</label>
+        </labels>
+        <translated>true</translated>
+        <fields>
+          <field schema="organizations_common">displayNameComputed</field>
+        </fields>
+        <properties widgetMode="edit">
+          <property name="styleClass">dataInputText</property>
+        </properties>
+      </widget> -->
+      
       <widget name="shortName" type="text">
         <labels>
           <label mode="any">ShortName</label>
index f66283d5d6abbef52034d6a9d25f207ffb99b4c5..3b72e2d25ca7c379ee6560445a33e6e4d4ab9a7c 100644 (file)
@@ -25,6 +25,7 @@
                <xs:element name="inAuthority" type="xs:string" />
                <xs:element name="refName" type="xs:string"/>
                <xs:element name="displayName" type="xs:string"/>
+<!--           <xs:element name="displayNameComputed" type="xs:boolean"/> -->
                <xs:element name="shortName" type="xs:string"/>
                <xs:element name="longName" type="xs:string"/>
                <xs:element name="nameAdditions" type="xs:string"/>
index b12ba36227c23ed51bb13ab16e0acfae0a9c6ba6..d06746162f47b3ba64aba33a62ddbfcb16b1afbb 100644 (file)
@@ -1,35 +1,34 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <xs:schema 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:ns="http://collectionspace.org/services/organization"
-  xmlns="http://collectionspace.org/services/organization"
-  targetNamespace="http://collectionspace.org/services/organization"
-  version="0.1"
->
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:ns="http://collectionspace.org/services/organization"
+    xmlns="http://collectionspace.org/services/organization"
+    targetNamespace="http://collectionspace.org/services/organization"
+    version="0.1"
+    >
 
-
-<!-- avoid XmlRootElement nightnmare, see http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html-->
-<!-- See http://wiki.collectionspace.org/display/collectionspace/Organization+Service+Home -->    
+    <!-- avoid XmlRootElement nightnmare, see http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html-->
+    <!-- See http://wiki.collectionspace.org/display/collectionspace/Organization+Service+Home -->    
     
     <!-- Organization -->
     <xs:element name="organizations_common">
         <xs:complexType>
             <xs:sequence>
                 <!--  Common identifier -->
-                <xs:element name="csid" type="xs:string" />
-                
+                <xs:element name="csid" type="xs:string" />                            
                 <!--  Organization Information Group -->
                 <xs:element name="inAuthority" type="xs:string" />
                 <xs:element name="refName" type="xs:string"/>
                 <xs:element name="displayName" type="xs:string"/>
+<!--                           <xs:element name="displayNameComputed" type="xs:boolean"/> -->
                 <xs:element name="shortName" type="xs:string"/>
                 <xs:element name="longName" type="xs:string"/>
-                               <xs:element name="nameAdditions" type="xs:string"/>
-                               <xs:element name="contactName" type="xs:string"/>
-                               <xs:element name="foundingDate" type="xs:string"/>
-                               <xs:element name="dissolutionDate" type="xs:string"/>
-                               <xs:element name="foundingPlace" type="xs:string"/>
-                               <xs:element name="function" type="xs:string"/>
+                <xs:element name="nameAdditions" type="xs:string"/>
+                <xs:element name="contactName" type="xs:string"/>
+                <xs:element name="foundingDate" type="xs:string"/>
+                <xs:element name="dissolutionDate" type="xs:string"/>
+                <xs:element name="foundingPlace" type="xs:string"/>
+                <xs:element name="function" type="xs:string"/>
                 <xs:element name="description" type="xs:string"/>
             </xs:sequence>
         </xs:complexType>