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 7ccddac  Improved: widget-form.xsd
7ccddac is described below

commit 7ccddac53a7ddfe33ef389e22fd34c9c698d6ba9
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Sun Apr 7 11:24:00 2024 +0200

    Improved: widget-form.xsd
---
 dtds/widget-form.xsd | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/dtds/widget-form.xsd b/dtds/widget-form.xsd
index bb5c1d5..09b382f 100644
--- a/dtds/widget-form.xsd
+++ b/dtds/widget-form.xsd
@@ -877,7 +877,14 @@ under the License.
                 <xs:element ref="list-options" />
                 <xs:element ref="option" />
             </xs:choice>
-            <xs:attribute name="all-checked" type="xs:boolean"/>
+            <xs:attribute name="all-checked" type="xs:boolean">
+                <xs:annotation>
+                    <xs:documentation>
+                        None option is checked by default.
+                        You may check options by setting field names as in 
QuoteForms.xml#FindQuotes
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
         </xs:complexType>
     </xs:element>
     <xs:element name="container" substitutionGroup="AllFields">
@@ -1448,6 +1455,14 @@ under the License.
                     <xs:documentation>The message displayed in confirmation 
box</xs:documentation>
                 </xs:annotation>
             </xs:attribute>
+            <xs:attribute name="propagate-callback" type="xs:boolean" 
default="false">
+                <xs:annotation>
+                    <xs:documentation>If you are on an edition process with 
different steps and you want to wait the end of the complete action before 
using the callback,
+                        use propagate-callback="true". The submit will 
understand that you want to continue your process and will not close the modal 
to refresh the screen.
+                        The callback action will be kept within the different 
steps
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
         </xs:complexType>
     </xs:element>
     <xs:element name="text" substitutionGroup="AllFields">
@@ -1504,6 +1519,13 @@ under the License.
                         table clean html spellcheck |(separator) Default is 
that all buttons are shown</xs:documentation>
                 </xs:annotation>
             </xs:attribute>
+            <xs:attribute type="xs:string" name="placeholder">
+                <xs:annotation>
+                    <xs:documentation>
+                        Content of the HTML placeholder attribute 
(https://developer.mozilla.org/fr/docs/Web/HTML/Element/textarea#placeholder), 
text to be displayed to the user when textarea is empty. Similar to text input 
placeholder.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
         </xs:complexType>
     </xs:element>
     <xs:element name="text-find" substitutionGroup="AllFields">

Reply via email to