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

2007-01-09 Thread Ard Schrijvers
On 1/8/07, Joerg Heinicke [EMAIL PROTECTED] wrote: On 08.01.2007 13:33, Ard Schrijvers wrote: java.lang.ClassNotFoundException: org.apache.cocoon.generation.JXTemplateGenerator The correct class name is now org.apache.cocoon.template.JXTemplateGenerator. Why did this

Re: cforms: tabs in an aggregated page

2007-01-09 Thread ZongoZongo
Ok, now its getting really strange! I built a new basic application only with the files ein I need to display the tabbed form (header and navigation all the same like in the app where the form doesnt work). And It works fine! Now I used a tool to compare the htmlfile (generated by cocoon) of the

Re: cforms: tabs in an aggregated page

2007-01-09 Thread ZongoZongo
Ok, now I solved the problem. I had an fault inside the matcher that is responsible for the ressources. kind regards, Niclas ZongoZongo wrote: Ok, now its getting really strange! I built a new basic application only with the files ein I need to display the tabbed form (header and

Forcing reload of XSL files

2007-01-09 Thread Mikael Olenfalk
Hi everybody! I just created a getting-started-webapp and getting-started-block and have the following pipeline in my block: map:match pattern=test1 map:generate src=demo.xml/ map:transform src=demo.xsl/ map:serialize / /map:match The I run the following

Formtdefinition and -template from a org.w3c.dom.Document stream

2007-01-09 Thread ZongoZongo
Hi Inside the flow I get the formtemplate and the formdefinition from a javamethod as an org.w3c.dom.Document stream. How can I use this streams to: - generate the form - call the formtemplate I hope this is possible. kind regards, Niclas -- View this message in context:

how to catch and throw exceptions in cocoon2.1.10 (javascript)

2007-01-09 Thread Robby Pelssers, AGP
Hi, I'm facing a problem that my old javascript file no longer works properly with constructions like instanceof, getClass(), throw. Can someone point me out how to do this? try { } catch (ex) { if (ex instanceof Packages...) { //Do something 1 } else if

Re: Aggregate fields

2007-01-09 Thread Peter Flynn
Mark Lundquist wrote: On Jan 8, 2007, at 5:44 AM, Peter Flynn wrote: [..snip] it understandably complains that there is no widget organiser. What have I misunderstood? Do this: ft:aggregate-widget id=organiser ft:widget id=forename/ ft:widget id=surname/ /ft:aggregate-widget

Pb on depedencies in cocoon2.2 with maven

2007-01-09 Thread Sébastien Geindre
Hello everybody, I've tried the tutorial /Your first Cocoon application using Maven 2 /http://cocoon.zones.apache.org/daisy/cdocs/g2/g1/g2/1159.html The web application does not well package. It seems that several dependencies are wrong. Did anybody succeed with this tutorial ? DO i have to

Re: Forcing reload of XSL files

2007-01-09 Thread Grzegorz Kossakowski
Mikael Olenfalk napisał(a): Now I want to change demo.xsl slightly and see the results without having to restart jetty. Is this possible? Yes, with reloading classloader plugin[1] [1] http://cocoon.zones.apache.org/daisy/cdocs/g1/g4/g1/1297.html -- Grzegorz Kossakowski

Re: Pb on depedencies in cocoon2.2 with maven

2007-01-09 Thread Grzegorz Kossakowski
Sébastien Geindre napisał(a): Hello everybody, I've tried the tutorial /Your first Cocoon application using Maven 2 /http://cocoon.zones.apache.org/daisy/cdocs/g2/g1/g2/1159.html The web application does not well package. It seems that several dependencies are wrong. Did anybody succeed

Authentication puzzle

2007-01-09 Thread Peter Flynn
I am trying to get simple authentication to work for a single document, using local files for the authentication step, but I can't get it to return an authentication success. The following works fine when run using Saxon from the commandline, with userid=peter and password=GHYTFVN.map4h (ie it

Re: unparsed-entity-uri()

2007-01-09 Thread Steven D. Majewski
On Jan 5, 2007, at 11:38 AM, Peter Flynn wrote: 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. I don't know but this is also a big

Re: Authentication puzzle

2007-01-09 Thread Steven D. Majewski
On Jan 9, 2007, at 11:57 AM, Peter Flynn wrote: I am trying to get simple authentication to work for a single document, using local files for the authentication step, but I can't get it to return an authentication success. The following works fine when run using Saxon from the

Re: Forcing reload of XSL files

2007-01-09 Thread Mikael Olenfalk
I had already enabled cocoon-rcl in my config. Do I need to run any maven command after editing the XSL files? /Mikael On 1/9/07, Grzegorz Kossakowski [EMAIL PROTECTED] wrote: Mikael Olenfalk napisał(a): Now I want to change demo.xsl slightly and see the results without having to restart

namespace removed from xml

2007-01-09 Thread Roel Croonenberghs
Hello, I use SAXParser parser(org.apache.excalibur.xml.sax.SAXParser) parser.parse(input, webServiceHandler); to treat the info I got from webservices in xml format. I receive somethig like ?xml version=1.0 encoding=UTF-8?Envelope

Re: Formtdefinition and -template from a org.w3c.dom.Document stream

2007-01-09 Thread Jason Johnston
ZongoZongo wrote: Hi Inside the flow I get the formtemplate and the formdefinition from a javamethod as an org.w3c.dom.Document stream. How can I use this streams to: - generate the form I believe you can pass a DOM element to the Form flowscript constructor: var form = new

Re: how to catch and throw exceptions in cocoon2.1.10 (javascript)

2007-01-09 Thread Jason Johnston
Robby Pelssers, AGP wrote: Hi, I'm facing a problem that my old javascript file no longer works properly with constructions like instanceof, getClass(), throw. Can someone point me out how to do this? try { } catch (ex) { if (ex instanceof Packages...) { //Do

Cforms: set output value with i18n

2007-01-09 Thread Ady Person
Hi, is there a way, how to set a value of output widget with i18n message? Something like widget.setValue(new I18NMessage(key, catalogue)) ? Thanks Ady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,