Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 56294 invoked by uid 500); 28 Sep 2002 02:48:33 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 56283 invoked from network); 28 Sep 2002 02:48:31 -0000 Received: from smtp3.ihug.com.au (203.109.250.76) by daedalus.apache.org with SMTP; 28 Sep 2002 02:48:31 -0000 Received: from p486-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.141.232] by smtp3.ihug.com.au with esmtp (Exim 3.22 #1 (Debian)) id 17v7en-0004qp-00; Sat, 28 Sep 2002 12:48:38 +1000 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 17v7fk-0001IY-00 for ; Sat, 28 Sep 2002 12:49:36 +1000 Date: Sat, 28 Sep 2002 12:49:35 +1000 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: Nice changes! Message-ID: <20020928024935.GB3539@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: On Fri, Sep 27, 2002 at 07:17:10PM +0400, Piroumian Konstantin wrote: > Hi! > > Thanks to whoever (Jeff?) fixed/implemented the 'global-path'*) part! Nice > changes! > > A minor issue with tabs: an extra slash appears in the tab URL path and this > results in 404 error, e.g.: > http://outerthought.net/forrest//forrest/index.html Dang, I thought I'd fixed all this :P I'll look into it. > *) global-path - the global navigation path at the top of the page (apache > > xml.apache > ...). > > > Btw, I've committed a new implementation of RequestInputModule to Cocoon, > which allows to use all the properties of request object and thus the > context path can be accessed as: {request:contextPath}. My vacation is over, > so I'll have much less time to implement the proposed SkinconfInputModule, > but I'll try. JXPath input modules rock :) Thanks for spending time doing this. I can probably do the coding, only I'm not sure what's the best way forward. I have written an XMLModule that allows XPath access to an XML file. I was thinking we could have a generic Forrest config file: forrest-site http://localhost:8080/cocoon So if, in cocoon.xconf, it is declared with: context://forrestconf.xml Then the XML file's values are accessible through variables like {forrestconf:/forrestconf/skin}. Also, it is possible to use the XML file as input to the DefaultsMetaModule: forrest-site /forrest It's still a bit buggy though, because if the XML file doesn't exist I get an exception. Anyway, does this sound like the right road to be following? --Jeff > Regards, > Konstantin > > _________________________________________ > Konstantin Piroumian > ICQ#: 2297575 > * More ways to contact me > i See more about me > _________________________________________ > >