Hi, i am not sure how to connect this to the stitch-demo you wrote before...
veillez! car nul ne sait ni l'heure ni ne jour. ________________________________ De : Lance Java <lance.j...@googlemail.com> À : Tapestry users <users@tapestry.apache.org> Envoyé le : Lundi 17 juin 2013 11h49 Objet : Re: DefaultTreeModel doesnt user encoder to get the node FYI, I have always thought that the DefaultTreeModel makes it difficult to efficiently load a TreeModel from the database. If you're not careful, you will fire N+1 selects. I have created an (untested) LazyTreeModel which IMO is much easier to implement an efficient database lookup for tree nodes. The LazyTreeModelAdapter is a much more database friendly interface which logically separates the calls. Code here https://gist.github.com/uklance/5795703 BE WARNED: It's untested