public class SingleEntryModelAdaptor<T> extends Object implements org.apache.wicket.model.IModel<List<T>>
Multiple-entry text fields can allow the user to select multiple values. However, if they have a "non-multiple" version, the user can only select one value. The appropriate model for such a field is a Model<X> but the multiple-entry text field will require a Model<List<X>>.
An object of this class allows the application to provide a Model<X> but the multiple-value text field (which is operating in single-value mode) to see a Model<List<X>>.
|Constructor and Description|
public SingleEntryModelAdaptor(org.apache.wicket.model.IModel<T> x)
public void detach()