You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by John Lianoglou <jo...@arachnedesign.net> on 2004/08/12 08:01:55 UTC
ComposerGenerator replacement?
Hi all!
I'm writing my very first Generator at the moment, which is supposed to
pull information from a database. So, I found a useful code sample in
the docs w/in the Cocoon distro which uses the ComposerGenerator class.
Thing is, I'm getting a deprecation warning with that class... and I
can't find any information regarding what's supposed to be the new
official way to do this.
Any thoughts? :)
Peace.
jL
John Lianoglou | Vice President | ARACHNEdesign
http://www.arachnedesign.net
Re: ComposerGenerator replacement?
Posted by John Lianoglou <jo...@arachnedesign.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
thanks jörg! :)
actually, i found the answer when i looked at the source code for the
ComposerGenerator... but that was about an hour later, and after a
beer... so it slipped my mind to post again saying that i'd resolved
it.
i certainly appreciate the response, though. :P
ciao.
jL
John Lianoglou | Vice President | ARACHNEdesign
http://www.arachnedesign.net
On Aug 12, 2004, at 3:59 AM, Joerg Heinicke wrote:
> On 12.08.2004 08:01, John Lianoglou wrote:
>
>> I'm writing my very first Generator at the moment, which is supposed
>> to pull information from a database. So, I found a useful code sample
>> in the docs w/in the Cocoon distro which uses the ComposerGenerator
>> class.
>> Thing is, I'm getting a deprecation warning with that class... and I
>> can't find any information regarding what's supposed to be the new
>> official way to do this.
>> Any thoughts? :)
>
> ServiceGenerator is the replacement. The other compose classes also
> have to be replaced with service classes then (ComponentManager =>
> ServiceableManager, ComponentException => ServiceException, Composable
> => Serviceable, etc.)
>
> Jörg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFBHPIJ2mjmCyerauURAoRWAJwMFB5MIEW+V46BJkquB+Ua441SAACfWg4Q
alJIlcBwZ1DUtylQa6V6EL4=
=d/3t
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: ComposerGenerator replacement?
Posted by Joerg Heinicke <jo...@gmx.de>.
On 12.08.2004 08:01, John Lianoglou wrote:
> I'm writing my very first Generator at the moment, which is supposed to
> pull information from a database. So, I found a useful code sample in
> the docs w/in the Cocoon distro which uses the ComposerGenerator class.
>
> Thing is, I'm getting a deprecation warning with that class... and I
> can't find any information regarding what's supposed to be the new
> official way to do this.
>
> Any thoughts? :)
ServiceGenerator is the replacement. The other compose classes also have
to be replaced with service classes then (ComponentManager =>
ServiceableManager, ComponentException => ServiceException, Composable
=> Serviceable, etc.)
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org