Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource NullPointerException

2008-08-26 Thread Mohamad, HKB (Hammad)
Hi I have tried to run my application with 1. Cocoon 2.0.4 2. Tomcat 5.x 3. Jdk 1.5 4. Oracle 10.g (even I used Cocoon with Tomcat 5.x, 6.x and jdk 1.4 but no use same error) All the time I am getting an error message as: Exception in ServerPagesGenerator.generate():

Cocoon 2.1.11 and XSLTC

2008-08-26 Thread Laurent Medioni
Hi, is it reasonable to set the default xslt processor to XSLTC in cocoon.xconf ? It seams to provoke some weird side effects in my case... Would it be a common change of the standard configuration ? (or is this why the standard xconf does not propose it ;)) Thanks.

Re: Where is cocoon going ?

2008-08-26 Thread Ken Starks
Mark Lundquist wrote: On Aug 24, 2008, at 1:34 PM, Nick Baumberger wrote: Dear Cocoon-ers, Can somebody tell me where cocoon is heading after release 2.2 ? I did not follow the mailing list for around a year, being back now I am shocked by the recent announcement regarding cocoon 3 which

Re: Where is cocoon going ?

2008-08-26 Thread Bertrand Delacretaz
On Tue, Aug 26, 2008 at 11:29 AM, Ken Starks [EMAIL PROTECTED] wrote: ...Aren't these objectives part of Cocoon 22 also ? I though part of the rationale for blocks was that they are--beyond a small core-- optional and modular, you don't have to have any you don't need. So building a

POST parameter in Sitemap

2008-08-26 Thread JLe
Hi Guys, I have a form in HTML: == html head ... /head body ... form method=GET action=matchme/edit name=GroupOfParts input value=anything1

Re: POST parameter in Sitemap

2008-08-26 Thread Jeroen Reijn
Hi JLEO, the 'request-attr' component is an input module. See [1] for more information. You should be able to read POST request attributes with it as well. What doesn't work? [1]http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/RequestAttributeModule.html

Re: Where is cocoon going ?

2008-08-26 Thread Reinhard Pötz
Mark Lundquist wrote: On Aug 24, 2008, at 1:34 PM, Nick Baumberger wrote: Dear Cocoon-ers, Can somebody tell me where cocoon is heading after release 2.2 ? I did not follow the mailing list for around a year, being back now I am shocked by the recent announcement regarding cocoon 3 which

how can i force a serialiser to generate a /close-tag even if the body is empty ?

2008-08-26 Thread hussayn
Hi; i am experimenting with dojo and i got an expression like this inside my sourcefile: script type=text/javascript src=servlet:dojo:/resource/external/dojo/dojo/dojo.js djConfig=parseOnLoad:true, isDebug:true/script After serialising to xhtml, the output contains:

Re: embedded xindice

2008-08-26 Thread warrell harries
Hi, From the distribution have a look at http://localhost:/samples/blocks/xmldb/welcome There is enough there to get you started. As this is (I believe) the eXist codebase you could check out that project site http://exist.sourceforge.net/ Cheers, Warrell 2008/8/26 takpoli [EMAIL

Re: POST parameter in Sitemap

2008-08-26 Thread Martin Heiden
Hi! JLe schrieb: === map:match pattern=matchme/edit map:parameter name=GroupOfParts value={request-attr:GroupOfParts}/ map:call function=edit/ /map:match

Re: POST parameter in Sitemap

2008-08-26 Thread Jeroen Reijn
Martin, thanks! For noticing the params vs attrs :-) See [1] for the input module that can read this. Regards, Jeroen [1]http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/RequestParameterModule.html Martin Heiden wrote: Hi! JLe schrieb:

Re: POST parameter in Sitemap

2008-08-26 Thread JLe
Do I have to make the request-attr input module know to cocoon in the sitemap or so? The GroupOfParts parameter is alwas null. Jeroen Reijn-3 wrote: Hi JLEO, the 'request-attr' component is an input module. See [1] for more information. You should be able to read POST request

Re: Where is cocoon going ?

2008-08-26 Thread Ken Starks
Bertrand Delacretaz wrote: On Tue, Aug 26, 2008 at 11:29 AM, Ken Starks [EMAIL PROTECTED] wrote: ...Aren't these objectives part of Cocoon 22 also ? I though part of the rationale for blocks was that they are--beyond a small core-- optional and modular, you don't have to have any you don't

