cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: What is the deal with "blocks"
Date Thu, 04 Jan 2007 11:26:07 GMT
Daniel Fagerstrom wrote:
> we could have something like:
> 
>   <bean id="org.apache.cocoon.blocks.sample.block1" class="org.apache.cocoon.sitemap.SitemapServlet">
>     <servlet:context mountPath="/cocoon-blocks-fw-sample1"
>                      contextPath="blockcontext:/cocoon-blocks-fw-sample/test1">
>       <servlet:context-param name="foo" value="bar"/>
>       <servlet:connection name="test2" value-ref="org.apache.cocoon.blocks.sample.block2"/>
>     </servlet:context> 
>   </bean>

Does the property placeholder configurer still work for constructs like this? I 
guess yes, because it operates on the bean methods and the elements in the 
servlet namespace are only "syntactical sugar", right?

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

Mime
View raw message