rice-framework/krad-web/src/main/webapp/krad/scripts/krad.actions.js
/**
 * Convenience method for submitting the form via Ajax
 *
 * <p>
 * For full options using the KradRequest function directly
 * </p>
 *
 * @param methodToCall - the controller method to be called
 * @param additionalData - any additional data that needs to be passed to the server
 */
Convenience method for submitting the form via Ajax


For full options using the KradRequest function directly


@param methodToCall - the controller method to be called
@param additionalData - any additional data that needs to be passed to the server
Convenience method for submitting the form via Ajax For full options using the KradRequest function directly @param methodToCall - the controller method to be called @param additionalData - any additional data that needs to be passed to the server
function ajaxSubmitForm(methodToCall, additionalData) {
    var kradRequest = new KradRequest();
    kradRequest.methodToCall = methodToCall;
    kradRequest.additionalData = additionalData;
    kradRequest.send();
}
function ajaxSubmitForm ( methodToCall , additionalData ) { var kradRequest = new KradRequest ( ) ; kradRequest . methodToCall = methodToCall ; kradRequest . additionalData = additionalData ; kradRequest . send ( ) ; }
Convenience method for submitting the form via Ajax
Convenience method for submitting the form via Ajax