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 9957879  Updates simple-methods.xsd and widget-form.xsd
9957879 is described below

commit 9957879054ff761517a552203353a7f6e080ed70
Author: Jacques Le Roux <[email protected]>
AuthorDate: Sun May 25 13:56:23 2025 +0200

    Updates simple-methods.xsd and widget-form.xsd
---
 dtds/simple-methods.xsd |  6 +++---
 dtds/widget-form.xsd    | 14 +++++++++-----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/dtds/simple-methods.xsd b/dtds/simple-methods.xsd
index 0d6568d..6172804 100644
--- a/dtds/simple-methods.xsd
+++ b/dtds/simple-methods.xsd
@@ -301,7 +301,7 @@ under the License.
             <xs:attribute name="event-request-object-name" type="xs:string">
                 <xs:annotation>
                     <xs:documentation>
-                        The name of the field containing the 
javax.servlet.ServletRequest object. Defaults to "request".
+                        The name of the field containing the 
jakarta.servlet.ServletRequest object. Defaults to "request".
                         
                         Used when the simple method is invoked as an event, it 
is ignored otherwise.
                         
@@ -312,7 +312,7 @@ under the License.
             <xs:attribute name="event-response-object-name" type="xs:string">
                 <xs:annotation>
                     <xs:documentation>
-                        The name of the field containing the 
javax.servlet.ServletResponse object. Defaults to "response".
+                        The name of the field containing the 
jakarta.servlet.ServletResponse object. Defaults to "response".
                         
                         Used when the simple method is invoked as an event, it 
is ignored otherwise.
                         
@@ -323,7 +323,7 @@ under the License.
             <xs:attribute name="event-session-object-name" type="xs:string">
                 <xs:annotation>
                     <xs:documentation>
-                        The name of the field containing the 
javax.servlet.http.HttpSession object. Defaults to "session".
+                        The name of the field containing the 
jakarta.servlet.http.HttpSession object. Defaults to "session".
                         
                         Used when the simple method is invoked as an event, it 
is ignored otherwise.
                         
diff --git a/dtds/widget-form.xsd b/dtds/widget-form.xsd
index 1fe65b8..2be59b4 100644
--- a/dtds/widget-form.xsd
+++ b/dtds/widget-form.xsd
@@ -986,8 +986,7 @@ under the License.
     <xs:element name="date-range-picker" substitutionGroup="AllFields">
         <xs:annotation>
             <xs:documentation>
-                A wrapper on top of https://www.daterangepicker.com.
-                See https://www.daterangepicker.com/#options for documentation.
+                A wrapper on top of https://www.daterangepicker.com/, see 
https://www.daterangepicker.com/#options for documentation.
             </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -1582,13 +1581,18 @@ under the License.
             <xs:attribute name="visual-editor-enable"
                           type="xs:boolean" default="false">
                 <xs:annotation>
-                    <xs:documentation>This will enable the html editor on this 
text area from www.unverse.net (more info there), only one textarea can be used 
on one page</xs:documentation>
+                    <xs:documentation>
+                        This will enable the HTML editor on this text area 
from https://alex-d.github.io/Trumbowyg/
+                    </xs:documentation>
                 </xs:annotation>
             </xs:attribute>
             <xs:attribute type="xs:string" name="visual-editor-buttons">
                 <xs:annotation>
-                    <xs:documentation>In here you can specify which buttons 
you want to see and in which order separated by blanks. Available buttons 
are:formatblock fontname fontsize newline bold italic underline left center 
right number bullet indent outdent undo redo color hilite rule link image
-                        table clean html spellcheck |(separator) Default is 
that all buttons are shown</xs:documentation>
+                    <xs:documentation>
+                        Trumbowyg buttons configuration object, as a 
JSON.parse parsable string (2 dimensions string array).
+                        Ex: 
[['formatting'],['strong','em','del'],['link'],['unorderedList','orderedList'],['horizontalRule']]
+                        See 
https://alex-d.github.io/Trumbowyg/documentation/#button-pane
+                    </xs:documentation>
                 </xs:annotation>
             </xs:attribute>
             <xs:attribute type="xs:string" name="placeholder">

Reply via email to