cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Re: ApplicationContext from sitemap component?
Date Wed, 11 Jun 2008 16:02:12 GMT
Boris Goldowsky pisze:
> So the archetype demos make it clear that from flowscript you can look
> up a Spring bean with cocoon.getComponent("name"), but what is the
> recommended method for looking one up from inside a Transformer or other
> sitemap component?

The recommended way is to have sitemap component as a Spring bean and use Dependency Injection
getting all dependencies resolved.

Grzegorz Kossakowski

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message