Re: cocoon:/ 2 file:/

2005-08-25 Thread Raphaël Franchet
Salut, Ta question n'est pas très claire. Tu es dans une classe JAVA ? Tu as un pipeline qui match resource.txt et qui renvoie le fichier file:///path/to/name/resource.txt ? Raphaël FRANCHET Systèmes d'information ANYWARE TECHNOLOGIES Tel: +33 (0)5 61 00 73 47 Fax : +33 (0)5 61 00 51 46

Re: cocoon:/ 2 file:/

2005-08-25 Thread Jean-Baptiste Quenot
* vjaulin: Existe-t-il une méthode pour traduire une url cocoon en url de type file? cocoon:/resource.txt - file:///path/to/name/resource.txt Tu voulais dire context:/ peut-être... dans ce cas si tu te situes dans du code Java ou FlowScript il suffit d'utiliser

import de classe en XSP

2005-08-25 Thread Celine Bissler
Bonjour, je cherche à convertir dans une XSP du texte en XML voila ma page xsp:page language=java xmlns:xsp=http://apache.org/xsp; progs xsp:logic String text3=progun programme/prog; /xsp:logic xsp:logicXSPUtil.includeString(text3,manager,contentHandler);/xsp:logic /progs /xsp:page et

Re: cocoon:/ 2 file:/

2005-08-25 Thread vjaulin
vjaulin wrote: Ok je viens de trouver Quand je récupère ma source à partir du resolver j'appelle getUri() source.getURI(); - file:/path/to/name/resource.txt -- Vincent Jaulin Ingénieur Informatique AJLSM - Liste francophone

Re: import de classe en XSP

2005-08-25 Thread Raphaël Franchet
Salut, les imports se font ainsi: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xsp:structure xsp:includejava.util.*/xsp:include xsp:include.../xsp:include /xsp:structure progs ... /progs /xsp:page D'autre

Cocoon and IntelliJ Idea

2005-08-25 Thread Uzo Andrew Madu
Hi, can anyone tell me how I setup a cocoon project in IntelliJ Idea? In eclipse it is simply a case of selecting import and point it to your cocoon directory. How do I do the same in IntelliJ? regards Uzo - To

Re: Cocoon and IntelliJ Idea

2005-08-25 Thread Bertrand Delacretaz
Le 25 août 05, à 03:59, Uzo Andrew Madu a écrit : ...can anyone tell me how I setup a cocoon project in IntelliJ Idea? In eclipse it is simply a case of selecting import and point it to your cocoon directory. How do I do the same in IntelliJ?... I use IDEA as follows: -Add the Cocoon

Re: Cocoon and IntelliJ Idea

