求教各位!strutsmenu 地xtree.html中沒有terget設定?

hotmail發表於2006-11-14
求教各位!strutsmenu 地xtree.html中沒有terget設定?
## displayMenu is defined in WEB-INF/classes/globalMacros.vm
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'end);
else
var $node = new WebFXTreeItem('$title'if($menu.url),'$!menu.url'end);
${menu.parent.name}.add($node);
end
end

displayMenu($menu 0)
document.write($menu.name);

相關文章