Re: Question about setting Lists

2010-03-05 Thread Jeremy Thomerson
Don't generate lists in your constructor / init methods and set them on the list. This is one of the most common pitfalls that newcomers to Wicket fall in to. Instead, create a LoadableDetachableModel, ala: new ListView("list", new LoadableDetachableModel>() { public List load() { // note

Question about setting Lists

2010-03-05 Thread Eric Reagan
Hi, I am still new to Wicket and I think I might be missing something. I am trying to create a list of items and then have a panel generate a ListView which contains the previously created list (and all their children and children's children..etc). In order to do this I created a class for th