No, it doesn't because the elements you want to put there can be panels. -Matej
Peter Klassen wrote: > Hi Matej, > > but isn't the fact, that i can use only one markup file (the tree.html) for > one TreeClass avoid the usage of different tree nodes ? > Thx. Peter > > > > Matej Knopp wrote: >> Hi, look at the Tree class - it extends DefaultAbstractTree. Use the >> same approach as tree does (you can copy the html template) and put in >> nodes whatever you want. >> >> -Matej >> >> Peter Klassen wrote: >>> Hi Eelco, >>> >>> thank you very much for your postings/mails. But To the topic: >>> Suppose you wan't to create a tree: >>> >>> <root-node with some icon-links including hints, and the regular >>> icon/link/label-combination> >>> <1.child-node, works like already given> >>> <2. child-node e.g. same as root-node, but some more labels> >>> But: >>> The markup of the Tree-class which is uses for every node. >>> <wicket:panel> >>> <div class="wicket-tree"> >>> <div wicket:id="i"><!-- tree item container --> >>> <span wicket:id="indent"></span> <span wicket:id="image"/> >>> <span class="icon" wicket:id="icon"></span> >>> <span wicket:id="label"></span> >>> </div> >>> </div> >>> </wicket:panel> >>> >>> That means, that i can't use different node components because the markup >>> is >>> fix for every node, right? Or is there something, that i oversaw? >>> >>> Thx! >>> Peter Klassen >>> >>> >>> >>> Eelco Hillenius wrote: >>>> If you look at the Tree and DefaultAbstractTree classes, you can see a >>>> bunch of overidable, protected methods. Usually in Wicket, if there is >>>> a non-final protected method, it is there for you to override if you >>>> need to (we'd either make it final or private if not). >>>> >>>> Now, I'm not sure what you want to achieve... you are using the tree >>>> component right? The Tree in core version 1.2 (moved to extensions for >>>> 2.0) has method newNodePanel for this. The tree in extensions version >>>> 1.2 (moved to core for 2.0) has methods like populateTreeItem for >>>> this. >>>> >>>> Maybe you could give a more detailed explanation of what you want to do? >>>> >>>> Eelco >>>> >>>> >>>> On 11/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >>>>> Hi all, >>>>> >>>>> I would like to add different type of components (maybe panels with >>>>> links, >>>>> labels and so on) to my >>>>> navigation tree nodes, dependant of the node level. This time, a static >>>>> scheme is given with a link, an icon and a label. This approach will >>>>> avoid >>>>> my needs, there is a Tree.html with >>>>> the corresponding markup, which is touched everytime. >>>>> >>>>> Any good ideas? >>>>> >>>>> Every answer is appreciated! >>>>> Cheers, Peter >>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>>>> your >>>>> opinions on IT & business topics through brief surveys - and earn cash >>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>>> _______________________________________________ >>>>> Wicket-user mailing list >>>>> Wicket-user@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>>>> >>>> ------------------------------------------------------------------------- >>>> Take Surveys. Earn Cash. Influence the Future of IT >>>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>>> your >>>> opinions on IT & business topics through brief surveys - and earn cash >>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>> _______________________________________________ >>>> Wicket-user mailing list >>>> Wicket-user@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>>> >>>> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user