Hi We have the same issue. We have the level="0" - the action gets called. <tr:navigationPane hint="tabs" id ="topoMenu" level="0" var="menu1" value="#{TopologyMenuBean.FMenuModel.model}">
But if the level="2" it displays the child menus. But action or actionListener is never called I tried destination alone and it works fine. We need action to work so we can update data before loading the page. We are using the trinidad-*-1.0.0-incubating.jar Thanks in advance Regards Geetha Zarick Lau wrote: > > Hi list, > > I'm currently introducing Trinidad into our project. We are using > 1.0.0-incubating with facelets-1.1.11. > > I've defined a MenuModel following the example in trinidad-demo (eg using > the ModuleModelAdapter, DemoNavitationItem, > ViewIdPropertyMenuModel, and ChildPropertyTreeModel) > > In the page, I've code like this: > <tr:navigationPane hint="tabs" var="menuItem" > value="#{menuModel.model}" level="2"> > <f:facet name="nodeStamp"> > <tr:commandNavigationItem > text="#{menuItem.label}" action="#{menuItem.getOutcome}" > immediate="true" > /> > </f:facet> > </tr:navigationPane> > > With this, the method "menuItem.getOutcome" is never get called. > I've sure the MenuModel is in good condiation (NavigationTree can show me > the correct menu with > correct focus path). > > I've try wrapping the document with tr:page / tr:panelPage. > I've also try with the 'immediate="true' in the commandNavigationItem. > But the situation never changed. > > Is this kind of use (navigationPane + commandNavigationItem as nodeStamp) > support? > > Any advice or help are welcome!! Thanks very much!!! > > Regards, > Zarick > > -- View this message in context: http://www.nabble.com/-Trinidad--navigationPane-and-commandNavigationItem-problem-tf3956252.html#a11226245 Sent from the MyFaces - Users mailing list archive at Nabble.com.