Problème avec cocoon.response.setHeader

2005-12-12 Thread Laurent Perez
Hello Désolé mais je n'arrive pas à poser cette question sur users@ , le postmaster de cette liste la considère comme spam :( Je souhaite ajouter un header Expires à une réponse HTTP, à partir du flow. J'utilise donc cocoon.response.setHeader(Expires,access plus 3 minutes); seulement sous

Log dans une servlet

2005-12-12 Thread zze-Urbanisme BECOT S ext RD-TECH-REN
Bonjour, Je génère un flux xml à partir de pages XSP, qui font appel à des bean Java. Je voudrais pouvoir logger ce qui se passe dans mon application. Mais là je butte au logkit.xconf, le seul article que j'ai vu là-dessus donne un exemple que je n'arrive pas à faire marcher. Si je prend la

Re: Problème avec cocoon.response.setHeader

2005-12-12 Thread Bertrand Delacretaz
Le 12 déc. 05, à 14:26, Laurent Perez a écrit : ...J'ai l'impression que je suis obligé de calculer moi-même combien font le timestamp de ma requête plus 3 minutes, mais qqun aurait-il une idée sur la manière de présenter ça sous la forme Mon, 12 Dec 2005 hh:mm:ss GM pour avoir un contenu de

Je cherche un XMLConsumer qui ne fasse rien... ;-)

2005-12-12 Thread Guillaume Helle
Bonjour, je me suis écris un RESTPostGenerator qui reçoit des POST xml de clients riches, les traite et retourne un flux XML aux client via le Serializer standard... Ma sitemap ressemble à ça : map:match pattern=post/*/*.*/* map:generate type=RestPost map:parameter name=defaultContentType

indexer avec cocoon

2005-12-12 Thread thomas desvenain
bonjour, ceci est certainement une question de débutant... je ne parviens pas à indexer mes documents avec lucene sous cocoon. j'ai cherché dans la doc, les samples et les xmaps... j'avoue ne pas comprendre précisément comment cela fonctionne, et notamment pourquoi l'indexation ne fonctionne pas

AW: Newbie to Cocoon

2005-12-12 Thread Merico Raffaele
Hi Anshuk Since an XSL file is also an XML file it possible to do it with Cocoon. But it's more the job of a XSLT processor than of Cocoon. Cocoon is on top of it. Cocoon is the control centre to control an n-step XML transformation from the sourceing (generation) to the final result

cocoon.response.setHeader(Expires,xxx) broken ?

2005-12-12 Thread Laurent Perez
Hello I'm trying to set response headers within my flowscript, but I have a strange behaviour with the following line : cocoon.response.setHeader(Expires,access plus 3 minutes); When using ethereal, I can see the Expires header is just set to the plain text access plus 3 minutes, and not to my

Set-header Action

2005-12-12 Thread Andreas Busch
I'm trying to set some Meta tags map:act type="set-header" map:parameter name="Expires" value="-1"/ map:parameter name="Pragma" value="no-cache"/ map:parameter name="Cache-Control" value="no-cache"/ /map:act but are not set in html - output . Do I something wrong? tx Andreas

Re: Set-header Action

2005-12-12 Thread Bertrand Delacretaz
Le 12 déc. 05, à 11:07, Andreas Busch a écrit : I'm trying to set some Meta tags... map:act type=set-header ...but are not set in html - output ... Headers set in internal requests are ignored, see http://cocoon.zones.apache.org/demos/release/samples/test/http-header-

cocoon.response.setHeader broken ?

2005-12-12 Thread Laurent Perez
Hello I'm trying to set response headers within my flowscript, but I have a strange behaviour with the following line : cocoon.response.setHeader(Expires,access plus 3 minutes); When using ethereal, I can see the Expires header is just set to the plain text access plus 3 minutes, and not to my

RE: Set-header Action

2005-12-12 Thread Andreas Busch
Ok , but how can I do cache-control ? thx Andreas Busch -Original Message- From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] Sent: Monday, December 12, 2005 11:17 AM To: users@cocoon.apache.org Subject: Re: Set-header Action Le 12 déc. 05, à 11:07, Andreas Busch a écrit : I'm

Re: Set-header Action

2005-12-12 Thread Bertrand Delacretaz
Le 12 déc. 05, à 11:38, Andreas Busch a écrit : but how can I do cache-control ? If you do it from a top-level or mounted matcher (i.e. not an internal one called via the cocoon:/ protocol), it should work. -Bertrand smime.p7s Description: S/MIME cryptographic signature

