Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 91012 invoked from network); 29 Jan 2007 16:24:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2007 16:24:31 -0000 Received: (qmail 50967 invoked by uid 500); 29 Jan 2007 16:24:33 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 50940 invoked by uid 500); 29 Jan 2007 16:24:33 -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 50928 invoked by uid 99); 29 Jan 2007 16:24:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 08:24:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of svilen.ivanov@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 08:24:20 -0800 Received: by ug-out-1314.google.com with SMTP id j3so1136645ugf for ; Mon, 29 Jan 2007 08:23:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mZQ1O/+fllgijPmXZeI9CLSCE9f04g/8PB4jTygXja+quhDVzpldq/8OphsxbAWbOjEkkXucMaRAbZutFIomFTXirGrNUB0hwxoPGRXFpKivsvgeymBDo+ZUanDN364tj7VfGVwXvYnHpZLa9NNcdX+lrmhkrFh4Vh1HiMppFKA= Received: by 10.82.107.15 with SMTP id f15mr3559090buc.1170087838023; Mon, 29 Jan 2007 08:23:58 -0800 (PST) Received: by 10.82.184.8 with HTTP; Mon, 29 Jan 2007 08:23:57 -0800 (PST) Message-ID: <45190510701290823p62863d74sc40df52af0123a49@mail.gmail.com> Date: Mon, 29 Jan 2007 18:23:57 +0200 From: "Svilen Ivanov" To: "MyFaces Discussion" Subject: Nesting t:tree2; problem with binding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, I need to create a tree which nodes contain another tree as well. Something like the following (simplified) JSF snippet. The problem is that the "innerTree" expand/collpase state is one and same for each node of "outerTree". For example if first rendered "team" facet has only 2 levels, the rest of the "innerTree"s for the rest of the nodes would be expanded to the 2nd level only. I assume that the problem is that innerTree don't have binding associated. When I tried to associate binding where "node" is the key to the binding - I receive exception that "node" is null. I assume that the problem is due to creating binding in earlier JSF phase that evaluating the tree. Does anyone has an idea how to make the state of outerTree unque for each innerTree node? I would prefer a solution other than "making a one big tree" opposed to composition of trees. Thank you in advance, -- Svi