rem:    if (!form.onsubmit || form.onsubmit() != false) { form.submit(); 
add:   if (!form.onsubmit || form.onsubmit() != false) { cocoon.forms.fullPageSubmit(form, name, params); 
context: cocoon.forms.submitForm = function(element, name) {    var form = this.getForm(element);    if (form == null) {        alert("Cannot find form for " + element);        return;    }    if (!name) name = element.name;    var dojoId = form.getAttribute("dojoWidgetId");    if (dojoId) {        // Delegate to the CFormsForm widget        dojo.widget.byId(dojoId).submit(name);    } else {				// Regular submit. How old-fashioned :-)								// Send the identifier of the widget that triggered the submit				form["forms_submit_id"].value = name;				// A form's onsubmit is only called when submit is triggered by user action, but not when				// called by a script. So don't forget to call it, cancelling the submit if (and only if)				// it returns false        if (!form.onsubmit || form.onsubmit() != false) {            form.submit();        }    }}
meta: 1201	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1201/7826366b3d926533ef8980e82c454cc60331de48/common.js/buggy/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/common.js