Re: Which one to use Cocoon 2.1 or 2.2?

2007-01-05 Thread Ralph Goers
My 2 cents for what its worth. First, there has been no "official" 2.2 release. The milestone releases have been done so that everyone could try it out and report back problems. Although I've heard other committers are using 2.2 in production, I wouldn't recommend doing so as there are some i

Re: Which one to use Cocoon 2.1 or 2.2?

2007-01-05 Thread Jason Johnston
Mikael Olenfalk wrote: Hi Everybody! I want to use cocoon to create a webdav enabled webapp with a plugin architecture and I just want to know which version to use. Should I go for 2.1 or for 2.2? 2.2 seems like a more natural choice because it contains OSGi support (so I have read), but maybe i

Re: Which one to use Cocoon 2.1 or 2.2?

2007-01-05 Thread Grzegorz Kossakowski
Mikael Olenfalk napisał(a): Hi Everybody! I want to use cocoon to create a webdav enabled webapp with a plugin architecture and I just want to know which version to use. Should I go for 2.1 or for 2.2? 2.2 seems like a more natural choice because it contains OSGi support (so I have read), but ma

Re: Problem running the WebDAV sample block from Cocoon 2.2 TRUNK (2006-01-05 19:00 UTC)

2007-01-05 Thread Grzegorz Kossakowski
Mikael Olenfalk napisał(a): (sorry for the long mail) Hi! I have just checkout cocoon 2.2 trunk and compiled it successfully. Now I have a problem running the webdav sample block. When I navigate to http://localhost:/blocks/cocoon-webdav-sample/davmap/repo/ I get the following error: java

RE: Improving XSLT performance

2007-01-05 Thread Gary Larsen
Thanks for the info! -Original Message- From: thomason [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 3:42 PM To: users@cocoon.apache.org Subject: Re: Improving XSLT performance on 1/5/07 1:07 PM, Gary Larsen at [EMAIL PROTECTED] wrote: > The answer is 'probably it depends', b

Problem running the WebDAV sample block from Cocoon 2.2 TRUNK (2006-01-05 19:00 UTC)

2007-01-05 Thread Mikael Olenfalk
(sorry for the long mail) Hi! I have just checkout cocoon 2.2 trunk and compiled it successfully. Now I have a problem running the webdav sample block. When I navigate to http://localhost:/blocks/cocoon-webdav-sample/davmap/repo/ I get the following error: java.lang.ClassNotFoundExceptio

Which one to use Cocoon 2.1 or 2.2?

2007-01-05 Thread Mikael Olenfalk
Hi Everybody! I want to use cocoon to create a webdav enabled webapp with a plugin architecture and I just want to know which version to use. Should I go for 2.1 or for 2.2? 2.2 seems like a more natural choice because it contains OSGi support (so I have read), but maybe it isn't really usable ye

Re: Improving XSLT performance

2007-01-05 Thread thomason
on 1/5/07 1:07 PM, Gary Larsen at [EMAIL PROTECTED] wrote: > The answer is 'probably it depends', but generally speaking is the upgrade > to 2.1.* (from 2.1.7) very difficult for most applications? Is there info > anywhere on upgrading? What would be other justifications for an upgrade? It has

Re: Running Cocoon in debugger

2007-01-05 Thread Lars Huttar
On 1/5/2007 9:44 AM, Lars Huttar wrote: On 1/4/2007 3:31 PM, Mark Lundquist wrote: On Jan 4, 2007, at 1:28 PM, Lars Huttar wrote: [snipped] When this is all over, you will be well-qualified to write the "Debugging Cocoon Applications in Eclipse on Windows" document :-) By the way, where

Improving XSLT performance

2007-01-05 Thread Gary Larsen
Some large XQuery results are taking along time to process and I'm looking for suggestions on how to improve XSLT performance. I'm currently using Cocoon 2.1.7 with Xalan Java 2.4.1. I tried to plug in Xalan Java 2.7.0 but it turns out I will need to upgrade Cocoon. My next step is to see if Sa

Set request attribute from sitemap (was Re: passing Value from Pipline to another Pipline)

2007-01-05 Thread Mark Lundquist
On Jan 5, 2007, at 7:45 AM, Toby wrote: Thinking about it, I'm not sure if you can *set* a request attribute from the sitemap. You can. There are 2 ways: 1) Use a PropagatorAction configured with the RequestAttributeOutputModule 2) Use the SetterAction configured in "request-attrubute" m

