Tests de composants Cocoon ?

2006-09-26 Thread Laurent Perez
Bonjour, Je cherche à écrire des classes de test pour vérifier l'intégration entre mon code et cocoon, sans avoir besoin de lancer un conteneur style jetty ou tomcat pour simuler une requête http. Mon usecase est assez basique, je voudrais tester une Action (vérifier qu'elle utilise

RE: Seeking Lenya contractor

2006-09-26 Thread Michael Ralston
I've still got no interest in this from anyone. I'm putting pressure on my employer to give me time to contribute our EJB code as soon as possible. I'm hoping this might start a bit of interest in the community. We are donating the core of our ejb repository to the community, but keeping the

RE: Causing empty result set to fail

2006-09-26 Thread Varga, Zsombor
I have a SQL query in an XSP (using the esql logicsheet) that returns a record. If the query returns no record, it currently returns an empty node set. I don't want it to do that. Instead I want it to fail so execution stops there. What is the best (most efficient) way of doing this. You

htmlarea on form with dynamicrepeater

2006-09-26 Thread Gerrit boers
Hi everybody, I'm trying to implement the 'dojo-dynamicrepeater' in our application. Everything works except for one thing: If a widget with htmlarea styling is used on the form it causes double-actions: the add-row command will add two rows, the delete- rows command will delete two rows.

Cocoon optional blocks

2006-09-26 Thread Walter Chang
Hi, I was wondering if you could provide any information on including Cocoon optional blocks such as the 'blocks\databases\java\org\apache\cocoon\reading\DatabaseReader.java'. I built Cocoon 2.1.9 with the default blocks.properties, which I think includes all the Cocoon components. I see

Custom Serializer

2006-09-26 Thread Sumedh Shirodkar
All, I am a novice in the Cocoon space but have been programming in Java for quite some time now. Was going thru the Cocoon docs/tutorials on the cocoon.apache.org website to get acquainted with Cocoon. However, couldnt find material that specifies how to write a custom serializer. Can

Re: Custom Serializer

2006-09-26 Thread George V. Prascharuk
Здравствуйте, Sumedh. Вы писали 26 сентября 2006 г., 19:20:39: All, I am a novice in the Cocoon space but have been programming in Java for quite some time now. Was going thru the Cocoon docs/tutorials on the cocoon.apache.org website to get acquainted with Cocoon. However, couldnt find

RE: link to a file

2006-09-26 Thread Andrew Stevens
From: Roel Croonenberghs [EMAIL PROTECTED] Date: Tue, 26 Sep 2006 16:12:28 +0200 Hello, I have a dir in my WEB_INF folder where users can upload there files. That works. But I want these files to be available for download. so I use a directory generator; map:generate type=directory

RE: link to a file

2006-09-26 Thread Roel Croonenberghs
tnx, but does that means that for every different extension, I should supply a mime-type? Andrew Stevens [EMAIL PROTECTED] 26/09/2006 16:23 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject RE: link to a file From: Roel Croonenberghs

RE: link to a file

2006-09-26 Thread Roel Croonenberghs
2de question; I want the user to download the file, that when teh user cliks the link, his browser opens a download dialog box so heb can choose where to save the file. how do I do that? Andrew Stevens [EMAIL PROTECTED] 26/09/2006 16:23 Please respond to users@cocoon.apache.org

Upgrading Cocoon 2.1.8-2.1.9

2006-09-26 Thread Robert Blank
Hello, I want to upgrade Cocoon in my project. I did the following things: -download Cocoon 2.1.9 -compiled it -replaced old jars/libs with newer -merged changes of forms-samples-styling.xsl and subfiles with project specific changes First Question: Is there anything more i have to do? A

link to a file

2006-09-26 Thread Roel Croonenberghs
Hello, I have a dir in my WEB_INF folder where users can upload there files. That works. But I want these files to be available for download. so I use a directory generator; map:generate type=directory src=""> and I transform the result via xsl to produce a html with the links to these files.

Re: Cocoon optional blocks

2006-09-26 Thread Bertrand Delacretaz
On 9/26/06, Walter Chang [EMAIL PROTECTED] wrote: ...However, DatabaseReader.class, as well as other blocks, are not in cocoon.jar file,... with the 2.1.x build system, each block gets its own jar, the database block classes, for example, can be found in

Hints needed for tree widget

2006-09-26 Thread Dev at weitling
Hi y'all, I'm stuck with creating a tree widget. One problem: I want to display some xml (I got out of a database) as tree. How to do it? I could write a Java class, of course, but isn't there a standard way from the nice guys from Cocoon? And: Did I get it right, that here is no binding at the

[Announce] Stylus Studio 2007 XML Enterprise Suite Released: XML Pipeline, XML Publishing and Data Conversion API's

2006-09-26 Thread Stylus Studio
[Announce] Dear Cocoon Users- Stylus Studio 2007 XML Enterprise Suite is now available for free trial download, featuring all-new tools for XML Pipelining, XML Publishing, powerful new Data Conversion APIs and so much more at new reduced prices. Read on for more information, or download it now