Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 44575 invoked from network); 21 Jun 2007 03:50:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2007 03:50:27 -0000 Received: (qmail 38294 invoked by uid 500); 21 Jun 2007 03:50:24 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 38272 invoked by uid 500); 21 Jun 2007 03:50:24 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 38261 invoked by uid 99); 21 Jun 2007 03:50:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 20:50:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 20:50:20 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I1DgF-0004g8-OI for users@myfaces.apache.org; Wed, 20 Jun 2007 20:49:59 -0700 Message-ID: <11226245.post@talk.nabble.com> Date: Wed, 20 Jun 2007 20:49:59 -0700 (PDT) From: Geetha Rodricks To: users@myfaces.apache.org Subject: Re: [Trinidad] navigationPane and commandNavigationItem problem In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: geetharod@gmail.com References: X-Virus-Checked: Checked by ClamAV on apache.org Hi We have the same issue. We have the level="0" - the action gets called. 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: > value="#{menuModel.model}" level="2"> > > text="#{menuItem.label}" action="#{menuItem.getOutcome}" > immediate="true" > /> > > > > 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.