// The AjaxFormSubmitBehavior already calls the onSubmit of the form,
// all
// we need to do in the onSubmit(AjaxRequestTarget) handler is do our
// Ajax
// specific stuff, like rendering our components.
commentForm.add(new AjaxFormSubmitBehavior(commentForm, "onsubmit")
{
@Override
protected IAjaxCallDecorator getAjaxCallDecorator()
{
return new AjaxCallDecorator()