Re: Error building a form with CForms

2008-09-17 Thread yosauron
André Davignon wrote: Hi, I've tried to create a Forms following the steps detailed on the web page http://cocoon.apache.org/2.2/blocks/forms/1.0/478_1_1.html http://cocoon.apache.org/2.2/blocks/forms/1.0/478_1_1.html . I can't find what I made wrong, but I get this runtime error

Re: [2.2] Building samples

2008-09-17 Thread yosauron
Mark Lundquist-2 wrote: On Sep 16, 2008, at 8:49 AM, yosauron wrote: Why doesn't work a sample when I execute 'mvn jetty:run' from sample's directory (xe. from trunk directory: blocks/cocoon-ajax/cocoon-ajax-sample)?? Because the sample is just a block, it's not a webapp. Think of

RE: using OJB for multiple insert

2008-09-17 Thread Мария Григорьева
Hello, it doesn't work... It's strange, but depts are still null... Maybe I should change smth in bean: package org.apache.cocoon.ojb.mysamples; import java.io.Serializable; public class Dept implements Serializable { private int deptno; private String dname;

Re: Error building a form with CForms

2008-09-17 Thread David Legg
Hi Yosauron, It looks like you have several issues to fix. Your error report seems to show the javascript file was expected in two different places: - No pipeline matched request: resource/external/jx/manifest.js No pipeline matched request: resource/external/ft/manifest.js What URL did

how to debug cocoon-maven-plugin?

2008-09-17 Thread truebner
Hi, I've got a question regarding the cocoon-maven-plugin. I want to use this rapid development feature in a multi-module project. It usually worked in my project, but it stopped working since I made a major change. So my question is, how can I debug this feature? How can I determine what's

Re: Error building a form with CForms

2008-09-17 Thread yosauron
Hi David, David Legg wrote: Hi Yosauron, It looks like you have several issues to fix. Your error report seems to show the javascript file was expected in two different places: - No pipeline matched request: resource/external/jx/manifest.js No pipeline matched request:

RE: using OJB for multiple insert

2008-09-17 Thread Carlos Chávez
Hi. Please post the stacktrace. Cheers. Carlos Chávez. Мария Григорьева Escribio :-) Hello, it doesn't work... It's strange, but depts are still null... Maybe I should change smth in bean: package org.apache.cocoon.ojb.mysamples; import java.io.Serializable; public class Dept

RE: using OJB for multiple insert

2008-09-17 Thread Мария Григорьева
Here is the stacktrace! java.lang.NullPointerException at org.apache.cocoon.mysamples.flow.java.MyPersist.doInsertTest(MyPersist.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

RE: using OJB for multiple insert

2008-09-17 Thread Carlos Chávez
Hi. What is in the MyPersist.java:80, line 80? Cheers. Carlos Chávez. Мария Григорьева Escribio :-) Here is the stacktrace! java.lang.NullPointerException at org.apache.cocoon.mysamples.flow.java.MyPersist.doInsertTest(MyPersist.java:80) at

RE: using OJB for multiple insert

2008-09-17 Thread Мария Григорьева
public class MyPersist extends AbstractContinuable { private transient PersistenceBroker broker; public MyPersist() { this.broker = PersistenceBrokerFactory.defaultPersistenceBroker(); } public void doExecuteTest() { //int ITER_COUNT = 100 *

Re: using OJB for multiple insert

2008-09-17 Thread Jeroen Reijn
Hi, I guess he means the exact line out of this snippet of code, so we can pinpoint the problem. Regards, Jeroen Мария Григорьева wrote: public class MyPersist extends AbstractContinuable { private transient PersistenceBroker broker; public MyPersist() {

Re: using OJB for multiple insert

2008-09-17 Thread Carlos Chávez
Jeroen Reijn Escribio :-) Hi, I guess he means the exact line out of this snippet of code, so we can pinpoint the problem. Exaclty Cheers. Carlos Chávez. Regards, Jeroen Мария Григорьева wrote: public class MyPersist extends AbstractContinuable { private transient

RE: using OJB for multiple insert

2008-09-17 Thread Мария Григорьева
Sorry ))) Where can I find this code???... I forgot ))) -Original Message- From: Carlos Chávez [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 5:27 PM To: users@cocoon.apache.org Subject: Re: using OJB for multiple insert Jeroen Reijn Escribio :-) Hi, I guess he means

Re: using OJB for multiple insert

2008-09-17 Thread Jeroen Reijn
Hi, which line of the doInsertTest() method is line 80? Gr. Jeroen Мария Григорьева wrote: Sorry ))) Where can I find this code???... I forgot ))) -Original Message- From: Carlos Chávez [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 5:27 PM To:

Jasper Reports and Cocoon?

2008-09-17 Thread Derek Hohls
Hi Is anyone using these together - found one very old message: http://archives.devshed.com/forums/apache-92/jasperreports-jfreereports-1347966.html but was wondering if there are any current efforts? Thanks Derek -- This message is subject to the CSIR's copyright terms and conditions,

Re: Error building a form with CForms

2008-09-17 Thread yosauron
Hi Robin, Robin Wyles wrote: Hi, Check the HTML source of the page generated by your CForm. I'm pretty sure you'll see that there are still elements with the ft and jx namespace prefix that have not been processed by your forms XSL. Exactly, on the HTML generated are still alive

RE: Database connection by cocoon 2.2

2008-09-17 Thread yosauron
Hi Dom, I have followed these steps but I get the following error when I request the url from the web browser: javax.servlet.ServletException: org.apache.cocoon.ProcessingException: Failed to process pipeline at map:serialize type=xml -

Re: [2.2] Building samples

2008-09-17 Thread Mark Lundquist
On Sep 17, 2008, at 12:57 AM, yosauron wrote: Mark Lundquist-2 wrote: On Sep 16, 2008, at 8:49 AM, yosauron wrote: Why doesn't work a sample when I execute 'mvn jetty:run' from sample's directory (xe. from trunk directory: blocks/cocoon-ajax/cocoon-ajax-sample)?? Because the sample