AW: AW: [C2.2] Display Upload Progress

2009-01-20 Thread Matthias Müller
Hi David, first, a big THANKS for helping me and at the same time sorry that i destroyed your sample webapp. i had the same result (warning and error messages) like you and finally some working examples. what i didn't understand so far is: which instance decides which version of an artifact is

RE: JavaScript in stylesheet vs. in sitemap flow

2009-01-20 Thread Robby Pelssers
In the cocoon.xconf there is a cookiemodule configured which you can easily use in your sitemap component-instance logger=core.modules.input name=cookie class=org.apache.cocoon.components.modules.input.CookieModule / At http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html

Re: AW: AW: [C2.2] Display Upload Progress

2009-01-20 Thread David Legg
Hi Matthias, first, a big THANKS for helping me and at the same time sorry that i destroyed your sample webapp. No problem! what i didn't understand so far is: which instance decides which version of an artifact is the latest? why does maven try to download e.g. cocoon-core:2.2.1 when

Error with SQL Transformer - nested query + Filter Transformer

2009-01-20 Thread Derek Hohls
Working with Cocoon 2.1.8, Windows XP With reference to this thread: http://marc.info/?l=xml-cocoon-usersm=103097078912239w=3 which did not seem to be resolved, I am also having problems with the Filter Transformer. The error I have is: java.util.EmptyStackException at

Re: Determining the host OS

2009-01-20 Thread Stephen Winnall
There is a module called SystemPropertyModule which appears to do what you want. Just ask it for os.name. Steve On 20 Jan 2009, at 01:09, Martin Holmes wrote: HI folks, I'm trying to write a Cocoon-2.1-based application which I want to be completely portable between Tomcats running on

Re: AW: AW: [C2.2] Display Upload Progress

2009-01-20 Thread David Legg
David Legg wrote: If you look for the pom.xml file in the [Cocoon trunk folder]/parent folder you will see the dependency for cocoon-core listed as follows: - dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-core/artifactId version2.2.1-SNAPSHOT/version

Re: Determining the host OS

2009-01-20 Thread Martin Holmes
HI Steve, Do you know how to call this in a sitemap? If I pass this into an XSLT transformation: map:parameter name=osName value={system-property:os.name} / the parameter is empty. Cheers, Martin Stephen Winnall wrote: There is a module called SystemPropertyModule which appears to do what

Re: Determining the host OS

2009-01-20 Thread Andy Stevens
2009/1/20 Martin Holmes mhol...@uvic.ca: HI Steve, Do you know how to call this in a sitemap? If I pass this into an XSLT transformation: map:parameter name=osName value={system-property:os.name} / the parameter is empty. That looks reasonable to me. I assume you've got the input module

RE: Determining the host OS

2009-01-20 Thread Robin Rigby
Martin Does this help you? map:parameter name=system-property:file.separator value={system-property:file.separator}/ Look at blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/COB-INF /modules/sitemap.xmap Robin -Original Message- From: news

My continuations are not Garbage Collected - memory leak ?

2009-01-20 Thread Benoit de CHATEAUVIEUX
Hi Cocooners, I'm profiling my Cocoon 2.2 webapp because I'm facing a memory leak. I encountered in my Heap Memory a lot of Continuations that are never deleted. I analyzed the memory after two hours of inactivity and, even after having performed some Garbage Collections, I found Continuations,

Re: Determining the host OS

2009-01-20 Thread Martin Holmes
My mistake here: I'd added it to one matcher, but I was looking for it in the output of another one. It works just fine! Thanks indeed. Cheers, Martin Andy Stevens wrote: 2009/1/20 Martin Holmes mhol...@uvic.ca: HI Steve, Do you know how to call this in a sitemap? If I pass this into an

CForms Serialization

2009-01-20 Thread Ralph Rauscher
Hi, I have a case where I have a really large form that would require several sessions to be valid and I'd like to allow users to persist their work (even if the form is invalid) and continue working on it later. As the cforms binding will throw all kinds of exceptions in this case I

Re: Determining the host OS

2009-01-20 Thread Martin Holmes
That does help, for sure; it's quicker to know which slash to add when I need to add one. I'd love to be sure that the absence of the trailing slash was reliable on Windows, and its presence reliable on *nix, but it seems better to check. Cheers, Martin Robin Rigby wrote: Martin Does this

Re: CForms Serialization

2009-01-20 Thread Rice Yeh
On Wed, Jan 21, 2009 at 6:42 AM, Ralph Rauscher r...@blue-elephant-systems.com wrote: Hi, I have a case where I have a really large form that would require several sessions to be valid and I'd like to allow users to persist their work (even if the form is invalid) and continue working on it