Sorry for the late reply. I understand what happens here now. BookmarkableLink#setPageMap has kind of a weak contract in that it only sets a target attribute when that attribute was already present in the link. Thinking about this though, I think Wicket should be stronger here and just set it. With that fix, your code works.
If there are no objectsions, I'll make this change shortly. Eelco On 2/25/07, Ramineni Viswanath <[EMAIL PROTECTED]> wrote: > Thanks, I have downloaded Wicket 2.0 now. I still have > a problem making Tree work in a frame. I have made a > few changes in the LeftFrame.html and LeftFrame.java > from the frames example to include a tree component. > BookmarkablePageLink used as a node link is behaving > differently, i.e. instead of showing the target page > in the right frame, it is showing in the left frame. I > have attached the two files. > > --Vish > > --- Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Are you using the 'old' tree? Note that the tree in > > 1.2/ 1.3 is > > deprecated in favor of the one in extensions, which > > is the default in > > 2.0. > > > > Probably the easiest way to customize the tree is to > > override > > newNodePanel and provide your custom implementation > > there. But in your > > case - since it sounds like you're still starting > > out - I would first > > take a look at Matej's tree in > > wicket.extensions.markup.html.tree. > > It's way more flexible and has amongst other things > > support for tables > > and ajax loading. > > > > Eelco > > > > > > On 2/24/07, Ramineni Viswanath <[EMAIL PROTECTED]> > > wrote: > > > Could someone guide me on how to extend Tree to > > > override createNodeLink, getJunctionImage etc to > > > customise the packaged Tree component. The docs > > are > > > not very clear on this. > > > > > > My main idea is to use frames and have a menu tree > > in > > > the left frame. > > > > > > --Vish > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > Be a PS3 game guru. > > > Get your game face on with the latest PS3 news and > > previews at Yahoo! Games. > > > > > http://videogames.yahoo.com/platform?platform=120121 > > > > > > > > > ------------------------------------------------------------------------- > > > 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 > > > [email protected] > > > > > > 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 > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > ____________________________________________________________________________________ > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > http://answers.yahoo.com/dir/?link=list&sid=396545367 > > > > > Page 1 > Page 2 > Link-o-matic Page > Menu tree goes here > ------------------------------------------------------------------------- > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
