HTML-serializer question

2008-04-15 Thread Lehtonen, Mika
I have this external graphics tag in my xsl when using FOP to serialize pdfs'.(Cocoon 2.1.11 with 0.94 FOP) fo:external-graphic src=cocoon:/selitykset/{$kunta}-{$alue}-{$kaavano}-laatija_{$kaavano}.gif .. etc.. But now I am building an html serializer for the same project. How do I

[2.1]change response http status

2008-04-15 Thread nanomonk
I need to set another status-code via response.setStatus(1): HTTP/1.1 200 OK to HTTP/1.1 001 blablabla Now I have my custom serializer. How can I to take access to Response object from serializer? -- View this message in context:

Bug in filter transformer?

2008-04-15 Thread Derek Hohls
Working with Cocoon 2.1.8 I have encountered a problem with the filter transformer. It works find with a straightforward transform after a simple SQL. But when I have a nested SQL statement, where the initial result after the SQL transformer looks like: ?xml version=1.0 encoding=UTF-8?

RE: CForms Binding with XML and JXPath example

2008-04-15 Thread Jeroen Reijn
We've done something similar. See [1] for the java source. http://svn.hippocms.org/repos/hippo/hippo-cms/trunk/editor/src/java/nl/hippo/cocoon/forms/binding/XmlAsStringBinding.java Regards, Jeroen Reijn -Original Message- From: Magnus Haraldsen Amundsen [mailto:[EMAIL PROTECTED] Sent:

RE: What are EHCache and HSQL used for?

2008-04-15 Thread Jeroen Reijn
Hi, as far as I know EHCache is used for eventcaching pipelines. HSQL is not needed for a minor version of cocoon, but can be used for databases while testing or running examples inside Cocoon 2.1. Regards, Jeroen -Original Message- From: Robert La Ferla [mailto:[EMAIL PROTECTED]

RE: [2.1]change response http status

2008-04-15 Thread Jeroen Reijn
Hi, try setting the status-code attribute on your custom serializer. map:serialize type=xml status-code=001/ Regards, Jeroen Reijn -Original Message- From: nanomonk [mailto:[EMAIL PROTECTED] Sent: Tue 4/15/2008 11:19 AM To: users@cocoon.apache.org Subject: [2.1]change response http

Re: HTML-serializer question

2008-04-15 Thread Stephen Winnall
The problem is with the use of the cocoon: pseudo-protocol in the src attribute of img. Cocoon pseudo-protocols are only known to Cocoon and so only work on the server side. The img src=... is sent over to the client to be interpreted, and Safari, Netscape, MSIE and co. don't know what it

Re: HTML-serializer question

2008-04-15 Thread Lehtonen, Mika
Yep, I ended up thinking something similar and kind of sorted the problem out by using already created contextpath-variable instead of cocoon:/. It works. thanks, mika Stephen Winnall kirjoitti: The problem is with the use of the cocoon: pseudo-protocol in the src attribute of img. Cocoon

RE: How to obtain a xml from a xml file and a Xpath expression

2008-04-15 Thread Carlos Tejo Alonso
Heelo, I wanted to explain thi situation: I have a file called example.xml and I want to apply a XPATH expression in order to obtain another file called example-2.xml with the elements selected by the XPATH expression. For one you could just generate your file, apply an xslt

error in html serialization

2008-04-15 Thread Lehtonen, Mika
Hello, I have an application which uses html serializer. It is a little complicated system to describe in this. Anyway the pipeline works and of some xml and a bunch of gifs is parsed a working html, but then we come to the strange part. It works eleven times, crashes eleven times and

webdav transformer

2008-04-15 Thread Robert Goené
Hi! I try to use the webdav transformer in Cocoon 2.1.10 to post some data to Solr. When I do not provide a body element, I get the expected error message from Solr: no data provided. So far so good. When I do provide a body element, I get a very general NullPointerException. I use the Saxon