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:
*
@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
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=/
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
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
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
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
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;
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