cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lally Singh" <lally.si...@gmail.com>
Subject Re: Spring & Blocks question
Date Wed, 21 Feb 2007 19:42:08 GMT
On 2/20/07, Reinhard Poetz <reinhard@apache.org> wrote:
> Lally Singh wrote:
> > Hey all, quick question.
> >
> >  With Cocoon blocks (using maven 2 archetypes), how are the spring
> > configurations connected together?  If I define a bean called 'peel'
> > in a block called 'banana', and I'm in another block, do I refer to it
> > as 'peel' or 'banana.peel' ?
>
> Beans defined in COB-INF/config/spring are only available within the block, bean
> definied in META-INF/cocoon/spring are globally available and can be used from
> other blocks.
>
> Answering your question: You have to use "peel". This means that you have to
> take care for proper bean ids yourself.
>
> >  Or even better, some pointers to docs on this.. I'm still wading my
> > way through the wiki, etc.
>
> Unfortunatly there isn't a complete documentation about this. The best starting
> point for questions concerning "Cocoon with Spring" is
> http://cocoon.zones.apache.org/daisy/cdocs-spring-configurator/g1/1304.html

Wonderful! Thanks.  On a similar note, how do cocoon blocks connect
their sitemaps together, and how does it involve the mountpoint?

Thanks again!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message