Properties and Cocoon Spring Configurator

2008-06-18 Thread Dominic Tootell
Hi guys, Has anyone else encountered this problem, where you cannot specify a directory as the setting for the system property org.apache.cocoon.settings? According to the docs: http://cocoon.apache.org/subprojects/configuration/1.0/spring-configurat or/1.0/1310_1_1.html, point 8 states: *

RE: Cocoon22: Can 2 blocks map to the same mount path?

2008-06-17 Thread Dominic Tootell
@cocoon.apache.org Subject: Re: Cocoon22: Can 2 blocks map to the same mount path? Dominic Tootell wrote: Hi there, Is it possible to have 2 cocoon blocks that map to the same mount-path in src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml? i.e. Block 1: bean name

Cocoon22: Can 2 blocks map to the same mount path?

2008-06-16 Thread Dominic Tootell
Hi there, Is it possible to have 2 cocoon blocks that map to the same mount-path in src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml? i.e. Block 1: bean name=com.bbc.cmc.cmc-block1.service class=org.apache.cocoon.sitemap.SitemapServlet servlet:context mount-path=/

RE: problem with document() function

2008-06-11 Thread Dominic Tootell
Jo, Maybe you can work from the below example. Example: COB-INF/ content/ doc.xml additional.xml transforms/ example_document_func.xsl sitemap.xmap sitemap.xmap: . map:pipeline

RE: Database connection by cocoon 2.2

2008-06-06 Thread Dominic Tootell
Cool on getting it working, The src/main/resources/META-INF/cocoon/avalon/custom-sitemap-compents.xconf doesn't exist out of the box when you create a block from an artifact. But, you can create it yourself. More details: Inside the cocoon-core-2.2.0.jar there is a file in the

RE: Cocoon 2.2 resources outside of a Block

2008-06-02 Thread Dominic Tootell
copy over the COB-INF. Maybe others have some better ideas? /dom -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 30 May 2008 23:17 To: users@cocoon.apache.org Subject: Re: Cocoon 2.2 resources outside of a Block Dominic Tootell pisze: Hi all

RE: Cocoon 2.2 (Flcowscript) and Spring MVC - How To

2008-06-02 Thread Dominic Tootell
Andrew, When you say incoropation of Spring MVC into Cocoon 2.2, and flowscript. What elements of the MVC architecture are you trying to access in flowscript? are you just trying to obtain a reference to your service objects via flowscript, as they should be available by calling

RE: Cocoon 2.2 resources outside of a Block

2008-06-02 Thread Dominic Tootell
Hi Grzegorz Dominic, you would better have watched my video before posting anything here. ;-) Actually I have watched and, I know the plugin works and you have a reloadable classloader to read modifications to a java classes. But, as I did say in my post, you can't use jetty at times;

Cocoon 2.2 resources outside of a Block

2008-05-30 Thread Dominic Tootell
Hi all, Apologies if this has been sent around before. I'm trying to figure out how I can access resources outside of a Block jar's, just from a directory within the Webapp: For example: I have the simple pipe line: map:pipeline map:match pattern=static/*.shtml