Re: Tutorial improvement suggestion

2008-06-18 Thread David Legg
Thanks for taking care of creating of this file. However, if we are going to upload it to our site we need an explicit sign of contribution for legal reasons. Therefore I would like to ask you to create a JIRA issue and attach your file to it. Then we can proceed. No problem. I have created

Re: Cocoon 2.2 and JPA

2008-06-18 Thread Grzegorz Kossakowski
Miles Elam pisze: On Jun 18, 2008, at 12:22 PM, Grzegorz Kossakowski wrote: Actually, amongst the other reasons we have integrated Spring into Cocoon in order to have solutions to many common problems in place. In this case, it's more like a question how to integrate a JPA with Spring not a C

Re: Cocoon 2.2 and JPA

2008-06-18 Thread Miles Elam
On Jun 18, 2008, at 12:22 PM, Grzegorz Kossakowski wrote: Actually, amongst the other reasons we have integrated Spring into Cocoon in order to have solutions to many common problems in place. In this case, it's more like a question how to integrate a JPA with Spring not a Cocoon as it live

cocoon 2.2 app with cforms in dev mode problems

2008-06-18 Thread rossputin
Hi guys, I have a block which uses cforms, cocoon 2.2 final release versions. It is set up in development mode on my dev machine. When I access the form pages without clearing the cache, I get an error which is resolved when I refresh the page in the browser. If I clear the cache before workin

Re: Cocoon 2.2 and JPA

2008-06-18 Thread Thomas Soddemann
Hi Miles, if I were you, I'd favor a data transfer object/data access object approach in order to more clearly decouple the persistence implementation from the presentation layer. This also gives you the benefit that you can completely independent of each other test each layer. Cheers, Thoma

Re: Cocoon 2.2 and JPA

2008-06-18 Thread Grzegorz Kossakowski
Miles Elam pisze: Hi Cocooners, Hi Miles, Has anyone got a simple step-by-step for setting up Cocoon for use with EJB3 persistence? With Maven2, the new block architecture, and Spring, I'm at a loss as to where to go. I could of course just hack around, but I'm betting that someone out th

Re: Properties and Cocoon Spring Configurator

2008-06-18 Thread Grzegorz Kossakowski
Dominic Tootell pisze: Hi guys, Hi Dominic, Has anyone else encountered this problem, where you cannot specify a directory as the setting for the system property org.apache.cocoon.settings? According to the docs: _http://cocoon.apache.org/subprojects/configuration/1.0/spring-configurator/

Re: Tutorial improvement suggestion

2008-06-18 Thread Grzegorz Kossakowski
David Legg pisze: Grek, The only missing thing is the actual archetype catalog XML file. David, would you like to prepare own? I'm not sure how archetype plug-in supports this file generation but even if support is bad you could always prepare the catalog by hand (fortunately enough, the list

Cocoon 2.2 and JPA

2008-06-18 Thread Miles Elam
Hi Cocooners, Has anyone got a simple step-by-step for setting up Cocoon for use with EJB3 persistence? With Maven2, the new block architecture, and Spring, I'm at a loss as to where to go. I could of course just hack around, but I'm betting that someone out there has a clean and elegant

Properties and Cocoon Spring Configurator

2008-06-18 Thread Dominic Tootell
Hi guys, Has anyone else encountered this problem, where you cannot specify a directory as the setting for the system property org.apache.cocoon.settings? According to the docs: http://cocoon.apache.org/subprojects/configuration/1.0/spring-configurat or/1.0/1310_1_1.html, point 8 states: *

Re: Tutorial improvement suggestion

2008-06-18 Thread David Legg
Grek, The only missing thing is the actual archetype catalog XML file. David, would you like to prepare own? I'm not sure how archetype plug-in supports this file generation but even if support is bad you could always prepare the catalog by hand (fortunately enough, the list is not long for u

Re: Update Database by DatabaseUpdateAction

2008-06-18 Thread Johannes Hoechstaedter
I did it. my problem was, to map the names of the request attributes and the table names properly. cheers Johannes Johannes Hoechstaedter schrieb: Hi everybody, I try an database update by request. As you maybe already can imagin: It doesn't work. The request url looks as follows: http:/