List of usage examples for org.apache.wicket.markup.html.form Form getPage
@Override public final Page getPage()
From source file:com.pushinginertia.wicket.core.form.behavior.RealFullNameValidator.java
License:Open Source License
private String toLogString(final Form form, final TextField<String> errorComponent) { final String id = errorComponent.getId(); final String pageClass = form.getPage().getClass().getSimpleName(); return pageClass + " failed validation on input [" + id + "]: " + toString(firstName) + ", " + toString(familyName);/*w w w .j ava 2s . c o m*/ }