the javascript in the
onSubmit, but then i can't use this.form[' + group.getInputName() + ']
to iterate over all checkboxes.
Any idea?
--
View this message in context:
http://www.nabble.com/Select-CheckGroup-with-Button-instead-of-CheckGroupSelector-tp15039121p15039121.html
Sent from the Wicket
I think if you add 'return false;' to your javascript, the button's
default click action (submitting
a form) isn't executed, so your DataTable doesn't get refreshed.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
[' + group.getInputName()
+ ']; if (cb!=null) { if (!isNaN(cb.length)) { for(var
i=0;icb.length;i++) { cb[i].checked=true; } } } return false;;
}
}
--
View this message in context:
http://www.nabble.com/Select-CheckGroup-with-Button-instead-of-CheckGroupSelector-tp15039121p15042108.html
Sent from