thanks Barbara and Alessandro for replying,
somehow i don't have the core.properties file in my block. i even don't have a
cocoon folder in src/main/resources/META-INF/
did i something wrong while creating the block?
regards,
matthias
- Ursprüngliche Mail
Von: Alessandro Vincelli
Matthias Müller pisze:
thanks Barbara and Alessandro for replying,
somehow i don't have the core.properties file in my block. i even don't have a cocoon folder in src/main/resources/META-INF/
did i something wrong while creating the block?
Hello Matthias,
The core.properties file contains
Hi all,
I'm want to include an XSLT file from the local block. Which URL scheme
should I use (ie. cocoon:/ , servlet:/, file:/)?
--
Peter Molnar [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Peter Molnar pisze:
Hi all,
I'm want to include an XSLT file from the local block. Which URL scheme
should I use (ie. cocoon:/ , servlet:/, file:/)?
Hi Peter,
if you want to simply include given file _statically_ then just omit a scheme and use path relative
to the COB-INF directory.
I'ts corrrect, but I think it's necessary override this property:
# Set here to a very low 100 kb to allow samples to run.
org.apache.cocoon.uploads.maxsize=102400
Then Matthias, you can add this directory:
src/main/resources/META-INF/cocoon/properties
But it's wired, when you create a block
hi again,
in a sitemap, how can i access request params sent by a form?
i need to redirect a continuation-id sent by a form to another pipeline.. i
tried it like this:
map:match pattern=DO_IT
map:redirect-to
uri=cocoon:/{$cocoon/request/parameters/continuation-id}.continue/
Andy,
Thank you very much for the info.
It works a treat :-)
Regards
Philip Fennell
XSLT Developer (Content Management Culture)
BBC Future Media Technology
Media Village, 201 Wood Lane London W12 7TP
BC4 C4, Broadcast Centre
T: 0208 0085318
-Original Message-
From: Andy
Hi all,
I have an existing Cocoon application written under cocoon 2.1 (old version)
now, after the release of 2.2.0 i am going to upgrade my application to
the new cocoon release because of performance reasons.
Does anyone already have experience doing this? - are there some special
things
Using cocoon 2.1 I'm trying to get the length of a string in my
flowscript code, but it always returns undefined instead of a number.
I've tried both of the below with the same results:
var part = this is a test;
var last = part.length();
var last = part.length;
Do the string properties
On 25.07.2008 15:56, Jeff Schmitz wrote:
Using cocoon 2.1 I'm trying to get the length of a string in my
flowscript code, but it always returns undefined instead of a number.
I've tried both of the below with the same results:
var part = this is a test;
var last = part.length();
var last =
I also can't seem to get the substring function to work. When I try:
var part2 = part.substring(0, last);
I get the following exception:
org.mozilla.javascript.EcmaError: TypeError: Cannot find function
substring. (file:///Applications/cocoon-2.1.11/build/webapp/owlTrans/flow/sif.js
#83)
Sorry for all the double posts, not sure what's going on with my e-mail.
Also, I figured the problem out. The part object was getting set to
something other than a string in another part of the code.
Thanks,
Jeff
On Jul 25, 2008, at 10:02 AM, Jeff Schmitz wrote:
I also can't seem to get
I've been developing a blockless webapp that has the
sitemap context path set to root:
bean id=mydomain.com.mything.service
class=org.apache.cocoon.sitemap.SitemapServlet
servlet:context mount-path= context-path=/
/bean
When I updated from cocoon-core-2.2.0 to 2.2.1, I got this
error
Nothing seems to be working. Here's the contents of my
servlet-servlet.xml for block3.
bean id=block3 class=org.apache.cocoon.sitemap.SitemapServlet
servlet:context mount-path=/block3
context-path=blockcontext:/block3/
servlet:connections
entry key=block1
14 matches
Mail list logo