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 Op

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

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 *

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 solv

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

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

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 . > Please note that this will be deprecated in Cocoon 2.2 in > favour of the concept > of virtual sitemap

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

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 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 http://cocoon.apache.org/2.1/userdocs/concepts

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 radeo

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 somethin

Re: problem with wildcard and pipeline keys

2005-08-25 Thread Askild Aaberg Olsen
Ralph Lange wrote: where {1} is the path plus the filename, cocoon doesn't resolve the pipeline key on the map:read construct, instead it produces the errormessage: Try with Askild - --

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 ea

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 possibl

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 PR

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 somewha

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 where {1} is the path plus the filename, cocoon doesn't resolve the pipeline key on t

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 bee

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

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 versions

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: and internal.xmap contains:         and   ...   and another pipeline in internal.xmap calls a javaflow function which uses   cocoon.sendPage("pipeline"); the pipeline "pipeline" is NOT FOUND. Ho

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

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 u

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

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 sources

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 unsubscribe