rendered paste body<h:form id="navigationForm"> <f:loadBundle basename="net.pokkie.jupiter.jsf.resource.resource_messages" var="resource_messages"/> <t:panelNavigation2 id="nav1" layout="list" itemClass="mypage" activeItemClass="selected"> <t:navigationMenuItems id="navitems" value="#{navigationMenuBean.panelNavigationItems}"/> </t:panelNavigation2> </h:form> <navigation-rule> <from-view-id>*</from-view-id> <navigation-case> <from-outcome>home</from-outcome> <to-view-id>/home.xhtml</to-view-id> </navigation-case> <navigation-case> <from-outcome>initialEnquiry</from-outcome> <to-view-id>/initialEnquiry.xhtml</to-view-id> </navigation-case> <navigation-case> <from-outcome>transaction</from-outcome> <to-view-id>/transaction.xhtml</to-view-id> </navigation-case> </navigation-rule> <navigation-rule> <from-view-id>home</from-view-id> <navigation-case> <from-outcome>transaction</from-outcome> <to-view-id>/transaction.xhtml</to-view-id> </navigation-case> <navigation-case> <from-outcome>initialEnquiry</from-outcome> <to-view-id>/initialEnquiry.xhtml</to-view-id> </navigation-case> </navigation-rule> <navigation-rule> <from-view-id>/home.xhtml</from-view-id> <navigation-case> <from-outcome>transaction</from-outcome> <to-view-id>/transaction.xhtml</to-view-id> </navigation-case> <navigation-case> <from-outcome>initialEnquiry</from-outcome> <to-view-id>/initialEnquiry.xhtml</to-view-id> </navigation-case> </navigation-rule> <navigation-rule> <from-view-id>/transaction.xhtml</from-view-id> <navigation-case> <from-outcome>home</from-outcome> <to-view-id>/home.xhtml</to-view-id> </navigation-case> <navigation-case> <from-outcome>initialEnquiry</from-outcome> <to-view-id>/initialEnquiry.xhtml</to-view-id> </navigation-case> </navigation-rule> public List getPanelNavigationItems() { List menu = new ArrayList(); // Home NavigationMenuItem home = new NavigationMenuItem( "#{resource_messages['panelnav_home']}", "#{navigationMenuBean.getHome}"); menu.add(home); // Initial Enquiry NavigationMenuItem initialEnquiry = new NavigationMenuItem( "#{resource_messages['panelnav_initialEnquiry']}", "#{navigationMenuBean.initialEnquiry}"); menu.add(initialEnquiry); // Transactions NavigationMenuItem transaction = new NavigationMenuItem( "#{resource_messages['panelnav_transaction']}", "#{navigationMenuBean.transaction}"); menu.add(transaction); return menu; } public String getHome() { logger.debug("home link called"); return "home"; } public String initialEnquiry() { logger.debug("initialEnquiry link called"); return "initialEnquiry"; } public String transaction() { logger.debug("transaction link called"); return "transaction"; }