Hi,

Many thanks,

that did the trick.

Raphaël


Jason Johnston a écrit :
On Thu, 13 Sep 2007 17:56:27 +0200, Raphaël Piéroni
<[EMAIL PROTECTED]> wrote:
Thanks,
I tried, but it doesn't work.
Here what i did exactly:
...
export defines it's spring stuff in
src/main/resources/META-INF/cocoon/spring/
It defines the block and the generator i try to test
like this:
    <bean id="com.fcompany.ma-i.block"
class="org.apache.cocoon.sitemap.SitemapServlet">
        <servlet:context mount-path="/ma-i"
context-path="blockcontext:/ma-i/" />
    </bean>
     <bean id="serviceProgramsGenerator"
name="org.apache.cocoon.generation.Generation/serviceProgramsGenerator"
The above line should be o.a.c.generation.Generator not Generation, IIUC.

       class="com.company.project.ServiceProgramsGenerator">
       <property name="helperA">
           <ref bean="AHelper" />
       </property>
       <property name="helperMI">
           <ref bean="MIHelper" />
       </property>
   </bean>

My pipeline is defined in src/main/resources/COB-INF/
       <map:pipeline>
           <map:match pattern="servicePrograms">
               <map:generate type="serviceProgramsGenerator" />
               <map:serialize type="xml" />
           </map:match>
       </map:pipeline>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to