Re: Syntax of registration.js

2007-01-05 Thread Toby
Peter Flynn wrote: > var viewData = { "username" : form.getChild("name").getValue() > "date" : form.getChild("date").getValue() } The correct syntax has a comma between the fields: var viewData = { "username" : form.getChild("name").getValue(), "date" : form.getC

unparsed-entity-uri()

2007-01-05 Thread Peter Flynn
Does anyone know when or if the unparsed-entity-uri() function will be implemented in distributions of Cocoon? It's becoming very hard to do serious document publishing without proper entity resolution. ///Peter - To unsubscrib

Writing form data to an XML file

2007-01-05 Thread Peter Flynn
I'm passing the results of the form demo into some code in registration_success.jx to write the form data to an XML file. Having got it working, I now need to find out how to get rid of the text which appears in the browser after the success message: success entire source overwritten write ove

Re: Syntax of registration.js

2007-01-05 Thread Peter Flynn
Peter Flynn wrote: I'm trying to get the Cforms demo to pass all the form field values to the success pipeline, but I don't know the syntax of the registration.js file. Cancel that...sorry for the bandwidth. Turns out it's a comma; and no, there is no need for a semicolon at the end of the v

Re: Running Cocoon in debugger

2007-01-05 Thread Lars Huttar
On 1/4/2007 11:49 PM, Mark Lundquist wrote: On Jan 4, 2007, at 8:49 PM, Lars Huttar wrote: Many thanks, Grzegorz and Mark! I've tried to get Cocoon running in Eclipse a number of times in the past, and now it's finally there. Awesome! :-) Next step is to figure out how to use this to trace

Syntax of registration.js

2007-01-05 Thread Peter Flynn
I'm trying to get the Cforms demo to pass all the form field values to the success pipeline, but I don't know the syntax of the registration.js file. I have added what is intended to be a second definition to the var viewData command, but it has no effect, and I don't know what delimiter should

Re: passing Value from Pipline to another Pipline

2007-01-05 Thread Toby
rachid harradi wrote: > hello Tobia, > many thanks for your answer. > I would have gladly an example of it Sure. Flowscript: cocoon.request.getAttribute('foo') cocoon.request.setAttribute('foo', bar) JX: ${request.getAttribute('foo')} ${request.setAttribute('foo', bar)} XSP or XSP

Re: Running Cocoon in debugger

2007-01-05 Thread Lars Huttar
On 1/4/2007 3:31 PM, Mark Lundquist wrote: On Jan 4, 2007, at 1:28 PM, Lars Huttar wrote: [snipped] When this is all over, you will be well-qualified to write the "Debugging Cocoon Applications in Eclipse on Windows" document :-) By the way, where should I write this? I was going to star

Re: cforms: tabs in an aggregated page

2007-01-05 Thread ZongoZongo
Ok, I solved the problem with the missing tag but it still dosnt work. Here is a little code. ###

Re: passing Value from Pipline to another Pipline

2007-01-05 Thread rachid harradi
hello Tobia, many thanks for your answer. I would have gladly an example of it(sitemap) Rachid harradi Original-Nachricht Datum: Fri, 5 Jan 2007 15:12:03 +0100 Von: Toby <[EMAIL PROTECTED]> An: users@cocoon.apache.org Betreff: Re: passing Value from Pipline to another Pipli

Re: passing Value from Pipline to another Pipline

2007-01-05 Thread Toby
rachid harradi wrote: > i dont know how can i pass the value from first Pipline on the second > Pipline "SaveFilesTransformer". have you any idea? I would use request attributes. You can set them from actions, from jx transformers, from flowscript and from a lot of other places and you can query

passing Value from Pipline to another Pipline

2007-01-05 Thread rachid harradi
Hello together i have Sitemape like :

RE: Running Cocoon in debugger

2007-01-05 Thread Martin Spinks
-Original Message- From: Mark Lundquist [mailto:[EMAIL PROTECTED] Sent: 05 January 2007 05:49 To: users@cocoon.apache.org Subject: Re: Running Cocoon in debugger On Jan 4, 2007, at 8:49 PM, Lars Huttar wrote: > Many thanks, Grzegorz and Mark! I've tried to get Cocoon running in > Eclip