2005-08-25 Thread Thomas Lutz
I -created an empty project -copied the cocoon sources into a dir in this project dir -made another dir with my non cocoon librarier -and then added the copied directories with new module to my project -- although its new module, it detects your sources and imports them (no copying like in

Re: HTML embedded in XML

2005-08-25 Thread Thomas Lutz
Maybe you'd be successfull with a small service pipeline, that uses xml/xslt instead of jx. I did this once, the basic idea was: - writing a custom generator, that parsed the string to a DOM Document (in your case I think this could be done by simply wrap your service response with a tag). I

Re: Cocoon and IntelliJ Idea

2005-08-25 Thread Uzo Andrew Madu
Bertrand, do I setup a java/web/other project and then do what you suggested. Could you give me some step by steps here please, it's always easy when you have done it a few times ;-) Sorry to be a pain. regards Uzo - To

Re: Cocoon and IntelliJ Idea

2005-08-25 Thread Bertrand Delacretaz
Le 25 août 05, à 10:57, Uzo Andrew Madu a écrit : do I setup a java/web/other project and then do what you suggested. .. Yes, a java project will do. The way I described it, IDEA is only used for code browsing and editing, launching ant targets and running the remote debugger. I always use

map:mount src=some.xmap makes cocoon.sendPage fail

2005-08-25 Thread Antonio Fiol Bonnín
Hello, I have discovered that on Cocoon 2.1.7 (not tested on other versions), if I have: map:mount check-reload=yes src="" uri-prefix=internal/ and internal.xmap contains: map:flow language=_javascript_ map:script src=""> /map:flow and map:match pattern=pipeline ... /map:match and another

Re: map:mount src=some.xmap makes cocoon.sendPage fail

2005-08-25 Thread Marc Salvetti
Hi, i think when you use sendPage(url), the url determine which sitemap it refers to cocoon://pipeline is in the main sitemap and cocoon:/pipeline is in the current sitemap hth, marc Antonio Fiol Bonnín a écrit : Hello, I have discovered that on Cocoon 2.1.7 (not tested on other

[Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Oliver Schalch
Seems like really dead on the Chaperon List... Original Message Subject: [Chaperon-users] wiki grammer Date: Thu, 25 Aug 2005 11:33:14 +0200 From: Oliver Schalch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi all, We are building a publication for

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Bertrand Delacretaz
Le 25 août 05, à 15:57, Oliver Schalch a écrit : ...Looks like issues in the grammer (wiki.grm or generation of wiki.xgrm), or what do you think?... Chaperon is a parser for strict grammars, and as such not really suited for wiki parsing where you need a somewhat permissive parser. I've

problem with wildcard and pipeline keys

2005-08-25 Thread Ralph Lange
Dear Cocoon Users! My setup: cocon 2.1.5.1, tomcat 5.5.4, jdk 1.5.0. I experience the following problem: using the match pattern map:match pattern=download/**.pdf map:act type=downloadAction map:parameter name=file value={1}/ map:read src={1}.pdf

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Aurélien DEHAY
Bertrand Delacretaz wrote: Le 25 août 05, à 15:57, Oliver Schalch a écrit : ...Looks like issues in the grammer (wiki.grm or generation of wiki.xgrm), or what do you think?... Chaperon is a parser for strict grammars, and as such not really suited for wiki parsing where you need a

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Aurélien DEHAY
Apologize for: - The HTML format of the mail. Default settings of Thunderbird sometime sucks. - Forgot to say, the site is in french. Rgds. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Custom Serializer with InputSource

2005-08-25 Thread holger . willenborg
Hi, I want to implement a custom serializer. The product I want to integrate requires a - a java.io.Reader, - a java.io.InputStreamReader or - an org.xml.sax.InputSource The product (DataVision) usually reads an XML file from a stream and I want it to take input from Cocoon. Is that

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Oliver Schalch
Bertrand Delacretaz said the following on 25.08.2005 16:14: I've been using radeox (http://radeox.org/space/start) in Cocoon apps and it works well, except that I needed to cleanup the output quite a bit to create clean XML. If you want to try it I can post some code samples, it's fairly easy

Re: problem with wildcard and pipeline keys

2005-08-25 Thread Askild Aaberg Olsen
Ralph Lange wrote: map:match pattern=download/**.pdf map:act type=downloadAction map:parameter name=file value={1}/ map:read src={1}.pdf mime-type=application/pdf/ /map:act map:generate src=xml/de/download/downloaderror.xml/ map:transform

Calling a block of transformations

2005-08-25 Thread Stewart, Gary
Hi there, Another newbie question I'm afraid. There are a set of transformers that I commonly call from a lot of pipelines and that I'd like to be able to possibly change at a later date. I was wondering if there is a way to call another pipeline inside a generate - serialize block so

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Bertrand Delacretaz
Le 25 août 05, à 16:45, Oliver Schalch a écrit : ...Looks quite nice, didnt know it. Of course I'd like to see some code samples, which you made.. Basically what we do is: String input = wiki text..; // Radeox generates xhtml in a String (unfortunately) RenderContext context = ...some radeox

Re: Calling a block of transformations

2005-08-25 Thread Reinhard Poetz
Stewart, Gary wrote: Hi there, Another newbie question I'm afraid. There are a set of transformers that I commonly call from a lot of pipelines and that I'd like to be able to possibly change at a later date. You're looking for map:resource. See

Re: problem with wildcard and pipeline keys cocoon user forum

2005-08-25 Thread Askild Aaberg Olsen
Ralph Lange wrote: Now it works, thank you very much. Yours sincereley, Ralph Lange For the archives... Askild :-) - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Calling a block of transformations

2005-08-25 Thread Chris Marasti-Georg
Check into resources. They are basically a group of tags that you can call easily... I use one at the end of all my pipelines to strip namespaces from the final xhtml and serialize... It would look somehting like this: map:resources map:resource name=xforms-convert

RE: Calling a block of transformations

2005-08-25 Thread Stewart, Gary
-Original Message- From: Reinhard Poetz [mailto:[EMAIL PROTECTED] You can combine a group of sitemap components within a resource and call them from other pipelines by map:call resource=[name]/. Please note that this will be deprecated in Cocoon 2.2 in favour of the concept

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Oliver Schalch
Bertrand Delacretaz said the following on 25.08.2005 17:12: Basically what we do is: String input = wiki text..; // Radeox generates xhtml in a String (unfortunately) RenderContext context = ...some radeox RenderContext RenderEngine engine = ...standard or custom RenderEngine final

Re: Calling a block of transformations

2005-08-25 Thread JD Daniels
I depend heavily on resources... Is there any form of virtual sitemap components in the 2.1.x tree? Reinhard Poetz wrote: Stewart, Gary wrote: Hi there, Another newbie question I'm afraid. There are a set of transformers that I commonly call from a lot of pipelines and that I'd like to be

RESOLVED: Strange problem upgrading Tomcat/Cocoon

2005-08-25 Thread Steve Burling
--On August 3, 2005 12:26:03 PM -0400 I wrote: I'm starting the process of upgrading our Tomcat/Cocoon install, currently Tomcat 5.0.16 and Cocoon 2.1.3, wanting to move to Tomcat 5.5.9 and Cocoon 2.1.7. I've run into a problem that I can't explain, and hope that someone else has seen (and

RE: Calling a block of transformations

2005-08-25 Thread Stewart, Gary
-Original Message- From: JD Daniels [mailto:[EMAIL PROTECTED] I depend heavily on resources... Is there any form of virtual sitemap components in the 2.1.x tree? Reinhard did say deprecated so I imagine you'll still be able to use resources for some versions to come. Gary

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Mark Lundquist
On Aug 25, 2005, at 7:14 AM, Bertrand Delacretaz wrote: I've been using radeox (http://radeox.org/space/start) in Cocoon apps me too and it works well, except that I needed to cleanup the output quite a bit to create clean XML. yup. One thing I don't like, though, is that there are

Re: Calling a block of transformations

2005-08-25 Thread Reinhard Poetz
JD Daniels wrote: I depend heavily on resources... as most of us that want to avoid code duplication do ;-) of course resources will go through an appropriate deprecation cycle Is there any form of virtual sitemap components in the 2.1.x tree? no, only in trunk (they should work there) --

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Antonio Gallardo
Aurélien DEHAY wrote: Apologize for: - The HTML format of the mail. Default settings of Thunderbird sometime sucks. - Forgot to say, the site is in french. You can configure thunderbird to use plain text with some domains. This is how I use it: 1- In Options/Composition press the Send