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/

Reply via email to