Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 51814 invoked from network); 13 May 2008 21:51:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2008 21:51:11 -0000 Received: (qmail 82836 invoked by uid 500); 13 May 2008 21:51:08 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 82791 invoked by uid 500); 13 May 2008 21:51:08 -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 82780 invoked by uid 99); 13 May 2008 21:51:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 14:51:08 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Tue, 13 May 2008 21:50:14 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jw2OJ-0001SN-3n for users@myfaces.apache.org; Tue, 13 May 2008 14:50:35 -0700 Message-ID: <17219157.post@talk.nabble.com> Date: Tue, 13 May 2008 14:50:35 -0700 (PDT) From: Neil Venn To: users@myfaces.apache.org Subject: [Trinidad] How can I use panelTabbed or showDetailItem as PPR trigger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: neil@seabright-consulting.co.uk X-Virus-Checked: Checked by ClamAV on apache.org I have read in the Developer Guide that panelTabbed component uses PPR automatically to show tabs - is there a way other components on the page could register as listeners for the trigger in order to refresh when a tab is shown. Here is my scenario: my page includes a panelTabbed with three tabs - each tab contains a table, each table shows similar data just filtered differently, another panel on the page should show details of the selected data row from the currently visible table. I can register the other panel's partialTriggers as all three tables and the selectionListener in the backing bean is able to recognise the current table from the event data and copy the details to the attributes displayed in the panel - this works fine and the panel displays detail data from any of the three tables. In the DisclosureListener I can detect the selected tab and thus deduce the selected table and update the attributes but because the panelTabbed is not registered as a partial trigger for the other panel the other panel does not update. I have tried allocating and ID to the panelTabbed to use in the partialTriggers attribute (and even tried doing the same for the showDetailItem components for good measure) but to no avail. Is there a way I can find the ID to use - or is this generated? Or can anyone suggest a way to achieve what I require. BTW I cannot put the other panel within the showDetailItem due to the requirements for page layout. Thanks in advance Neil -- View this message in context: http://www.nabble.com/-Trinidad--How-can-I-use-panelTabbed-or-showDetailItem-as-PPR-trigger-tp17219157p17219157.html Sent from the MyFaces - Users mailing list archive at Nabble.com.