{
// Increment count
count++;
// The response should refresh the label displaying the counter.
getRequestCycle().setRequestTarget(new ComponentRequestTarget(counter));
}
/**
* Alter the javascript 'onclick' event to emit the Ajax call and
* update the counter label.