Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 09ED3C3A9 for ; Thu, 11 Jul 2013 06:29:25 +0000 (UTC) Received: (qmail 59901 invoked by uid 500); 11 Jul 2013 06:29:25 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 59706 invoked by uid 500); 11 Jul 2013 06:29:17 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 59698 invoked by uid 99); 11 Jul 2013 06:29:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 06:29:12 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of pavanraju.mca@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 06:29:06 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UxAMb-0002ls-OT for user@pivot.apache.org; Wed, 10 Jul 2013 23:28:25 -0700 Date: Wed, 10 Jul 2013 23:28:25 -0700 (PDT) From: Santosh To: user@pivot.apache.org Message-ID: <1373524105748-4022633.post@n3.nabble.com> In-Reply-To: <6152BDF053E74643B4C0A41150F5ADC301B5CCD0@USINVMAILB01.ingres.prv> References: <6152BDF053E74643B4C0A41150F5ADC301B5C7A7@USINVMAILB01.ingres.prv> <1373454282745-4022631.post@n3.nabble.com> <6152BDF053E74643B4C0A41150F5ADC301B5CCD0@USINVMAILB01.ingres.prv> Subject: RE: Based of Path how to get TreeBranch or TreeNode MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Roger, I made a mistake of saying node selection. The process you told was working correctly. I see all the leaf nodes are selected, under a checked TreeBranch. But this is not exactly what i need. As iam using TreeView (Checked - with a Checkbox associated to all the nodes), i want the leaf nodes to be checked / unchecked. As i was able to get the leaf nodes path under a checked TreeBranch as: for (TreeNode node : branch) { Sequence.Tree.Path leafPath = Sequence.Tree.pathOf(treeRoot, node); //treeView.addSelectedPath(leafPath); // This makes the particular leaf node selection. } With the leaf node path how to check it or uncheck it. ----- santosh pavan raju -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Based-of-Path-how-to-get-TreeBranch-or-TreeNode-tp4022629p4022633.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.