AW: AW: binding XML (namespace problem)

2006-10-20 Thread Merico Raffaele
Hi Suzan Many thanks for the tip. I temporally solved the problem by avoiding the namespace: path=/data//versicherter. I could migrate to cocoon 2.1.9 if this version solves the problem definitely. Do you know anything about this possibility? Thx ... Raffaele -Ursprüngliche

RE: Setting Java variables in esql (in XSPs)

2006-10-20 Thread Varga, Zsombor
Lars has right, you have missed the semicolon, and if it's the full source code, you will need at least an esql:connection tag surround esql:execute-query esql:connection esql:poolpool_name/esql:pool !-- We are yousing pools, which are defined in the cocoon.xconf-- esql:execute-query

fins and cocoon 2.1.9

2006-10-20 Thread Merico Raffaele
Dear Community I'm planning to migrate from cocoon 2.1.8 to 2.1.9. The application running with 2.1.8 makes a lot use of fins. Before I do it I would like to ask the following questions: 1) Does fins 0.1.2 works with cocoon 2.1.9? 2) Are there any alternatives to fins? Many thanks in advance

Re: fins and cocoon 2.1.9

2006-10-20 Thread Bertrand Delacretaz
Hi Raffaele, 1) Does fins 0.1.2 works with cocoon 2.1.9?... 2.1.8 and 2.1.9 are very similar w.r.t. sitemap components (see http://cocoon.apache.org/2.1/changes.html), so I guess it should. And if not, it should'nt be hard to fix. -Bertrand

AW: inner functions and continuations...

2006-10-20 Thread [EMAIL PROTECTED]
Hmmm ... if I have a look at my code here I think that could be it. The functions I am using are all defined inside a while-loop ... so every time they are executed, the js-interpreter seems to redefine them. Maybe that is why I don't have to assign the functions to a variable. Thanks for

Re: fins and cocoon 2.1.9

2006-10-20 Thread Marc Portier
Bertrand Delacretaz wrote: Hi Raffaele, 1) Does fins 0.1.2 works with cocoon 2.1.9?... 2.1.8 and 2.1.9 are very similar w.r.t. sitemap components (see http://cocoon.apache.org/2.1/changes.html), so I guess it should. And if not, it should'nt be hard to fix. and in that case: you

RE: SVG to imagemap transformer/serializer

2006-10-20 Thread Jeroen Reijn
Hi again, I've managed to create the wanted functionality by adding a batik imagemap transcoder to the batik project. For the current Cocoon SVG serializer I only had to add some lines of code for outputting the XML imagemap. Since the patch isn't in Batik yet, I can't donate it to Cocoon. If

Re: AW: AW: binding XML (namespace problem)

2006-10-20 Thread Suzan Foster
Hi Raffaele, I'm not sure all the fixes are in the 2.1.9 version, so the best option might be to just patch the 2.1.8 version with what's in JIRA. Here's a list of the open issues concerning bindings and namespaces that i know of: https://issues.apache.org/jira/browse/COCOON-1671

Re: flowscript caching and evaluation question

2006-10-20 Thread Joern Nettingsmeier
thanks for your reply, geert! Geert Josten wrote: Hi Jörn, I do not really know that much about FlowScript, but I have been wondering about caching and reloading of flowscripts as well. I do know that there is an entry in cocoon.xconf to configer the js interpreter, look for 'flow-interpreter'

RE: Loading a configuration file from a jar

2006-10-20 Thread Ard Schrijvers
Think the easiest way it to do something like: in configure String file = configuration.getChild(context://WEB-INF/lib/nptl.im.properties).getValue(); Of course, doing private static final String PROPERTIES_FILE = properties-file; and in configure

Accessing URI in a map:resource?

2006-10-20 Thread Derek Hohls
I have a case where I need access to the URI match used by Cocoon for a map:resource pipeline. i.e. a simple case might have: map:match pattern=docs/s*.htm map:generate src=docs/{1}.xml/ map:transform src=stylesheets/main.xsl map:parameter name=use-request-parameters value=true/

RE: Accessing URI in a map:resource?

2006-10-20 Thread Jeroen Reijn
Hi Derek, one of the nice features of resources is that you can call them with a parameter: So in your case: map:match pattern=docs/s*.htm map:generate src=docs/{1}.xml/ map:call resource=page2html map:parameter name=url value={1}/ /map:call map:serialize/ /map:match map:resource

fo2pdf Serialzer problem

2006-10-20 Thread Andrea König
Hi all, I'm using cocoon-2.1.9 and have to generate pdf through a fo2pdf seralizer. The first problem is that the FOPSerializer comming with cocoon-2.1.9 doesn't seem to work correctly. If I try out the FOP sample of cocoon I get an error message like java.lang.ExceptionInInitializerError

RE: flowscript caching and evaluation question

2006-10-20 Thread Geert Josten
iiuc, i can configure it to check the flowscript for modification each time (at a performance penalty). but how does cocoon determine modification? if it only looks at the file timestamp, i still have problems, because i have the parameterised cocoon.load call in there - which means that

Re: fo2pdf Serialzer problem

2006-10-20 Thread Bertrand Delacretaz
On 10/20/06, Andrea König [EMAIL PROTECTED] wrote: The first problem is that the FOPSerializer comming with cocoon-2.1.9 doesn't seem to work correctly... It works for the samples found at http://cocoon.zones.apache.org/demos/release/samples/blocks/fop/welcome Did you try these samples

RE: Accessing URI in a map:resource?

2006-10-20 Thread Ard Schrijvers
But don't forget : Never use : map:parameter name=use-request-parameters value=true/. Use false!! Always! (unless the site is not reacheable for search engines or you don't use any cache at all, which I do not recommend) ps for those having a deja vu, that is correct, this is I think the 50th

RE: flowscript caching and evaluation question

2006-10-20 Thread Ard Schrijvers
iiuc, i can configure it to check the flowscript for modification each time (at a performance penalty). but how does cocoon determine modification? if it only looks at the file timestamp, i still have problems, because i have the parameterised cocoon.load call in there - which

Unsupported grammar language

2006-10-20 Thread José Miguel Vieira
Hello,I'm trying to use the validation report features, using a dtd for the validation.What is the correct grammar value for dtd validation? I'm using http://www.w3.org/TR/REC-xml but it returns an "Unsupported grammar language".Thanks,Miguel Vieira

RE: Accessing URI in a map:resource?

2006-10-20 Thread Derek Hohls
Thanks Jeroen, works a treat! Jeroen Reijn [EMAIL PROTECTED] 2006/10/20 02:11 PM Hi Derek, one of the nice features of resources is that you can call them with a parameter: So in your case: map:match pattern=docs/s*.htm map:generate src=docs/{1}.xml/ map:call resource=page2html

Re: fins and cocoon 2.1.9

2006-10-20 Thread Luca Morandini
Bertrand Delacretaz wrote: Hi Raffaele, 1) Does fins 0.1.2 works with cocoon 2.1.9?... 2.1.8 and 2.1.9 are very similar w.r.t. sitemap components (see http://cocoon.apache.org/2.1/changes.html), so I guess it should. And if not, it should'nt be hard to fix. I'd tend to agree with

RE: fo2pdf Serialzer problem

2006-10-20 Thread Andrew Stevens
From: Andrea König [EMAIL PROTECTED] Date: Fri, 20 Oct 2006 14:26:28 +0200 Hi all, I'm using cocoon-2.1.9 and have to generate pdf through a fo2pdf seralizer. The first problem is that the FOPSerializer comming with cocoon-2.1.9 doesn't seem to work correctly. If I try out the FOP sample of

Build problems: 2.1.9 under Windows XP

2006-10-20 Thread Wendell Piez
Hi, Could someone give me a tip on building 2.1.9 under Windows? XP, JDK 1.5. I'm getting what appears to be an Ant configuration error: C:\Bin\cocoon-2.1.9-src\cocoon-2.1.9build Buildfile: build.xml BUILD FAILED C:\Bin\cocoon-2.1.9-src\cocoon-2.1.9\tools\targets\init-build.xml:165: taskdef