Sounds like no one has done this. You might look at the original project this JavaScript Tree came from:
http://webfx.eae.net/dhtml/xtree/ Matt On 9/29/05, Pablo Rito <[EMAIL PROTECTED]> wrote: > Hi ! Has anyone modified xtree.html so images that are set in ex: > > mc = new MenuComponent(); > mc.setName(node.getName()); > mc.setTitle("demo"); > mc.setImage(node.getImage()); > Are show as icon on the folder tree, I have looked at the API but I > cant make this work > > > #macro( menuItem $menu $level ) > ## set title > #set ($title = $displayer.getMessage($menu.title)) > #set ($node = $menu.name) > > #if ($level == 0) > var $node = new > WebFXTree('$title'#if($menu.url),'$!menu.url','','$!menu.image',''#end); > #else > var $node = new > WebFXTreeItem('$title'#if($menu.url),'$!menu.url','','$!menu.image',''#e > nd); > ${menu.parent.name}.add($node); > #end > #end > > #displayMenu($menu 0) > document.write($menu.name); > > Best Regrds > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > struts-menu-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ struts-menu-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/struts-menu-user
