Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 98988 invoked from network); 6 Dec 2006 16:13:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 16:13:40 -0000 Received: (qmail 64851 invoked by uid 500); 6 Dec 2006 16:13:44 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 64804 invoked by uid 500); 6 Dec 2006 16:13:44 -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 64791 invoked by uid 99); 6 Dec 2006 16:13:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 08:13:44 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [194.40.230.43] (HELO nzzipe02-0.nzz.ch) (194.40.230.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 08:13:31 -0800 Received: from unknown (HELO mail.nzzgruppe.net) ([194.40.221.141]) by nzzipe02-0.nzz.ch with ESMTP; 06 Dec 2006 17:13:10 +0100 X-IronPort-AV: i="4.09,504,1157320800"; d="scan'208,217"; a="1557077:sNHT37068871" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C71951.6C43686C" Subject: How to detect selections made in Tree2 or PanelNavigation2 Date: Wed, 6 Dec 2006 17:13:10 +0100 Message-ID: <646DA19543FAED48BDDE385A9E0FD36E01A08205@NZZEX04-0.zh01.nzzgruppe.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to detect selections made in Tree2 or PanelNavigation2 Thread-Index: AccZUWw73n2X3oa3QNaNNn9mhSLYYQ== From: "Treu Valentin" To: X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C71951.6C43686C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi there, i'm quite new to MyFaces and Tomahawk and therefore having the following = question: Is it possible to detect for a t:Tree2 or t:PanelNavigation2 component = which element (i.e. leaf node) has been clicked ? Since i have to build a dynamic menu structure that can always change = every leaf node has to get a=20 unique id with that i can react on the server. Also there should only be = one action method called on the server which does invoke all further steps. Until now i've only found examples that just open a new window or = redirect to a new jsp page when clicking on a leaf node, but never one that tracks which leaf node has been selected, = followed by specific actions. I hope someone can tell me if that's possible and how i can achieve = this. Thanks & regards Valentin Treu ------_=_NextPart_001_01C71951.6C43686C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable How to detect selections made in Tree2 or = PanelNavigation2

Hi there,

i'm quite new to MyFaces and Tomahawk = and therefore having the following question:
Is it possible to detect for a t:Tree2 = or t:PanelNavigation2 component which element (i.e. leaf node) has been = clicked ?

Since i have to build a dynamic menu = structure that can always change every leaf node has to get a
unique id with that i can react on the = server. Also there should only be one action method called
on the server which does invoke all = further steps.
Until now i've only found examples = that just open a new window or redirect to a new jsp page when clicking = on a
leaf node, but never one that tracks = which leaf node has been selected, followed by specific actions.

I hope someone can tell me if that's = possible and how i can achieve this.
Thanks & regards
Valentin Treu




------_=_NextPart_001_01C71951.6C43686C--