Hi All,
I want to open a page when I click on any node of menu.
my jsp is,
where "AppMenu" from faces config is pointing to Java file.
This Java file reads menu from XML file.
In Java file ,
I am returning menus which read from XML file as,
public NavigationMenuItem[] getMenuItems(NodeList children){
List
childList=new ArrayList();
for(int i=0;iattrMap.getNamedItem.("action").getNodeValue());
if(node.hasChildNodes())
navItem.setNavigationMenuItems(getMenuItems(node.getChildNodes()));
childList.add(navItem);
}
}
}
NavigationMenuItem[] items=new NavigationMenuItem[childList.size()];
for(int i=0;i
& in faces-config i m pointing this myhome variable to another jsp as,
myhome
/myhome.jsp
But when I click on menu the another page is not opening.
Any help/link will be appreciable.
Thanks in advance
Sandip
View this message in context: how to identify which node of menu selected to open new page from that
Sent from the MyFaces - Users forum at Nabble.com.