Re: [C3] new pipeline component: variabelExpander

2011-12-16 Thread Simone Tripodi
row exception >> >> Also by not just using a stupid property map, it is much easier to avoid >> infinite recursions such as >> setProperty("build.home","${build.home}/workspace"). >> >> Cheers, Alfred. >> >> -Original Message

Re: [C3] new pipeline component: variabelExpander

2011-12-16 Thread Simone Tripodi
> > -Original Message- > From: simone.trip...@gmail.com [mailto:simone.trip...@gmail.com] On Behalf Of > Simone Tripodi > Sent: Donnerstag, 15. Dezember 2011 18:02 > To: dev@cocoon.apache.org > Subject: Re: [C3] new pipeline component: variabelExpander > > Hi Robby :)

Re: [C3] new pipeline component: variabelExpander

2011-12-16 Thread Simone Tripodi
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: > > http://apache.org/cocoon/sitemap"; > type="variableExpanderTransformer"> >   >

Re: [C3] new pipeline component: variabelExpander

2011-12-16 Thread Francesco Chicchiriccò
Il 15/12/2011 18:27, Simone Tripodi ha scritto: Hi Grosso!!! Anyway, could you think of a way for using this new component inside sitemap? ehm... yes, so... I was think about... ehm... yes I know how, yes... ehm... don't know yet :P jokes a part, what's your usecase using Stringtemplate inside

RE: [C3] new pipeline component: variabelExpander

2011-12-16 Thread Nathaniel, Alfred
space"). Cheers, Alfred. -Original Message- From: simone.trip...@gmail.com [mailto:simone.trip...@gmail.com] On Behalf Of Simone Tripodi Sent: Donnerstag, 15. Dezember 2011 18:02 To: dev@cocoon.apache.org Subject: Re: [C3] new pipeline component: variabelExpander Hi Robby :) On Th

Re: [C3] new pipeline component: variabelExpander

2011-12-16 Thread Thorsten Scherler
On Thu, 2011-12-15 at 18:27 +0100, Simone Tripodi wrote: > Hi Grosso!!! > > > > > Anyway, could you think of a way for using this new component inside > > sitemap? > > > > Thanks. > > > > ehm... yes, so... I was think about... ehm... yes I know how, yes... > ehm... don't know yet :P > > jokes a

Re: [C3] new pipeline component: variabelExpander

2011-12-15 Thread Simone Tripodi
Hi Grosso!!! > > Anyway, could you think of a way for using this new component inside > sitemap? > > Thanks. > ehm... yes, so... I was think about... ehm... yes I know how, yes... ehm... don't know yet :P jokes a part, what's your usecase using Stringtemplate inside the sitemap? We could start r

Re: [C3] new pipeline component: variabelExpander

2011-12-15 Thread Francesco Chicchiriccò
On 15/12/2011 17:25, Simone Tripodi wrote: Hi all guys, I just committed r1214835 a new component I need for work, so I thought it would have been a good idea contributing back to OSS since C3 is the foundation of the XML processor I am writing. Basically, I needed to put variables inside our

Re: [C3] new pipeline component: variabelExpander

2011-12-15 Thread Simone Tripodi
Hi Robby :) On Thu, Dec 15, 2011 at 5:56 PM, Robby Pelssers wrote: > Would it be justified to say that it acts as some kind of transformer > (although non-xslt based) in this case which replaces all variable references > with the value from the Map or Properties provided? exactly, it just repl

RE: [C3] new pipeline component: variabelExpander

2011-12-15 Thread Robby Pelssers
Message- From: simone.trip...@gmail.com [mailto:simone.trip...@gmail.com] On Behalf Of Simone Tripodi Sent: Thursday, December 15, 2011 5:47 PM To: dev@cocoon.apache.org Subject: Re: [C3] new pipeline component: variabelExpander Hi Robby! The Stringtemplate generator is much more sophisticated

Re: [C3] new pipeline component: variabelExpander

2011-12-15 Thread Simone Tripodi
ursday, December 15, 2011 5:25 PM > To: dev@cocoon.apache.org > Subject: [C3] new pipeline component: variabelExpander > > Hi all guys, > I just committed r1214835 a new component I need for work, so I > thought it would have been a good idea contributing back to OSS s

RE: [C3] new pipeline component: variabelExpander

2011-12-15 Thread Robby Pelssers
rsday, December 15, 2011 5:25 PM To: dev@cocoon.apache.org Subject: [C3] new pipeline component: variabelExpander Hi all guys, I just committed r1214835 a new component I need for work, so I thought it would have been a good idea contributing back to OSS since C3 is the foundation of the XML processor

[C3] new pipeline component: variabelExpander

2011-12-15 Thread Simone Tripodi
Hi all guys, I just committed r1214835 a new component I need for work, so I thought it would have been a good idea contributing back to OSS since C3 is the foundation of the XML processor I am writing. Basically, I needed to put variables inside our XML document that can be replaced depending by