public void doSubmit ( ) { this . setSubmitMde ( true ) ; // validation may behavior differently depend on the submit mode. // e.g. when submit mode = false, empty fields or value not changed cells // don't need to pass the validation rule. This allow partial save the form. // when submit mode = true, all cells need to pass the validation. if ( ! this . getHelper ( ) . getValidationHandler ( ) . preValidation ( ) ) { LOG . fine ( "Validation failed before saving" ) ; return ; } processSubmit ( ) ; this . getHelper ( ) . getWebSheetLoader ( ) . setUnsavedStatus ( RequestContext . getCurrentInstance ( ) , false ) ; this . setSubmitMde ( false ) ; }
Submit the current workbooks .