cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Re: blocks-fw samples etc. (was Re: What is the deal with "blocks")
Date Tue, 09 Jan 2007 00:18:38 GMT

On Jan 8, 2007, at 2:14 PM, Reinhard Poetz wrote:

> Mark Lundquist wrote:
> [...]
>> in cocoon-blocks-fw, but yesterday I figured out that all the samples 
>> are wired this way too... :-)
>
> hmmm, which samples do you mean?

E.g., cocoon-core-main-sample-blockServlet.xml:

<beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd">
   <bean id="org.apache.cocoon.core.main.block" 
class="org.apache.cocoon.blocks.BlockServlet">
     <property name="mountPath" value="/cocoon-core-main-sample"/>
     <property name="servletClass" 
value="org.apache.cocoon.sitemap.SitemapServlet"/>
     <property name="blockContextURL" 
value="blockcontext:/cocoon-core-main-sample/"/>
   </bean>
</beans>

—ml—


Mime
View raw message