cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfred Nathaniel <anathan...@apache.org>
Subject Re: [jira] Commented: (COCOON-2110) Evaluate expressions defined in cocooon-expression-language-api in Sitemap engine
Date Sat, 11 Aug 2007 10:23:27 GMT
On Sat, 2007-08-11 at 11:22 +0200, Grzegorz Kossakowski wrote:

> Speaking about myself I prefer much more language prefixes and I think we should go for
it. The 
> question that we need to answer is if we want to support #{} syntax in sitemap? Since
it was never 
> there I don't think it makes sense to do so.

I also don't see the benefit of extending the sitemap syntax.  The
existing {input-module:parameter} syntax is flexible enough to support
{jexl:cocoon.request.some_param} and {jxpath:cocoon/request/some_param},
and that is not much harder to read or write than the ${} and #{}
equivalents.

Besides it avoids all problems where you would want to have a literal $
or # immediately followed by an input module expression.  (Although I
cannot think just now of an example where that would occur.)

Cheers, Alfred.


Mime
View raw message