wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Landon <glan...@piti.pf>
Subject Re: [ANN] wicketstuff-lazymodel
Date Sat, 17 Aug 2013 02:13:33 GMT
Sven,

Concerning LazyColumn, the example should be :
column = new LazyColumn<A, Object, B>(header, sortProperty,
from(A.class).getB());
instead of 
column = new LazyColumn<A, B>(header, from(A.class).getB());

Also it would be nice to be able to use static LazyModel for column the same
we can do it for propertyModel like that :
private static final LazyModel myModel = model(from(A.class).getB());
...
column = new LazyColumn<A, String, B>(header, sortProperty, myModel);

Regards,
Gabriel.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/ANN-wicketstuff-lazymodel-tp4656509p4660937.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Mime
View raw message