Reg exp validation with Woody?

2003-09-01 Thread Sonny Sukumar
I'm looking for a solution to generate forms for every page of a checkout process on an e-commerce site, and so I started looking at Woody. I realize it's a work in progress, but I figure if there's a sample of its use in Cocoon 2.1 (which I'm using), it might just be able to do the job. But

Re: Wildcard (**) and nested hierarchy - problems

2003-09-01 Thread Jan Warnstam
Jan Warnstam wrote: Hello once again, list members I am now trying to use '**' matching in a pipeline with nested matchers and actions, and I am getting strange errors that can only be described as an endless loop when Cocoon tries to evaluate the pattern token matched. The code looks like

map:aggregate / map:part does only work with XML files?

2003-09-01 Thread christianmenz
hi everybody, I'm using cocoon version 2.1. I would like to use map:aggreagte to aggregate two XML documents from different sources. I hae written a custom generator and I would like to use it in the map:part element. unfortunately this does not work! in the generator element I use it like

RE: Select a stylesheet transformer after an action, possible ?

2003-09-01 Thread DE BEAUREPAIRE LUDOVIC
You may be able to refactory your pipelines a little bit to get out of this situation. Also, I've not used the parameter selector, so don't know enough to say whether that's the problem. If it doesn't all work, maybe write out what you need to do and why you approached it this way and

Re: map:aggregate / map:part does only work with XML files?

2003-09-01 Thread Bertrand Delacretaz
Le Lundi, 1 sep 2003, à 10:12 Europe/Zurich, [EMAIL PROTECTED] a écrit : map:aggregate element=root map:generate type=atlasextract ...some map parameters.. /map:generate You cannot do that directly, you have to use the cocoon: protocol: First create a map:match for your Generator map:match

Re: Pipeline called several times for a single request ??

2003-09-01 Thread Upayavira
DE BEAUREPAIRE LUDOVIC wrote: Hi all, Can someone help me to understand this strange behaviour : I have a quite simple sitemap : The test action defines xml and xsl files used to produce PDF files. map:match pattern=edit map:act type=test map:generate src=work/xml/{donnees}.xml/

portal-fw - incomplete pipeline

2003-09-01 Thread Joern Wallstabe
Hello , I'm trying to view the cocoon control flow 'number guessing game' as a portal-fw coplet. It works standalone but within the portal-fw pipeline i'm getting an 'incomplete pipeline exception'. regards jörn --- map:match pattern=sunspotdemosunlet-game map:call

Im a bit stuck with Cocoon 2.1 - Offline Page Generation

2003-09-01 Thread tom prickett
Hello, I wonder if anyone could help me. I am new to Cocoon and am interested in using the Offline Page Generation functionality within a new project I am working on. I have followed the following steps: I have downloaded the latest source distribution I have build

RE: Pipeline called several times for a single request ??

