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 i

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 additio

[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! R

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 contin

Re: Using the directory generator

2005-12-12 Thread Joerg Heinicke
On 12.12.2005 17:22, [EMAIL PROTECTED] wrote: 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 declaration for the dir pref

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:   or and so on. Then probably you get some value > 0 Then try dir:director/child:node())"/> if now, your result is 0, y

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 dep

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 info

[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 d

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 a Brick-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 fil

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 d

Using the directory generator

2005-12-12 Thread [EMAIL PROTECTED]
Hi, i wanted to use the xpath directory generator. My pipeline is the following:                                                                                                                         After the genrator i receive the following data, which is exactly what i expected

[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 Höglund wrote: Hi, I'm want to use the modular database action for saving documents to a database. I allready uses it successfully for uploading ima

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 woul

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 st

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.

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.8>cocoon cli -x cli.xconf unfortunately cli seem to be broken ?

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 with

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.8>cocoon 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 contex

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.8>cocoon 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.8>cocoon 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

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 syn

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: [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 comm

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: 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

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 t

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... ...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- action/explain-test.html and the correspo

Set-header Action

2005-12-12 Thread Andreas Busch
I'm trying to set some Meta tags map:act> but are not set in html - output . Do I something wrong?   tx      

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 t

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 (serializatio