checkBox.setOnChange("this.form.submit();");
checkBox.setOnClick("this.form.submit();"); checkBox.setOnDblClick("this.form.submit();");
            public HtmlComponent createComponent(Object object, Class type) {                HtmlCheckBox checkBox = (HtmlCheckBox) layout.createComponent(object, type);                checkBox.setController(new PostBackController(getDestination()));                checkBox.setOnChange("this.form.submit();");                return checkBox;            }