XPathConfigurationException

2005-06-05 Thread Alexander Berezhnoy
Hi! I'm trying to write unit tests for my Actions using the Cocoon testing framework. The action works fine under Cocoon, but when I run my test I get the following: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://j

Re: cocoon on websphere 5

2005-06-05 Thread Tony Edwards
Hi Ben, We found that running it without changing any of the settings would kill the flowscript applications. We use a simple, non-scalable db connection object with our application so I'm not sure of the implications of using 'proper' database connectivity. Tony Ben Anderson wrote: Thank

Extending DirectoryGenerator

2005-06-05 Thread Andrew Franz
I am thinking about a simple CMS (Content Management System) which would have the following features: 1. Ability to list MS-Office files along with their attributes (this would use Jakarta POI), ability to list "image" files (basically by cloning the functionality in ImageDirectoryGenerator) an

Re: Injecting a String XML document into a pipeline

2005-06-05 Thread Sebastien Arbogast
> FYI the modulesource does seem to be documented : > > http://wiki.apache.org/cocoon/ModuleSource Always the same problem : how can I find this wiki documentation is I'm not even aware of this modulesource thing ?! :-) Anyway... there is a lot of momentum around this documentation problem at the

Re: Injecting a String XML document into a pipeline

2005-06-05 Thread Jorg Heymans
Sebastien Arbogast wrote: >> >> >> >> > This had me gasping for air as well to be honest :-) > Oh my god !!! > This is so clean it's perfect. Thank you very very very much ! > That one should definitely be part of an FAQ about Cocoon... I'll add > it right now on Planet Cocoon. It's so bad inp

database connection and groovy

2005-06-05 Thread Saulius
Hi, I'm using a script generator (with groovy) to fetch data from a database (mysql) and generate xml, but I can't find a way to make groovy use the connection pool defined in web.xml instead of creating a new one with Sql.newInstance() in each groovy file. I've found how to do this

Re: Injecting a String XML document into a pipeline

2005-06-05 Thread Sebastien Arbogast
> By using the module source. The module source is a source which finds > its input by using an input module. It can handle InputStreams, strings > or byte arrays. > > Start the pipeline with a generator like this: > > > > But since you have the XML already completely as you want to send it to

Re: Cocoon and Axis

2005-06-05 Thread Chris Holmes
If you're looking to do mapping stuff there is a whole body of specifications, and open source implementations, to do exactly what you want. To get a map you can use the Web Map Service specification - there is a Java implementation called GeoServer - http://geoserver.sourceforge.net and a strong

Re: cforms:widget inside table doesn't work

2005-06-05 Thread Carlos M. S. Bento Nogueira
To anyone who might come across the same problem here is the answer, and another question : how can i see the widget's labels together with the widget inside the table? I'm using the provided xsl stylsheet from cocoon 2.1.7 examples at cocoon\samples\blocks\forms\resources\forms-page-styling.

Re: Injecting a String XML document into a pipeline

2005-06-05 Thread Bruno Dumon
On Fri, 2005-06-03 at 16:46 -0500, Sebastien Arbogast wrote: > Hi, > > I'm looking for a simple way to inject the string content of a > flowscript variable into a pipeline for serialization and sending. Of > course I could do a sendPage() but that would force me to : > 1 - create a dummy JXTemplat

Re: Injecting a String XML document into a pipeline

2005-06-05 Thread Jan Hinzmann
On Sunday 05 June 2005 01:26, Sebastien Arbogast wrote: > Well. I found a solution. > At first I had tried the JXTemplate solution similar to what Zbigniew > proposed. But effectively it didn't work because all my "<" were > transformed into "<" etc. > Finally I understood the role of a function pr

Transformer for string replacement

2005-06-05 Thread Martin Rusnak
Hi all, I'm looking for a transformer which replaces strings in a specified XML element. The chaperon transformers would be useful, but they replace strings only in ... element. Martin - To unsubscribe, e-mail: [EMAIL PROTECTED