Re: [CForms] anomaly in 2.1.8 when dynamically generating a form

2005-12-12 Thread Luca Morandini
Luca Morandini wrote: This worked just fine under 2.1.7, but, when I switched to 2.1.8, the development sitemap didn't work (it signaled an error in the XSLT producing the template at the first mention of a fi: element). I can confirm that it chockes on the first fi: element: if I comment

Re: Running a shell script from Cocoon

2005-12-12 Thread Peter Flynn
On Sun, 2005-12-11 at 11:03, Jorg Heymans wrote: i'm sure you could use Runtime.exec() just about anyware you like to call your shellscript. If you need the output of the shell script then i'ld put this call in a generator for example. Could you give an example of the syntax for doing this?

Re: Running a shell script from Cocoon

2005-12-12 Thread Jorg Heymans
Peter Flynn wrote: On Sun, 2005-12-11 at 11:03, Jorg Heymans wrote: i'm sure you could use Runtime.exec() just about anyware you like to call your shellscript. If you need the output of the shell script then i'ld put this call in a generator for example. Could you give an example of the

CLI in 2.1.8 problems

2005-12-12 Thread Stavros Kounis
hi all i have just build 2.1.8 and try C:\Server\cocoon-2.1.8cocoon cli -x cli.xconf unfortunately cli seem to be broken ? i get an exception about ServletContext object org.apache.avalon.framework.configuration.ConfigurationException: Cannot find Se rvletContext object in application context

CLI in 2.1.8 problems

2005-12-12 Thread Stavros Kounis
hi all i have just build 2.1.8 and try C:\Server\cocoon-2.1.8cocoon cli -x cli.xconf unfortunately cli seem to be broken ? i get an exception about ServletContext object org.apache.avalon.framework.configuration.ConfigurationException: Cannot find Se rvletContext object in application context

CLI in 2.1.8 problems

2005-12-12 Thread Stavros Kounis
hi all i have just build 2.1.8 and try C:\Server\cocoon-2.1.8cocoon cli -x cli.xconf unfortunately cli seem to be broken ? i get an exception about ServletContext object org.apache.avalon.framework.configuration.ConfigurationException: Cannot fi= nd ServletContext object in application

Re: Antw: Create PDF on background

2005-12-12 Thread Martin Geissler
Hello Derek, Have a look at http://cocoon.apache.org/2.1/userdocs/offline/ant.html I will notice what I have done to give some help about issues I had with cocoon 2.1.8. I work with windows and Java 1.4.2 Step 1: Somewhere I found, that cocoon should use the same ant version it is shipped

Antw: CLI in 2.1.8 problems

2005-12-12 Thread Martin Geissler
Hello stavros, hava a look at my post Re: Antw: Create PDF on background uses ant and not CLI. hth Martin [EMAIL PROTECTED] Montag, 12. Dezember 2005 13:06:29 hi all i have just build 2.1.8 and try C:\Server\cocoon-2.1.8cocoon cli -x cli.xconf unfortunately cli seem to be broken ? i get

Re: 2.1.9 dev - wrong position of help popup when in tab styling

2005-12-12 Thread werner
I have created a patch. see http://issues.apache.org/jira/browse/COCOON-1711 for a description. I hope that one of the developers will take a look at it. Am Mittwoch, den 07.12.2005, 13:31 +0100 schrieb werner: Hi! I think there is a little problem with the help popup of Cforms.

mime type of uploaded documents

2005-12-12 Thread Jonas Höglund
Hi, I'm want to use the modular database action for saving documents to a database. I allready uses it successfully for uploading images. I've managed to save the documents (any kind of binary file) to the database, but I can't figure out how to retrive the mimetype or the filename from the

image serializer and lookup failed

2005-12-12 Thread Boisvert, Éric
Hi all Not sure I'm having one or two problems here. Here's what I try to do. I need a serializer that reads an input XML that tells it where to get an image, get this image an serialize it. In a sense, it's similar to svg2png serialiser,except the image is refered by a url. The input xml

[SOLVED] Re: mime type of uploaded documents

2005-12-12 Thread Jonas Höglund
My misstake. It was just me using the wron attribute name for the table element. I accidentily used type instead of others-mode. /j Jonas Hglund wrote: Hi, I'm want to use the modular database action for saving documents to a database. I allready uses it successfully for uploading

Using the directory generator

