Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 90462 invoked from network); 11 Apr 2005 03:54:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Apr 2005 03:54:30 -0000 Received: (qmail 11051 invoked by uid 500); 11 Apr 2005 03:54:27 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 11013 invoked by uid 500); 11 Apr 2005 03:54:26 -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 10996 invoked by uid 99); 11 Apr 2005 03:54:26 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from agssa.net (HELO ags01.agsoftware.dnsalias.com) (165.98.153.184) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 10 Apr 2005 20:54:25 -0700 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11) with ESMTP id j3B3sIeO003929 for ; Sun, 10 Apr 2005 21:54:18 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id j3B3sHT3003928; Sun, 10 Apr 2005 22:54:17 -0500 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agssa.net using -f Received: from 165.98.153.184 (proxying for 10.0.0.5) (SquirrelMail authenticated user agallardo) by www.agssa.net with HTTP; Sun, 10 Apr 2005 22:54:17 -0500 (CDT) Message-ID: <57130.165.98.153.184.1113191657.squirrel@www.agssa.net> In-Reply-To: <425988C7.1080103@apache.org> References: <4258243D.2000505@apache.org> <48450.165.98.153.184.1113091020.squirrel@www.agssa.net> <425988C7.1080103@apache.org> Date: Sun, 10 Apr 2005 22:54:17 -0500 (CDT) Subject: Re: Manually specifying a mounted sub sitemap's context From: "Antonio Gallardo" To: dev@cocoon.apache.org User-Agent: SquirrelMail/1.4.4-1.FC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Dom, 10 de Abril de 2005, 15:12, Sylvain Wallez dijo: > Antonio Gallardo wrote: > >>On Sab, 9 de Abril de 2005, 14:27, Jochen Kuhnle dijo: >> >> >>>Sylvain Wallez wrote on 09.04.2005 20:51:41: >>> >>> >>>>In other words, should it be: >>>> >>>> >>>>and >>>> >>>> >>>>or >>>> >>>>and >>>> >>>> >>>> >>>>My feeling favors the second form, as allowing to specify the context >>>>externally means that understanding what a sitemap does depends on the >>>>mount statement. >>>> >>>> >>>Agreed, the second form is easier to understand. The first one was just >>>easier to implement (at least for me), since MountNode.invoke already >>>resolves the sitemap context. And this was the point where cocoon went >>>into endless recursion... >>> >>>On the other hand, the first form offers one additional feature: >>> Mounting >>>the same sitemap twice with different contexts. I just don't know yet if >>>this is a good idea... >>> >>> >>> >> >>I see this as a good idea. I have a lot of literally equals sitemaps that >>with something like that I can get rid of them by just defining his >>context. >> >> > > What do you mean by "literally equals"? > > Do they differ because: > - there is a a slight difference in what they should do (in that case > what about pass-through mounts?) > - or because they provide the same pipelines but operate on different > data? The second: they provide the same pipelines but operate on different data. Building webapps, you have some forms sets (businnes module? [BM]) that provide basic functionality (create, edit, search) on diferent data (tables). Perhaps this is our fault, I know I can use a parent sitemap for that. But we don't see it as a good solution for us, since we want to keep every BM separated (and independent) of the others. That can allow us to "move" a defined MB to another application by just copy paste a MB. Maybe we need to find another solution for that. Best Regards, Antonio Gallardo.