cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [C3] new pipeline component: variabelExpander
Date Fri, 16 Dec 2011 15:04:41 GMT
Hola Thorsten!

>
> Another approach would be to use the transformer configure and use a
> language interpreter to generate a Properties object. That works since
> we can now inject object and not only strings. Like:
>
> <map:transform xmlns:map="http://apache.org/cocoon/sitemap"
> type="variableExpanderTransformer">
>  <map:parameter name="text"properties value="{properties:something}"/>
> </map:transform>
>
> This would allow to use other props beside the "env".
>
> wdyt?

I really like this approach!!! We could even support loading
properties files, URLs, ... great!
Thanks for your feedback!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

Mime
View raw message