You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In your WebPage:

	AjaxFallbackButton a = new AjaxFallbackButton("id", form) {
		@Override
		protected void onSubmit(AjaxRequestTarget target, Form form) {
			if (target != null) {
				// Ajax submission
			} else {
				// Normal submission
			}
		}
	};
	form.add(a);
  • No labels