Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 92654 invoked from network); 31 Aug 2005 22:01:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 22:01:25 -0000 Received: (qmail 77762 invoked by uid 500); 31 Aug 2005 22:01:24 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 77737 invoked by uid 500); 31 Aug 2005 22:01:24 -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 77724 invoked by uid 99); 31 Aug 2005 22:01:24 -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 15:01:24 -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 [212.247.155.161] (HELO swip.net) (212.247.155.161) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 15:01:38 -0700 X-T2-Posting-ID: mnl+ocx7baJrNy/V7YWsbQ== Received: from [83.180.128.146] (HELO 192.168.2.4) by mailfe14.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 13960847 for dev@forrest.apache.org; Thu, 01 Sep 2005 00:01:20 +0200 Subject: Re: Different views for the same source file From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: <431620CE.9080401@apache.org> References: <43159292.1020202@apache.org> <1125500162.5233.104.camel@localhost.localdomain> <4315CC98.3010309@apache.org> <1125513632.14925.50.camel@localhost.localdomain> <431620CE.9080401@apache.org> Content-Type: text/plain Date: Thu, 01 Sep 2005 00:01:19 +0200 Message-Id: <1125525679.5227.64.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 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 On Wed, 2005-08-31 at 22:27 +0100, Ross Gardler wrote: > Thorsten Scherler wrote: ... > > Doh! You are right, I had already implemented the very solution you > describe in a different use case. > ;-) > > Your point that this seems like a hack because we touching two things is > > valid. You wrote: > > "Of course, a hack is a quick solution, if we find this truly useful > > then we can find a way of getting this into the view-resolver" > > ... > > > I will have no time tonight, so I cannot try. I reckon it is worth a > > shoot. > > > > Anyway, wdyt? > > I think your idea sounds like a sensible one. I'm happy with the hack > for now. But if you want to try this out I'll be even happier. My only > concern is that all *.fv files will be in a single file. No, only the ones with multiple views for a single source. The other can stay like they are. > But I guess > jxtempaltes allow me to import external files. > Actually, yes and it will give you what you always wanted. Remember your forrest:import suggestion? ;-) BTW the suggestion to base views on jx:templates came originally from Nicola. The nice thing on it: we do not have to implement my former logic:bla stuff because that comes for free with jx templates (like lots of other things). [I hear Gregor clapping in his hands ;-)] salu2 -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd)