List of usage examples for org.apache.wicket.util.convert.converter BooleanConverter INSTANCE
IConverter INSTANCE
To view the source code for org.apache.wicket.util.convert.converter BooleanConverter INSTANCE.
Click Source Link
From source file:com.userweave.components.authorization.AuthOnlyCheckBox.java
License:Open Source License
/** * CheckBox will by default always just use the boolean converter because the implementation * expects that the string is can be converted to a boolean {@link Strings#isTrue(String)} * //w w w . j ava2 s .c om * @see org.apache.wicket.Component#getConverter(java.lang.Class) */ @Override public IConverter getConverter(Class type) { return BooleanConverter.INSTANCE; }