2005-12-12 Thread [EMAIL PROTECTED]
Hi, i wanted to use the xpath directory generator. My pipeline is the following: map:pipeline map:match pattern="dir-test" map:generate type="xpathdirectory" src="" map:parameter name="xmlFiles" value="\.xml$"/ /map:generate map:transform src=""/ map:serialize

RE: cinclude, include and xinclude in Cocoon 2.1.8 - includes wor k

2005-12-12 Thread Schultz, Gary - COMM
I discovered the problem, for my setup that is, was the build/run environment. Includes work as expected when I did a build of 2.1.8 using JDK 1.4.2_10 and running Cocoon under JDK 1.4.2_10/Tomcat 5.0.28. Building with JDK1.5.0_x and running under JDK1.5.0/Tomcat 5.0.28 and JDK1.5.0/Tomcat 5.5.12

Cocoon Bricks - Where to library files go?

2005-12-12 Thread David Legg
Has anyone got a recommended place to put project related jar files so they get picked up and used in aBrick-like project? I'm trying to structure a project in a Brick-like manner (http://wiki.apache.org/cocoon/BricksCms) but struggling with how to incorporate the project specific jar

[SOLVED] RE: cinclude, include and xinclude in Cocoon 2.1.8 (fail ure in 2. 1.7 and 2.1.8)

2005-12-12 Thread Schultz, Gary - COMM
I discovered the problem, for my setup that is, was the build/run environment. Includes work as expected when I did a build of 2.1.8 using JDK 1.4.2_10 and running Cocoon under JDK 1.4.2_10/Tomcat 5.0.28. Building with JDK1.5.0_x and running under JDK1.5.0/Tomcat 5.0.28 and JDK1.5.0/Tomcat 5.5.12

Re: cinclude, include and xinclude in Cocoon 2.1.8 - includes wor k

2005-12-12 Thread Ralph Goers
Schultz, Gary - COMM wrote: Is there any advantage to running Cocoon under JDK 1.5 and Tomcat 5.5.x? If not I will continue to use JDK 1.4 and Tomcat 5.0.x as I see more of an advantage to our agency to running Cocoon 2.1.8 versus running JDK 1.5 or Tomcat 5.5.x. I've heard antecdotal

Re: War File Not Created During Build

2005-12-12 Thread Joerg Heinicke
On 29.11.2005 16:33, [EMAIL PROTECTED] wrote: Is there a target to list valid targets, and a short description of each? A quick perusal of build.xml (and imported build files) didn't turn up anything promising. Ant provides this list by build -projecthelp, but the generated list heavily

RE: Using the directory generator

2005-12-12 Thread Ard Schrijvers
Seems to be a namespace problem you have, though I don't see directly what you are doing wrong. You can very easily debug it yourself by first doing someting like: xsl:value-of select="count(//child::node())"/ or xsl:value-of select="count(child::node())"/ and so on. Then probably

Re: Using the directory generator

2005-12-12 Thread Joerg Heinicke
On 12.12.2005 17:22, [EMAIL PROTECTED] wrote: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:sql=http://apache.org/cocoon/SQL/2.0; xmlns:dir=http://apache.org/cocoon/directory/2.0.; Don't know if it is only a typo in the mail, but the namespace

Trying to implement two-phase authentication with flow

2005-12-12 Thread Stan Dyck
I'd appreciate it if someone more knowledgeable in flow and the authentication-fw could help me validate my approach on something. I'm trying to implement a two-phase authentication scheme for a web site. I'm using a flowscript to serve up the first phase page of the authentication with a

[SOLVED] Re: Cocoon Bricks - Where do library files go?

2005-12-12 Thread David Legg
Has anyone got a recommended place to put project related jar files so they get picked up and used in a Brick-like project? False alarm... it turns out the build file was working fine all along. The trouble turned out to be a jar file that wasn't as full of classes as it should have been!

Butterfly

2005-12-12 Thread Tero Vaananen
I stumbled upon the 'Butterfly Manifesto' (http://wiki.apache.org/cocoon/ButterflyManifesto). Does anyone know what happened to it, or if there are any plans to continue it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Cocoon Bricks - Where to library files go?

2005-12-12 Thread Bertrand Delacretaz
Le 12 déc. 05, à 22:46, David Legg a écrit : ...I'm trying to structure a project in a Brick-like manner (http://wiki.apache.org/cocoon/BricksCms) but struggling with how to incorporate the project specific jar files in a way that makes sense.   I noticed that some jar files have been placed