cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: [RT] StringTemplate: The answer to our templating needs?
Date Fri, 29 Oct 2004 12:58:08 GMT
Carsten Ziegeler wrote:
> Bertrand Delacretaz wrote:
> 
>>I don't think JXTG is broken now, it works well but the code 
>>is hard to understand and having all classes in a single huge 
>>source code file does not help.
>
> 
> Yupp, that is one of the problems with JXTG. It would be great if
> a new solution would be pluggable to add new "tag libs" as well.
> 
> I created a long time ago the TemplateObjectModelHelper which is 
> in the scratchpad area. The idea of this class is to provide one
> single object model that can be used in various components,

++1 !


> like a template generator/transformer, input moduls, java code etc.

About Java code, do you mean in Actions, Transformers, etc? Or, you mean 
flowscript "beans"?


> In the end, regardless where you want to access objects (flow,
> template stuff, input modules) you always use the same way, like
> "cocoon.request" etc. Depending on the language the component
> provides the syntax may vary, like "cocoon/request" - but the path
> you use is always the same.


Vadim

Mime
View raw message