cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: [Design] JXTG 2.0 (Just say yes!)
Date Mon, 06 Dec 2004 15:32:17 GMT
Sylvain Wallez wrote:
> Vadim Gritsenko wrote:
>> Reinhard Poetz wrote:
>>> IIRC we aggreed that we like the current syntax of JXTemplate. 
>>> Exception: We deprecate the #{} notation in favour of ${xpath:....}.
>> If nobody said this already (I have 150 or so mails to go ...),
> 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. In that case, a single EL is just painful.

It just says a lot about state of the art in the expression language arena but 
does not demonstrate a need for more than one! :)

> Furthermore, specifying the language in the component declaration 
> doesn't help readability nor reuse of templates between projects.

If you don't see any better way out, I'd go as far as allowing to choose EL in 
template itself, using attribute on the root element. I'd not go further, though.


View raw message