RE: wicket-tree implementation

2011-03-14 Thread Erik Johansson
in the ITreeProvider's detach(), perhaps I need to do something there? Editing existing objects works well, but not new objects. Thanks, Erik Johansson -Original Message- From: Sven Meier [mailto:s...@meiers.net] Sent: 11. mars 2011 18:57 To: users@wicket.apache.org Subject: Re: wicket-tree implementation

Re: wicket-tree implementation

2011-03-14 Thread Sven Meier
Hi Erik, wicket-tree doesn't cache any information (in contrast to Wicket's tree implementation). Thus updating the parental branch or adding the whole tree to the request target should work fine, the former method might fail if your equals() method is bogus though. Please set a

wicket-tree implementation

2011-03-11 Thread Erik Johansson
Hello. I am trying out wicket-tree, by Sven Maier. However I can't figure out what is needed to get it to display the tree properly. It shows the content as its toString method. I have overridden it at the ITreeProvider.model-method, but that isn't it, it seems. The original object's

Re: wicket-tree implementation

2011-03-11 Thread Sven Meier
Hi Erik, you can override a factory method in a tree subclass: @Override protected Component newContentComponent(String id, IModelFoo model) { return new FolderFoo(id, this, model) { protected IModel?