From adffaces-issues-return-1380-apmail-incubator-adffaces-issues-archive=incubator.apache.org@incubator.apache.org Sat Nov 11 22:05:28 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-issues-archive@locus.apache.org Received: (qmail 80066 invoked from network); 11 Nov 2006 22:05:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2006 22:05:28 -0000 Received: (qmail 79824 invoked by uid 500); 11 Nov 2006 22:05:38 -0000 Delivered-To: apmail-incubator-adffaces-issues-archive@incubator.apache.org Received: (qmail 79805 invoked by uid 500); 11 Nov 2006 22:05:38 -0000 Mailing-List: contact adffaces-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-issues@incubator.apache.org Delivered-To: mailing list adffaces-issues@incubator.apache.org Received: (qmail 79796 invoked by uid 99); 11 Nov 2006 22:05:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Nov 2006 14:05:38 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1C74E7142CD for ; Sat, 11 Nov 2006 14:04:37 -0800 (PST) Message-ID: <15126379.1163282677113.JavaMail.jira@brutus> Date: Sat, 11 Nov 2006 14:04:37 -0800 (PST) From: "Kamran Kashanian (JIRA)" To: adffaces-issues@incubator.apache.org Subject: [jira] Created: (ADFFACES-288) Move the defaulting of the focusRowKey attribute for the TreeTable component to the renderer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Move the defaulting of the focusRowKey attribute for the TreeTable component to the renderer -------------------------------------------------------------------------------------------- Key: ADFFACES-288 URL: http://issues.apache.org/jira/browse/ADFFACES-288 Project: MyFaces ADF-Faces Issue Type: Improvement Environment: All Reporter: Kamran Kashanian The Trinidad TreeTable is limited to a single root node. The root node that is displayed by the TreeTable is indicated by the focusRowKey attribute of TreeTable. When no focusRowKey attribute is specified, TreeTable defaults the focusRowKey to the first node in the tree model. This defaulting of the focusRowKey attribute is done in a package scoped method (__init()) of the UIXTreeTable class. Since there is no hook for subclasses of UIXTreeTable to override the defaulting of the focusRowKey attribute, the subclasses are also limited to a single root node (if they use the same focusRowKey logic to display the root node.) The proposal is to move the defaulting of the focusRowKey attribute out of the UIXTreeTable component and into the renderer. This allows subclasses of UIXTreeTable to handle a null focusRowKey and display multiple root nodes. This patch includes this change. Also currently both Tree and TreeTable initially expand the focusRowKey node. This initial expansion was also being done in the component. This patch moves the initial expansion of the focusRowKey node into the renderer. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira