Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 12989 invoked from network); 30 Aug 2005 08:07:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2005 08:07:06 -0000 Received: (qmail 52266 invoked by uid 500); 30 Aug 2005 08:07:00 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 52175 invoked by uid 500); 30 Aug 2005 08:07:00 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 52082 invoked by uid 99); 30 Aug 2005 08:06:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 01:06:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [84.96.21.10] (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 01:07:14 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id 9094134826 for ; Tue, 30 Aug 2005 10:06:56 +0200 (CEST) Received: from mail.anyware-tech.com ([127.0.0.1]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27683-06 for ; Tue, 30 Aug 2005 10:06:55 +0200 (CEST) Received: from [192.168.0.100] (lns-vlq-39f-81-56-134-235.adsl.proxad.net [81.56.134.235]) by mail.anyware-tech.com (Postfix) with ESMTP id E8E6D34820 for ; Tue, 30 Aug 2005 10:06:54 +0200 (CEST) Message-ID: <4314139D.6030406@apache.org> Date: Tue, 30 Aug 2005 10:06:53 +0200 From: Sylvain Wallez User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: VariableResolver References: <43135BD6.4030803@dslextreme.com> In-Reply-To: <43135BD6.4030803@dslextreme.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at anyware-tech.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ralph Goers wrote: > I'm a little confused. In treeprocessor we have > > class NOPVariableResolver > class PreparedVariableResolver > class VariableResolver > class VariableResolverFactory > > In the portal block we have > > class DefaultVariableResolverFactory > class NOPVariableResolver > class PreparedVariableResolver > interface VariableResolver > interface VariableResolverFactory > > I need to use the VariableResolver in a class I am working with and > I'm a bit confused. I've used it before, but in the portal block so I > guess I was using that one. Does the treeprocessor version only work > when called from the sitemap? The code I am working on does not need > the portal block but isn't called from the sitemap. AFAIU, the version in Portal is a componentized copy of what's in the TreeProcessor which uses static factory methods. However, looking at it, it looks it missed some updates in the TreeProcessor related to nested variables. Sylvain -- Sylvain Wallez Anyware Technologies http://people.apache.org/~sylvain http://www.anyware-tech.com Apache Software Foundation Member Research & Technology Director