Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50117 invoked from network); 6 Dec 2004 23:45:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Dec 2004 23:45:30 -0000 Received: (qmail 65375 invoked by uid 500); 6 Dec 2004 23:45:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 65286 invoked by uid 500); 6 Dec 2004 23:45:17 -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 65214 invoked by uid 99); 6 Dec 2004 23:45:17 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from limicola.its.UU.SE (HELO limicola.its.uu.se) (130.238.7.33) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 15:45:16 -0800 Received: by limicola.its.uu.se (Postfix, from userid 205) id DE0914A70; Tue, 7 Dec 2004 00:45:12 +0100 (MEZ) Received: from limicola.its.uu.se(127.0.0.1) by limicola.its.uu.se via virus-scan id s3495; Tue, 7 Dec 04 00:45:01 +0100 Received: from NL04-136-79.STUDENT.UU.SE (regulus3.student.uu.se [130.238.5.5]) by limicola.its.uu.se (Postfix) with ESMTP id 6FE8C4A5D for ; Tue, 7 Dec 2004 00:45:01 +0100 (MEZ) Subject: Re: [Design] JXTG 2.0 (Just say yes!) From: Jonas Ekstedt To: dev@cocoon.apache.org In-Reply-To: <41B4CFD4.9000702@apache.org> References: <41A4E5EF.9050703@nada.kth.se> <41AEFE7E.60909@nada.kth.se> <41AF5863.4080701@apache.org> <41AF80F1.2020405@nada.kth.se> <41AF8D55.2000105@apache.org> <41AF918B.2020406@apache.org> <41B4679B.9070107@reverycodes.com> <41B473FA.6010506@apache.org> <41B4CFD4.9000702@apache.org> Content-Type: text/plain Date: Tue, 07 Dec 2004 00:45:11 +0100 Message-Id: <1102376711.3413.20.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 2004-12-06 at 22:32 +0100, Sylvain Wallez wrote: > Glen Ezkovich wrote: > > > > > On Dec 6, 2004, at 9:00 AM, Sylvain Wallez wrote: > > > >> > >>> Reinhard Poetz wrote: > >> > >> > >> Yeah, cocoon-dev has gone crazy during the week-end :-) > >> > >>> more than one EL per template is clear FS to me. I'd be in favor of > >>> specifying EL at the TemplateGenerator declaration time, and would > >>> not go more granular than this. > >> > >> > >> > >> I don't agree: it happens quite often to have mixed view data > >> combining java objects and XML. > > > > > > Hmmm... why does this happen? It seems that the java could be injected > > by by one component and the XML by another. > > > Not always, e.g. when you have an XML document and objects describing > its metadata which are both managed by a flowscript. Fully agree. Restricting expressions to only one type would be quite bad I think. In addition to xpath and jelly it would also be cool with formatting expressions (ie ${format:#type}). As an example of all three types (xpath, jelly and format) consider a site with some articles and a calendar on it:

Your last login: ${format:user.lastLogin#short}

This months calendar

Articles