Re: BUILD FAILED: Could not create task... : if

2005-08-28 Thread AD Marshall
Please pardon me, folks, i can't access the Net everyday. But i want to thank you all for your gracious help. I'm in the process of upgrading to JDK 5.0, Tomcat 5.5.9 and then Cocoon 2.1.7... cheers, andi On 8/23/05, Joerg Heinicke [EMAIL PROTECTED] wrote: On 22.08.2005 22:42, Martin

send/receive java object with ajax

2005-08-28 Thread Nicolas Maisonneuve
Hi, I would like : 1- in the flowscript retrieve a simple POJO object and serialize it in xml dom: obj { id=1 name=1; ob2= { coco=cocd; }; obj3={ coco2=azez; }; } obj id= name= obj2 coco= foo=/ obj3 coc2= foo=/ /obj 2- send the answer to the browser client (AJAX)

NPE with xmldb, resource i18n

2005-08-28 Thread Aurélien DEHAY
Hello. Here is my pipeline: map:match pattern=cforms/proceed map:generate type=jx src=populate.xml/ map:transform type=xmldb/ map:call resource=xhtml-output/ /map:match The xhtml-output resource: map:resource

[CForms] debug binding

2005-08-28 Thread Thorsten Mauch
I'm despairing. Since hourse I seek a bug in my binding. I enable debug more for logging, but i still not see waht happend. No Error Messsage apear. Ist it possible to turn on a debug mode CForms ? At least i want to see if the xpath expressions are correct processed. Also it would help if a

Missing classes building 2.1.7

2005-08-28 Thread Peter Flynn
I downloaded 2.1.7 on a fresh installation of FC4 with the Tomcat 5.0 RPM and Sun's JDK 1.5.0_04. When I tried ./build.sh it went through the motions, but came up with two errors: java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XslpLiaison

HttpUtils.getRequestURL

2005-08-28 Thread galpix
Hi, I'm trying to call this from an XSP logicsheet : StringBuffer URL = HttpUtils.getRequestURL(request); ... but I get this error : / start error (lines 195-195) The method getRequestURL(HttpServletRequest) in the type HttpUtils is not applicable for the arguments (Request)

Re: Missing classes building 2.1.7

2005-08-28 Thread Joerg Heinicke
On 28.08.2005 21:54, Peter Flynn wrote: I downloaded 2.1.7 on a fresh installation of FC4 with the Tomcat 5.0 RPM and Sun's JDK 1.5.0_04. When I tried ./build.sh it went through the motions, but came up with two errors: java.lang.ClassNotFoundException:

Re: Pass a parameter from generator/transformer to the sitemap

2005-08-28 Thread Irv Salisbury
I think the other problem you are going to have in getting a solution to this is that the parameters, actions, etc are all evaluated before your sitemap is actually processed. So, I can't think of a way to accomplish exactly what you are looking for. On 8/27/05, Eric Boisvert [EMAIL PROTECTED]

Re: Missing classes building 2.1.7

2005-08-28 Thread Peter Flynn
Joerg Heinicke wrote: On 28.08.2005 21:54, Peter Flynn wrote: Where can I get the missing classes? Ant 1.6.2 is preinstalled on FC4 That's the problem. I thought it might be. The ghost of Red Hat strikes again... but build.sh clearly disables it in order to use its own copy,

Re: Missing classes building 2.1.7

2005-08-28 Thread Joerg Heinicke
On 28.08.2005 23:55, Peter Flynn wrote: Aha. Grrr. Thank you...OK, soft links to their binaries removed, and I updated the Wiki page at http://wiki.apache.org/cocoon/Installing to reflect the changes for FC4. Thanks. I wasn't seeing the Could not create task or type of type: if. error so I

Re: Missing classes building 2.1.7

2005-08-28 Thread Peter Flynn
Joerg Heinicke wrote: package net.php does not exist public class PhpServlet extends net.php.servlet implements Runnable { Also strange. Cocoon comes with mock objects for the case you have not put a php jar into your setup. Normally this works fine. For the case you don't need the php

Re: New Xml files with CForm bindings

2005-08-28 Thread Victoria Vitaver
Max Pfingsthorn wrote: Hi! Well, your result xml has to be well-formed, so I guess it makes up a root element by itself. Try saying path=/Package in the root context instead of path=/ and drop the extra context inside. fb:context xmlns:fb=http://apache.org/cocoon/forms/1.0#binding;