Hi all, I've added a new module to wicketstuff:
LazyModel offers lazy evaluation of method invocations. It takes the best from present solutions (safemodel and modelfactory) and improves on reflection to support:
* arbitrary parameters
* generics
* collections
* interfaces
Two simple examples:
IModel<String> model = model(from(a).getB().getStrings().get("key"));
new LazyColumn<A, B>(header, from(A.class).getB());
Read more here:
https://github.com/wicketstuff/core/wiki/LazyModel
Have fun
Sven
