Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50293 invoked from network); 15 Jun 2004 17:10:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jun 2004 17:10:37 -0000 Received: (qmail 47855 invoked by uid 500); 15 Jun 2004 17:07:36 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 43142 invoked by uid 500); 15 Jun 2004 17:06:20 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 35651 invoked by uid 99); 15 Jun 2004 17:04:41 -0000 Received: from [81.56.241.65] (HELO mail.anyware-tech.com) (81.56.241.65) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 15 Jun 2004 10:04:41 -0700 Received: from apache.org (firewall.anyware [10.1.0.254]) by mail.anyware-tech.com (Postfix) with ESMTP id 62E0E5EBAF for ; Tue, 15 Jun 2004 19:04:20 +0200 (CEST) Message-ID: <40CF2C14.2050001@apache.org> Date: Tue, 15 Jun 2004 19:04:20 +0200 From: Sylvain Wallez User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: fr, en, en-us MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [VOTE] Unrestricting the FOM References: <3A7CBA48-BEEA-11D8-942D-0003935AD2EE@media.demon.co.uk> In-Reply-To: <3A7CBA48-BEEA-11D8-942D-0003935AD2EE@media.demon.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jeremy Quinn wrote: > Should I hold back on committing my changes to make ContextHelper > Contextualizable, to wait to see what comes out of this proposal ? Wait a bit ;-) You can still use the ContextAccess class in your own source tree, though. > BTW. I think there may be a related issue here with a problem noted a > while ago, where it was not possible to read parameters setup in > web.xml as expected using : > > org.apache.cocoon.environment.Context.getInitParameter(String name) > > Unless Cocoon was 'expecting' that parameter to be there. > > I don't know if this is a bug or a just a misunderstanding ;) I guess you made the (sorry!) classical mistake of adding parameters to the Cocoon servlet instead of the _webapp context_, which is what is accessed using Context.getInitParameter(). Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }