## The displayMenu macro (at the bottom of this template) is defined in ## struts-menu.jar!/net/sf/displayer/globalMacros.vm. It has a callback to the #menuItem macro ## you see below. You can override this macro by creating a menuMacros.vm template ## at the root of your classpath #macro( menuItem $menu $level ) #foreach ($i in [0..$level])    #end #if ($menu.url) $displayer.getMessage($menu.title) #else $displayer.getMessage($menu.title) #end #end #displayMenu($menu 0)