Re: POST parameter in Sitemap

2008-08-26 Thread JLe
alright, got it! I do now not read in the POST parameter in the sitemap, I read it in the flowscript that i load, in the function edit The code for loading the parameter is: var PartEdit =

Order of Processing inside CForms

2008-08-26 Thread [EMAIL PROTECTED]
Hi, I just ran into a small problem here. Even if I was able to create a workaround, I would suggest a fix. I created my CForm/JavaFlow application to work stateless, without continuations. It is here where I ran into a problem when using unions. It seems the “process” method doesn’t deal

Re: web.xml overrided on every mvn jetty:run

2008-08-26 Thread Grzegorz Kossakowski
Erasmo pisze: I have created a Cocoon 2.2 project following the steps provided by Your first cocoon application using Maven 2 i need to add a db driver so i edit the target/rcl/webapp/WEB-INF/web.xml but everytime i ran the app it gets override. How can i prevent this? Hi Erasmo, You should

Re: embedded xindice

2008-08-26 Thread Tak-po Li
Thanks, Warrell. I followed your link, and got: HTTP ERROR: 404 No block for /samples/blocks/xmldb/welcome RequestURI=/samples/blocks/xmldb/welcome *Powered by Jetty:// http://jetty.mortbay.org/* It seems I got the wrong distribution. What I am playing with is the getting-started tutorial

Cocoon 3.0 skeleton project

2008-08-26 Thread Erasmo
There's a way to create an empty cocoon 3.0 project? I'm pretty new with cocoon i have tried 2.2 using the empty webapp project in the cocoon svn and i was wondering if there's something similar in 3.0 i tried the samples but the projects include a lot of things and sub projects and i can't figure

Re: Where is cocoon going ?

2008-08-26 Thread Mark Lundquist
On Aug 26, 2008, at 5:31 AM, Ken Starks wrote: And if so, in spite of the general consensus that 2.2 is the way forward, should I just stick to the 2.1.11 (which satisfies my current needs) until Corona catches up. ? Hi Ken, I would say that there are only two reasons to ever upgrade.

Re: Where is cocoon going ?

2008-08-26 Thread Vadim Gritsenko
On Aug 25, 2008, at 6:34 PM, Mark Lundquist wrote: So basically: the long and short of it is, there is this thing called Cocoon 3.0 and it's called that because the Cocoon developers weren't clever enough to think of a good name! :-) I love it :) Great write up, Mark, and everything is

Re: embedded xindice

2008-08-26 Thread Vadim Gritsenko
On Aug 26, 2008, at 6:43 AM, warrell harries wrote: From the distribution have a look at http://localhost:/samples/blocks/xmldb/welcome There is enough there to get you started. As this is (I believe) Apache Xindice lives here - http://xml.apache.org/xindice/ It is not related in

Re: embedded xindice

2008-08-26 Thread Tak-po Li
Hi Vadim, What I meant was the Xindice come with Cocoon. Tak On 8/26/08, Vadim Gritsenko [EMAIL PROTECTED] wrote: On Aug 26, 2008, at 6:43 AM, warrell harries wrote: From the distribution have a look at http://localhost:/samples/blocks/xmldb/welcome There is enough there to get

Re: embedded xindice

2008-08-26 Thread warrell harries
Woops, my apologies, Vadim. Is this the code in Cocoon? I was referring to the 2.1x distribution - I guess it hasn't made it to 2.2 yet

Re: Cocoon 3.0 skeleton project

2008-08-26 Thread Martin Heiden
Hi! Erasmo schrieb: There's a way to create an empty cocoon 3.0 project? I'm pretty new with cocoon i have tried 2.2 using the empty webapp project in the cocoon svn and i was wondering if there's something similar in 3.0 i tried the samples but the projects include a lot of things and sub

Re: embedded xindice

2008-08-26 Thread Vadim Gritsenko
On Aug 26, 2008, at 2:44 PM, Tak-po Li wrote: What I meant was the Xindice come with Cocoon. Cocoon 2.1 can be built with XML:DB block which includes Xindice. Online examples are available here: http://cocoon.zones.apache.org/demos/21branch/samples/blocks/xmldb/welcome Once you build