Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 86281 invoked from network); 21 Nov 2005 11:27:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Nov 2005 11:27:18 -0000 Received: (qmail 80758 invoked by uid 500); 21 Nov 2005 11:27:17 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 80712 invoked by uid 500); 21 Nov 2005 11:27:17 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 80701 invoked by uid 99); 21 Nov 2005 11:27:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2005 03:27:16 -0800 Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [81.169.145.166] (HELO natnoddy.rzone.de) (81.169.145.166) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2005 03:28:49 -0800 Received: from [172.26.0.5] (242.Red-213-97-135.staticIP.rima-tde.net [213.97.135.242]) (authenticated bits=0) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id jALBQqHH012039 for ; Mon, 21 Nov 2005 12:26:53 +0100 (MET) Subject: Re: Menu Overhead Problem (and an offer to fix it) From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: <499888440511200443g1cad4dbucadc1a7cc9637f35@mail.gmail.com> References: <1933328924.20051119125140@soethe.net> <437F7961.8040406@apache.org> <633925306.20051120120955@soethe.net> <499888440511200443g1cad4dbucadc1a7cc9637f35@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Date: Mon, 21 Nov 2005 12:26:53 +0100 Message-Id: <1132572413.10632.30.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N El dom, 20-11-2005 a las 07:43 -0500, Tim Williams escribió: ... > > Unfortunately, I don't have the time right now to provide details, but > what you describe is exactly the problem I was having with the > metadata driven plugin (blogs) that I was trying to do. The problem > was maintaining menu context when navigation is done in the content of > the page similar to what you describe. In that plugin, I'm trying to > get "Categories" to be displayed in the menu, then, when the user > clicks on the category an index of articles (generated by > xpathdirectorygenerator) comes up in the content of the page. All is > well until a user clicks on the individual article, then the menu > collapses and the navigation context is lost. In my case, it's a bit > more difficult I think because an Article may belong to more than one > category and so the context in which the traversed to the article > needs to be known. Anway, this is to say that I think we have very > similar use-cases here and I would hope that we can come up with a > common solution -- I was just going to wait on views to try to solve > it. > Hmm, you can do it with v2 if I understood you right. What you need to do is create a common.fv in the location of your individual articles. e.g. .../blogs/articles/someArticle. Then you request a fixed menu location instead of the path aware location. like: You need to specify cocoon://blogs/articles.navigation.xml in your plugin to generate your specific menu. There you can add all the dynamic locations and bypass the site.xml menu generation. > I'll try to get back to this later this evening. > --tim Does that makes sense? salu2 -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd)