-Igor
On 5/22/06, VGJ <[EMAIL PROTECTED]> wrote:
The code in examples looks screwy to me too, since it defines wicket:id="rows" for the GridView control and wicket:id="cols" as the columns...yet in the class there is no mention of "cols" anywhere. Is this some built-in object?
I'm obviously getting an exception because I've setup "rows" and "cols" but there is no "cols" - every widget I've nested inside of "cols" is causing my hierarchy to be incorrect.
On Mon, 2006-05-22 at 10:02 -0700, Igor Vaynberg wrote:
On 5/22/06, VGJ < [EMAIL PROTECTED]> wrote:Ok, this makes more sense than the example in wicket-examples. However, what if the List I'm passing in is actually wrapped in a LoadableDetachableModel?
that should be ok because dataview will check if the idataprovider impl you passed in also implements IDetachable and call detach on it at the end of request.
so class MyDataProvider extends ListDataProvider implements IDetachable {....}
Congrats on the baby, by the way!!
thank you :)
-Igor