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 2022/11/10 18:45:48 UTC

[ofbiz-site] branch master updated: Improved: updates DTDs on site

This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 301d004  Improved: updates DTDs on site
301d004 is described below

commit 301d004c08352eb274f9fd5e8c0331d596dab4b6
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Thu Nov 10 19:45:52 2022 +0100

    Improved: updates DTDs on site
---
 .gitignore           |  1 +
 dtds/site-conf.xsd   |  2 +-
 dtds/widget-form.xsd | 10 +++++++++-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index bf6b28a..30c4f5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 
 
 .DS_Store
+/.settings/
diff --git a/dtds/site-conf.xsd b/dtds/site-conf.xsd
index f6912fa..8f3bf37 100644
--- a/dtds/site-conf.xsd
+++ b/dtds/site-conf.xsd
@@ -512,7 +512,7 @@ under the License.
         <xs:attribute name="name" type="xs:string" use="required">
             <xs:annotation>
                 <xs:documentation>
-                    The name of the response, wich also matches the string returned by the event
+                    The name of the response, that also matches the string returned by the event
                 </xs:documentation>
             </xs:annotation>
         </xs:attribute>
diff --git a/dtds/widget-form.xsd b/dtds/widget-form.xsd
index 3b482a3..bb5c1d5 100644
--- a/dtds/widget-form.xsd
+++ b/dtds/widget-form.xsd
@@ -857,7 +857,15 @@ under the License.
                     </xs:documentation>
                 </xs:annotation>
             </xs:attribute>
-            <xs:attribute name="disabled" type="xs:boolean" default="false"/>
+            <xs:attribute type="xs:string" name="disabled">
+                <xs:annotation>
+                    <xs:documentation>
+                        Set a field as disabled : not mutable, not focusable, not submitted if in a form.
+                        Accepts ${} notation to allow use of expressions.
+                        Expressions must evaluate to the strings 'true', 'false' (without quotes) or empty (equivalent to false)
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
         </xs:complexType>
     </xs:element>