Hi Massimo,

with wicket-tree you're in full control on what content to display for each node:

        tree = new NestedTree<Foo>("tree", provider)
        {
            @Override
protected Component newContentComponent(String id, IModel<Foo> model)
            {
                // you know best which nodes are roots
                if (model.getObject().isRoot()) {
                  // return content for root node
                } else {
                  // return content for other nodes
                }
            }
        };

Hope this helps

Sven

On 04/25/2011 01:19 PM, massimo_pugni wrote:
Hello all,
I'm trying out the wicket-tree components by Sven Meier and, does anybody
know if there is a way to get the root's 'checkboxes' hidden  when using the
'CheckedSelectableFolderContent' content option?

best regards
massimo

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3472967.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to