You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/11/02 12:46:56 UTC

svn commit: r709872 - /ofbiz/site/dtds/widget-form.xsd

Author: jleroux
Date: Sun Nov  2 03:46:55 2008
New Revision: 709872

URL: http://svn.apache.org/viewvc?rev=709872&view=rev
Log:
I forgot initially-collapsed in previous commit.
Put some documentation

Modified:
    ofbiz/site/dtds/widget-form.xsd

Modified: ofbiz/site/dtds/widget-form.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-form.xsd?rev=709872&r1=709871&r2=709872&view=diff
==============================================================================
--- ofbiz/site/dtds/widget-form.xsd (original)
+++ ofbiz/site/dtds/widget-form.xsd Sun Nov  2 03:46:55 2008
@@ -32,7 +32,6 @@
             <xs:sequence>
                 <xs:element minOccurs="0" ref="actions"/>
                 <xs:element minOccurs="0" ref="row-actions"/>
-                <xs:element minOccurs="0" maxOccurs="unbounded" ref="filter"/>
                 <xs:element minOccurs="0" maxOccurs="unbounded" ref="alt-target"/>
                 <xs:element minOccurs="0" maxOccurs="unbounded" ref="auto-fields-service"/>
                 <xs:element minOccurs="0" maxOccurs="unbounded" ref="auto-fields-entity"/>
@@ -235,20 +234,6 @@
         <xs:attribute type="xs:string" name="target"/>
         <xs:attribute type="xs:string" name="target-type"/>
     </xs:attributeGroup>
-    <xs:element name="filter">
-        <xs:annotation><xs:documentation>Active a style on a line if the use-when condition is validate</xs:documentation></xs:annotation>            
-        <xs:complexType>
-            <xs:attributeGroup ref="attlist.filter"/>
-        </xs:complexType>
-    </xs:element>
-    <xs:attributeGroup name="attlist.filter">
-        <xs:attribute type="xs:string" name="use-when" use="required">
-            <xs:annotation><xs:documentation>Boolean expression tested to actived style on a line.</xs:documentation></xs:annotation>
-        </xs:attribute>
-        <xs:attribute type="xs:string" name="style" use="required">
-            <xs:annotation><xs:documentation>If use-when return true, concat this style to existing style of the line.</xs:documentation></xs:annotation>
-        </xs:attribute>
-    </xs:attributeGroup>
     <xs:element name="auto-fields-service">
         <xs:complexType>
             <xs:attributeGroup ref="attlist.auto-fields-service"/>
@@ -318,9 +303,15 @@
     </xs:element>
     <xs:attributeGroup name="attlist.field-group">
         <xs:attribute type="xs:string" name="title"/>
+            <xs:annotation><xs:documentation>A unique name for this fields group.</xs:documentation></xs:annotation>
         <xs:attribute type="xs:string" name="collapsible"/>
+            <xs:annotation><xs:documentation>Indicate in this fields group is collapsible or not, false by default.</xs:documentation></xs:annotation>
+        <xs:attribute type="xs:string" name="initially-collapsed"/>        
+        <xs:annotation><xs:documentation>Indicate in this fields group is initially collapsed or not, false by default. If set to true implies collapsible even if not set</xs:documentation></xs:annotation>
         <xs:attribute type="xs:string" name="id"/>
-        <xs:attribute type="xs:string" name="style"/>                
+            <xs:annotation><xs:documentation>Set an unique CSS identifier to this fields group.</xs:documentation></xs:annotation>
+        <xs:attribute type="xs:string" name="style"/>
+            <xs:annotation><xs:documentation>Set a CSS style to this fields group.</xs:documentation></xs:annotation>
     </xs:attributeGroup>
     <xs:element name="banner">
         <xs:complexType>