Object onActionFromIncrementAjax() { clickCount++; alertManager.info("Increment (via Ajax) clicked"); return zone; }
public void onSuccessFromAddQueueForm() { try { hornetQService.createPersistentQueue(createQueueAddress, createQueueName, createQueueDurable); } catch (Exception e) { alertManager.alert(Duration.SINGLE, Severity.ERROR, e.getMessage()); LOGGER.error("Error creating queue", e); } }
Object onSuccessFromForm() { Users users = new UsersImpl(); users.updateUser(user, newPassword); alertManager.alert(Duration.TRANSIENT, Severity.SUCCESS, "Password changed"); return indexPage; }
void onActionFromIncrement() { alertManager.info("Increment clicked"); clickCount++; }