return response;
}
public AjaxResponse hideElement(AjaxActionEvent event) {
// Create an ajax action for hiding an element:
HideElement action = new HideElement("toHide");
// Create a concrete ajax response:
AjaxResponse response = new AjaxResponseImpl();
// Add the action:
response.addAction(action);