2003-09-01 Thread DE BEAUREPAIRE LUDOVIC
Here is my need, I have to generate PDF files. The request sends me a part of the xml datas and the name of the stylesheet. 2 other constraints (can't be moved) : - a request parameter defines if cocoon sends the generated PDF, or if it sends the URL for an utilisation in the future. - a

AW: Incremental Processing in Cocoon 2.1

2003-09-01 Thread Hauke Ernst
Hello, yes, this is how it worked for 2.0.3. The problem only occurs with 2.1. My configuration in cocoon.xconf is xslt-processor logger=core.xslt-processor parameter name=use-store value=true/ parameter name=incremental-processing value=true/ /xslt-processor !--+ | Xalan

Re: Losing parameters when re-directing?

2003-09-01 Thread Upayavira
Michel de Blok wrote: I'm using Cocoon 2.1m3 and when I perform a map:redirect-to uri={page} / in the sitemap, I lose my parameters from the original request. I can fix this by using the internal cocoon redirect (with the cocoon: protocol), but I rather not use this since it doesn't update

thread safety of cocoon

2003-09-01 Thread Jorg Heymans
Say i write my own transformer (or serializer, or generator doesn't matter), is it true then that a new instance of my custom class is created each time it is executed in a pipeline? (uncached) My code relies on a few instance variables (simple ones like Logger but also more crucial ones like

RE: thread safety of cocoon

2003-09-01 Thread Jorg Heymans
When you say a new component then you mean new class right? I don't want the class it to be accessed by more than 1 thread at the same time, are you saying this is the default behaviour? Tnx Jorg -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Montag, 1. September

RE: XMLForm Deprecated?

2003-09-01 Thread Sylvain.Thevoz
Hello, You're right, deprecated doesn't mean deleted. But I'm not really happy because XMLForm doesn't support all the XForm stuffs. And JXForm? Do you have some information about differences between XMLForm and JXForm and how to migrate? Thanks Regards Sylvain (T) -Message d'origine-

Re: XMLForm Deprecated?

2003-09-01 Thread Sylvain Wallez
[EMAIL PROTECTED] wrote: Hello, You're right, deprecated doesn't mean deleted. But I'm not really happy because XMLForm doesn't support all the XForm stuffs. And JXForm? XForms compliance is not a goal and is IMO very difficult to achieve on the server side, the XForms specification being

Re: Pipeline called several times for a single request ??

2003-09-01 Thread Upayavira
DE BEAUREPAIRE LUDOVIC wrote: Here is my need, I have to generate PDF files. The request sends me a part of the xml datas and the name of the stylesheet. 2 other constraints (can't be moved) : - a request parameter defines if cocoon sends the generated PDF, or if it sends the URL for an

RE: Is it possible to make a redirect() from the FOM?

2003-09-01 Thread Mark H
Use: cocoon.redirectTo(someURL); Mark -Original Message- From: Ramy Mamdouh [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 18:10 To: [EMAIL PROTECTED] Subject: Is it possible to make a redirect() from the FOM? Hello, Is it possible to make a redirect() from the FOM? a

Re: AW: AW: Incremental Processing in Cocoon 2.1

2003-09-01 Thread Bruno Dumon
On Mon, 2003-09-01 at 17:57, Bruno Dumon wrote: On Mon, 2003-09-01 at 16:23, Hauke Ernst wrote: On Mon, 2003-09-01 at 14:04, Hauke Ernst wrote: Hello, yes, this is how it worked for 2.0.3. The problem only occurs with 2.1. My configuration in cocoon.xconf is

Re: map:aggregate / map:part does only work with XML files?

2003-09-01 Thread rufio
on Mon, 1 Sep 2003 17:43:14 +0200 Bertrand Delacretaz [EMAIL PROTECTED] wrote: ...But this looks to me like a workaround ;-), any plans to enhance the aggregate feature? I think the current way of doing aggregation makes perfect sense if you think of aggregating pipelines, not only

Re: map:aggregate / map:part does only work with XML files?

2003-09-01 Thread Miles Elam
rufio wrote: on Mon, 1 Sep 2003 17:43:14 +0200 Bertrand Delacretaz [EMAIL PROTECTED] wrote: I think the current way of doing aggregation makes perfect sense if you think of aggregating pipelines, not only generators. AFAIK there are no plans to change this. And I thing aggregator should

Re: HTML code shown in browser, not parsed

2003-09-01 Thread Sonny Sukumar
From: Sylvain Wallez [EMAIL PROTECTED] Sonny Sukumar wrote: Hey thanks for identifying the problem and fixing it. If I don't specify a mime-type for map:read does it always default to text/html? Nope : the ResourceReader (the default one) tries to determine the mime type from the

Mysql i Cocoon 2.1

2003-09-01 Thread Marcin Stefaniuk
Hello! I have problem with connection to mysql. Sample for hsqldb works ok. I installed mysql_connector_java_3.0.8-stable.jar from mysql.com in WEB-INF. I checked that I have excalibur-datasource-1.1.1.jar I put entry in web.xml: init-param param-nameload-class/param-name

Re: map:aggregate / map:part does only work with XML files?

2003-09-01 Thread rufio
on Mon, 01 Sep 2003 11:12:39 -0700 Miles Elam [EMAIL PROTECTED] wrote: rufio wrote: And I thing aggregator should be able to take anything that produces SAX events - generators/resources/whatever, so people didn't have to use pipeline-for-generator workaround. It can. map:part

Re: thread safety of cocoon

2003-09-01 Thread Vadim Gritsenko
Upayavira wrote: Jorg Heymans wrote: Say i write my own transformer (or serializer, or generator doesn't matter), Transformers, in particular, can not be threadsafe. They are all Recyclable. This is due Transformer interface design (setContentHandler method in AbstractXMLProducer.java).

Re: map:aggregate / map:part does only work with XML files?

2003-09-01 Thread Miles Elam
rufio wrote: simply: all other generators (if we can assume that map:part takes role of file generator) can't be used here. I guess I was biased here because I've rarely wanted the raw output of bult-in generators (except FileGenerator) without first passing it though a transformer or two

Re: Mysql i Cocoon 2.1

2003-09-01 Thread Jens Maukisch
Hi, I have problem with connection to mysql. Sample for hsqldb works ok. I installed mysql_connector_java_3.0.8-stable.jar from mysql.com in WEB-INF. I checked that I have excalibur-datasource-1.1.1.jar this problem has been discussed several times, maybe you'll find a solution in the

Link Livesites: xml-dev version 2.0.2-dev

2003-09-01 Thread Sarah Haff
http://www.xml-dev.com Thank You Sarah _ MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup - To unsubscribe, e-mail: [EMAIL PROTECTED] For

tescase avalon component in cocoon

2003-09-01 Thread Nicolas Maisonneuve
hy, i would like use the Excalibur Testcase for test my avalon component in cocoon but i don't know how do ? i tried with this code but my component use contextualize method and there is a contextException because the context object isnota cocoon context note : i have not experience in

Re: How to Get Data from Auth Context in Action?

2003-09-01 Thread Sonny Sukumar
Ok, I found this post from a year ago where Antonio Gallardo talks about how he created a xsp-session:getxml tag to do what I asked about. But it brought up another question in my mind: if a user is logged into 1 auth handler, and the context is supposed to referenced by the authentication

Re: 2.1: Neither LinkSerializer nor LinkGatherer producing a complete link list

2003-09-01 Thread Florian G. Haas
Hi again. Narrowing the issue down somewhat, I've had a look at this piece of code in ExtendedXlinkPipe.java: public void startElement(String uri, final String name, final String raw, final Attributes attr) throws SAXException { final Set attrList =

[ANN] Fins 0.1.1 released

2003-09-01 Thread Luca Morandini
Folks, we are pleased to introduce you the 0.1.1 release of the Fins Project. The aim of this project is to equip the Cocoon community with a set of sitemap components able to generate professional charts in different formats (SVG, PNG, JPEG) using the JFreeChart library. The long-term goal is