Re: Add different component for treenode

2008-08-02 Thread vishy_sb
component_b(id, model, tree); else return new component_c(id, model, tree); } is it possible? thk -- View this message in context: http://www.nabble.com/Add-different-component-for-treenode-tp16332161p18786985.html Sent from the Wicket

Re: Add different component for treenode

2008-08-01 Thread vishy_sb
); else if return new component_b(id, model, tree); else return new component_c(id, model, tree); } is it possible? thk -- View this message in context: http://www.nabble.com/Add-different-component

Add different component for treenode

2008-03-27 Thread [EMAIL PROTECTED]
Hi, with newNodeComponent in the BaseTree class i can specify a different component for my treenode, but this is the same for all node. Is it possible setting different treenode component for added a different type of node in my tree? something like this: protected Component

Re: Add different component for treenode

2008-03-27 Thread Igor Vaynberg
i dont see why not. model.getobject() will get you the treenode, which you can cast down to your impl which will have a type property -igor On Thu, Mar 27, 2008 at 8:24 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, with newNodeComponent in the BaseTree class i can specify a