Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 21558 invoked from network); 31 Aug 2005 11:21:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 11:21:27 -0000 Received: (qmail 92284 invoked by uid 500); 31 Aug 2005 11:21:07 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 92192 invoked by uid 500); 31 Aug 2005 11:21:06 -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 92149 invoked by uid 99); 31 Aug 2005 11:21:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 04:21:06 -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 [217.199.181.91] (HELO ns3.wkwyw.net) (217.199.181.91) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 31 Aug 2005 04:21:21 -0700 Received: (qmail 1217 invoked from network); 31 Aug 2005 11:21:06 -0000 Received: from 82-69-78-226.dsl.in-addr.zen.co.uk (HELO ?192.168.0.2?) (82.69.78.226) by ns3.wkwyw.net with SMTP; 31 Aug 2005 11:21:06 -0000 Message-ID: <43159292.1020202@apache.org> Date: Wed, 31 Aug 2005 12:20:50 +0100 From: Ross Gardler User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Forrest Developers List Subject: Different views for the same source file Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Here's a tough one. I'm not sure how best to solve it since 'm still digging around in the sitemaps for views (I think I'm starting to understand the implementation as well as the theory now ;-) I have a number of resumes, one for each member of staff. The staff love the fact that they can each have a unique layout for their CV, whilst still keeping the company branding on their pages - very impressive and certainly an excellent use case for views [OT] This plugin will make a great place to show the power of views. Unfortunately, none of my work is documented in the plugin yet, hopefully I'll find the time, but not until I finish this project. Anyway, to the problem. We need to be able to present different views on each source file. For example, the blogs.xml resume needs to be presented with a number of different views. Each view will have different content, for example, the "complete" view will have all project history with full details of all projects no matter how long ago they took place. The "recent" view will show the full details of the most recent job and a summary of each of the earlier projects. I'm not at all sure how to do this. I guess the view name will be provided in the URL: http://domain.com/resume/complete_view/blogs.html http://domain.com/resume/summary_view/blogs.html Any hints on how I then pass that to the view resolver in the internal.view plugin? Ross