src/main/resources/META-INF/resources/webjars/bundle.js
/**
         * Submits the form.<br>
         * This method is called automatically when the form is submitted for example by clicking an input of type submit present
         * in the form or by submitting the form using javascript.<br>
         * When this method is called, the form is validated, then the getData method is called.<br>
         * The following chain of event is fired when this method is called
         * <ul>
         * <li>beforeSubmit event is fired</li>
         * <li>
         * validate method is called
         * <ul>
         * <li>beforeValidate event is fired</li>
         * <li>onError event is fired only if there is any error in the form</li>
         * <li>afterValidate event is fired</li>
         * </ul>
         * </li>
         * <li>
         * if form is valid, getData method is called
         * <ul>
         * <li>beforeGetData event is fired</li>
         * <li>afterGetData event is fired</li>
         * </ul>
         * </li>
         * <li>if form is valid submit event is fired</li>
         * <li>Whether or not form is valid, afterSubmit event is fired</li>
         * </ul>
         *
         */
Submits the form.
This method is called automatically when the form is submitted for example by clicking an input of type submit present
in the form or by submitting the form using javascript.
When this method is called, the form is validated, then the getData method is called.
The following chain of event is fired when this method is called

beforeSubmit event is fired

validate method is called

beforeValidate event is fired
onError event is fired only if there is any error in the form
afterValidate event is fired



if form is valid, getData method is called

beforeGetData event is fired
afterGetData event is fired


if form is valid submit event is fired
Whether or not form is valid, afterSubmit event is fired

Submits the form . This method is called automatically when the form is submitted for example by clicking an input of type submit present in the form or by submitting the form using javascript . When this method is called the form is validated then the getData method is called . The following chain of event is fired when this method is called beforeSubmit event is fired validate method is called beforeValidate event is fired onError event is fired only if there is any error in the form afterValidate event is fired if form is valid getData method is called beforeGetData event is fired afterGetData event is fired if form is valid submit event is fired Whether or not form is valid afterSubmit event is fired
submit() {
            const evt = new CustomEvent("beforeSubmit");
            evt["source"] = this;
            this.fireListener("beforeSubmit", evt);
            if (this.validate()) {
                const data = this.getData();
                const on = new CustomEvent("submit");
                on["source"] = this;
                on["data"] = data;
                this.fireListener("submit", on);
            }
            const evtAfter = new CustomEvent("afterSubmit");
            evtAfter["source"] = this;
            this.fireListener("afterSubmit", evtAfter);
        }
submit ( ) { const evt = new CustomEvent ( "beforeSubmit" ) ; evt [ "source" ] = this ; this . fireListener ( "beforeSubmit" , evt ) ; if ( this . validate ( ) ) { const data = this . getData ( ) ; const on = new CustomEvent ( "submit" ) ; on [ "source" ] = this ; on [ "data" ] = data ; this . fireListener ( "submit" , on ) ; } const evtAfter = new CustomEvent ( "afterSubmit" ) ; evtAfter [ "source" ] = this ; this . fireListener ( "afterSubmit" , evtAfter ) ; }
Submits the form.<br>
 This method is called automatically when the form is submitted for example by clicking an input of type submit present
 in the form or by submitting the form using javascript.<br>
 When this method is called, the form is validated, then the getData method is called.<br>
 The following chain of event is fired when this method is called
 <ul>
 <li>beforeSubmit event is fired</li>
 <li>
 validate method is called
 <ul>
 <li>beforeValidate event is fired</li>
 <li>onError event is fired only if there is any error in the form</li>
 <li>afterValidate event is fired</li>
 </ul>
 </li>
 <li>
 if form is valid, getData method is called
 <ul>
 <li>beforeGetData event is fired</li>
 <li>afterGetData event is fired</li>
 </ul>
 </li>
 <li>if form is valid submit event is fired</li>
 <li>Whether or not form is valid, afterSubmit event is fired</li>
 </ul>
Submits the form . <br > This method is called automatically when the form is submitted for example by clicking an input of type submit present in the form or by submitting the form using javascript . <br > When this method is called the form is validated then the getData method is called . <br > The following chain of event is fired when this method is called <ul > <li > beforeSubmit event is fired< / li > <li > validate method is called <ul > <li > beforeValidate event is fired< / li > <li > onError event is fired only if there is any error in the form< / li > <li > afterValidate event is fired< / li > < / ul > < / li > <li > if form is valid getData method is called <ul > <li > beforeGetData event is fired< / li > <li > afterGetData event is fired< / li > < / ul > < / li > <li > if form is valid submit event is fired< / li > <li > Whether or not form is valid afterSubmit event is fired< / li > < / ul >