Hi,

I would like to know how to add dynamically a sub menu like :

file
file1
 file1_1
 file1_2
file2


Currently I use this way :


NavigationMenuItem tools = getMenuNaviagtionItem(UtilGui.getTranslationText("common_tools"), null); tools.add(new NavigationMenuItem(UtilGui.getTranslationText("tools_index"), "goIndex","./images/myfaces.gif",true)); tools.add(new NavigationMenuItem(UtilGui.getTranslationText("tools_password"), "goPassword","./images/myfaces.gif",true)); tools.add(new NavigationMenuItem(UtilGui.getTranslationText("tools_properties"), "goProperties","./images/myfaces.gif",true)); menu.add(tools);
thx in advance :)

Reply via email to