Logging on sitemap actions

2008-07-01 Thread Johannes Hoechstaedter
Hello everybody, is there a possibility to fire log events from the cocoon sitemap? The background is, I want to have some logging on database actions. Which tables and or rowsets are affected and so on. I tried the default log by log4j (DEBUG, INFO,...)., but it wasn't very effective for my

Cocoon-fop-impl using old version of fop.jar

2008-07-01 Thread Robby Pelssers
Hi guys, I would like to use at least the stable fop0.94 or even try out the 0.95 beta. What is the easiest way to accomplish this? Currently I have just added the FOP-dependency to my pom like below: dependency groupIdorg.apache.cocoon/groupId

Re: Cocoon-fop-impl using old version of fop.jar

2008-07-01 Thread Felix Knecht
Hi Robby You'll need to exclude the existing fop from the cocoon-fop-impl dependency that it gets not resolved via transitivity and then add the one you like: dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-fop-impl/artifactId version1.0.0/version exclusions exclusion

RE: Cocoon-fop-impl using old version of fop.jar

2008-07-01 Thread Robby Pelssers
Hi Felix, i adjusted my sitemap (see snippet below) !-- dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-fop-impl/artifactId version1.0.0/version /dependency -- dependency groupIdorg.apache.cocoon/groupId

Re: Cocoon-fop-impl using old version of fop.jar

2008-07-01 Thread Felix Knecht
Hi Robby i adjusted my sitemap (see snippet below) It's the pom.xml not the sitemap (just to avoid missunderstandings) ;-) !-- dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-fop-impl/artifactId version1.0.0/version /dependency --

Firefox 3 and URL

2008-07-01 Thread Alexandre Mazouz
Hello, I'm using Cocoon 2.1.7/Jetty. My web application works on every browser with every version except Firefox 3.0. Firebug helps me to find the problem : -Firefox 2 : GET http://erules.bureauveritas.com/dy/browse/imo/codes/fss/fss_2001/toc/n0001.xml -Firefox 3 : GET

RE: Firefox 3 and URL

2008-07-01 Thread Jasha Joachimsthal
How do you create your URI's? Is it a browser selector in the sitemap, a parameter in XSLT, some javascript? Van: Alexandre Mazouz [mailto:[EMAIL PROTECTED] Verzonden: di 1-7-2008 11:47 Aan: users@cocoon.apache.org Onderwerp: Firefox 3 and URL Hello, I'm

Re: Logging on sitemap actions

2008-07-01 Thread Johannes Hoechstaedter
Johannes Hoechstaedter schrieb: Hello everybody, is there a possibility to fire log events from the cocoon sitemap? The background is, I want to have some logging on database actions. Which tables and or rowsets are affected and so on. I tried the default log by log4j (DEBUG, INFO,...).,

Re: Logging on sitemap actions

2008-07-01 Thread Johannes Hoechstaedter
Sorry for double posting. That was not wanted. But maybe some one has an idea? Johannes Hoechstaedter schrieb: Johannes Hoechstaedter schrieb: Hello everybody, is there a possibility to fire log events from the cocoon sitemap? The background is, I want to have some logging on database

RE: Firefox 3 and URL

2008-07-01 Thread Alexandre Mazouz
My URI comes from javascript. I'm also using sarissa 0.9.4.4. Jasha Joachimsthal-2 wrote: How do you create your URI's? Is it a browser selector in the sitemap, a parameter in XSLT, some javascript? Van: Alexandre Mazouz [mailto:[EMAIL PROTECTED]

Re: Firefox 3 and URL

2008-07-01 Thread Jeroen Reijn
Hi Alexandre, then I guess you should start looking at the sarissa code then generates this url. I have not seen this problem with cocoon before, and since firebug reports it as the request, then it must be your javascript code somehow. Regards, Jeroen Alexandre Mazouz wrote: My URI

Re: Logging on sitemap actions

2008-07-01 Thread Alec Bickerton
We're using 2.1.9. I simply use a logAction like this map match pattern=... map:act type=logging map:param name=level value=info map:param name=message value=some logging /map:act /map:match The implementation of it is a really simple extension of the AbstractAction.

Re: Firefox 3 and URL

2008-07-01 Thread Alexandre Mazouz
Okay, it seems that getElementsByTagName() has different behavior in FireFox 2.0 and Firefox 3.0. why? i don't know may be to give us more bug to fix. Jeroen Reijn-3 wrote: Hi Alexandre, then I guess you should start looking at the sarissa code then generates this url. I have not seen

Passing a node-set from XSLT to Java

2008-07-01 Thread Andrew Chamberlain
Hi All, I'm trying to pass a tree fragment from XSLT to Java in the following way, and I'm not sure if the node-set is getting through correctly. The XML is: gml:Polygon ... /gml:Polygon and the XSLT is: xsl:stylesheet ... myClass=xalan://my.package.name.MyClass ...

Re: Firefox 3 and URL

2008-07-01 Thread Jeroen Reijn
Well I hope not :-) Good that you figured it out though! Jeroen Alexandre Mazouz wrote: Okay, it seems that getElementsByTagName() has different behavior in FireFox 2.0 and Firefox 3.0. why? i don't know may be to give us more bug to fix. Jeroen Reijn-3 wrote: Hi Alexandre, then I guess

Re: Firefox 3 and URL

2008-07-01 Thread David Legg
Have you checked that the DOCTYPE being returned by Cocoon is identical between Firefox 2 and 3? I just wondered if when you use Firefox 3 Cocoon serves a page in quirks mode or application/xml+xhtml or something else which would make getElementsByTagName() behave differently. David Legg

Re: Firefox 3 and URL

2008-07-01 Thread Luca Morandini
Alexandre Mazouz wrote: Okay, it seems that getElementsByTagName() has different behavior in FireFox 2.0 and Firefox 3.0. why? i don't know may be to give us more bug to fix. The handling of namespaces has changed form FF2 to FF3, here's a code fragment than handles both IE and FF (it

Re: Passing a node-set from XSLT to Java

2008-07-01 Thread Luca Morandini
Andrew Chamberlain wrote: Hi All, I'm trying to pass a tree fragment from XSLT to Java in the following way, and I'm not sure if the node-set is getting through correctly. The XML is: ... This gives the 'result' variable the value of #text, but when I was expecting gml:Polygon. Not all

Re: Debugging sitemap

2008-07-01 Thread Andy Stevens
2008/6/27 Robby Pelssers [EMAIL PROTECTED]: Here is a way to put a little debug information inside your sitemap: ... I will get following output in my console: - Start Pipeline Debugging -- Pipeline executed: static-content Matched pattern:

Property placeholders from servlet context?

2008-07-01 Thread Stephen Rosman
I'm trying to set up a simple cocoon 2.2 web application that gets its context-path from the servlet context. I would have thought this would be a simple thing to do but I haven't figured it out yet. I've searched the mailing list archives and the cocoon website for answers without any luck.