Oh, I fouled myself
There nothing to do with setType at all and WiA uses explicit call
only instead of generics.
So, if there are code such as mine, all one have to do is properly
assembly object on it's way to model.
private Collection<T> modelField;
@Override
protected void onInitialize() {
super.onInitialize();
collection = getModelObject();
}
@Override
protected void convertInput() {
collection.clear();
collection.addAll(group.getConvertedInput());
setConvertedInput(collection);
}
}
The solution was prompted by #updateModel()
God bless open source and all Wicket authors =))
--
Best regards
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]