Re: Error reading archetype catalog http://cocoon.apache.org

2008-09-03 Thread Raphaël Piéroni
Hi, Maybe it's the proxy that is not used when retrieving the cocoon catalog. Can you please raise a JIRA with full explaination agains the archetype plugin. http://jira.codehaus.org/browse/ARCHETYPE If any one has a way to create a testing environment on my laptop to fake the usage of a proxy wh

Re: Unable to create a Cocoon app with Maven archetype: [WARNING] No archetype repository found.

2008-02-18 Thread Raphaël Piéroni
Hi, If anyone on the cocoon dev team wants to maintain this page: http://docs.codehaus.org/display/MAVENUSER/Archetypes+List I have added the 3 cocoon archetype on it. Regards, Raphaël 2008/2/12, Luca Morandini <[EMAIL PROTECTED]>: > Raphaël Piéroni wrote: > > > > It is a s

Re: Unable to create a Cocoon app with Maven archetype: [WARNING] No archetype repository found.

2008-02-11 Thread Raphaël Piéroni
Hi, It is a side effect of the 2.0-alpha-1 release of the archetype plugin. As a current workaround you can use: mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ... Please raise a JIRA (http://jira.codehaus.org/browse/ARCHETYPE) don't forget to specify 2.0-alpha-1 in "affe

[Cocoon 2.2] Cforms default styling for textareas

2007-11-30 Thread Raphaël Piéroni
Hi Guys, in the default ps-cforms-defaut.xsl that i copied in my project ther is some bug for displaying a texte area. Here is the extract of my xsl for enabling textareas :

Re: [Cocoon 2.2] Dynamically redirecting to another block pipeline

2007-11-22 Thread Raphaël Piéroni
Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Hello Raphaël Hi Grzegorz, Could you explain how the concrete block is chosen? What has an effect on making choice? Yup, an http request

Re: [Cocoon 2.2] Dynamically redirecting to another block pipeline

2007-11-21 Thread Raphaël Piéroni
Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Hello, Hello Raphaël Hi Grzegorz, I would like to redirect from a block to another block. But this redirection is a little special because: - the name of the block is dynamically found Could you explain how the

[Cocoon 2.2] Dynamically redirecting to another block pipeline

2007-11-21 Thread Raphaël Piéroni
Hello, I would like to redirect from a block to another block. But this redirection is a little special because: - the name of the block is dynamically found - the name of the pipeline in the called block is always the same - it is possible that the block to be called is created long after the c

[Cocoon-2.2-RC2 + flowscript-1.0-RC2] weird behaviour (Windows OK / Linux Exception)

2007-11-19 Thread Raphaël Piéroni
Hi Guys, I have found a workaround : First i moved all my scripts but admin.js from /COB-INF/flow to /META-INF (i think could have moved them elsewhere) And also at the end of the admin.js i wrote a reference to each of my ecmascript file. Raphaël Raphaël Piéroni a écrit : Hi Guys, I

[Cocoon-2.2-RC2 + flowscript-1.0-RC2] weird behaviour (Windows OK / Linux Exception)

2007-11-19 Thread Raphaël Piéroni
Hi Guys, I got a really weird behaviour in my flowscripts. When running on windows, everything is fine. But when i run on linux, i got an ecmascript exception. Both on windows or linux i use a Jrockit.5.0 JVM, and a JONAS.4.8.4 application server. I use the same ear built on windows in both cas

Re: webapp maven error

2007-11-16 Thread Raphaël Piéroni
Hi I attached the result. I also changed the pom content. First to have the dependency to articleBlock. And also to make the webapp module links to the parent pom. I am also behind a firewall. Hope this helps. Raphaël PS: if not yet tried you can call mvn with -U or -cpu options PPS can't sen

Re: webapp maven error

2007-11-15 Thread Raphaël Piéroni
Can you please send a copy of your pom. Raphaël tomasz a écrit : Hello I tried to prepare application from Cocoon site (http://cocoon.apache.org/2.2/1362_1_1.html) but there are an error after 'mvn -e package' command ( please, see below) I also tried with a clean maven repository. I cann

Re: Wiki date accuracy

2007-11-15 Thread Raphaël Piéroni
on of cocoon 2.2 online at the cocoon homepage. http://cocoon.apache.org/2.2/ Thanks i knew that page too ;-) What i am currently looking for is the 2.2 documentation bundled in a zip or in pdf (pdf would be better) Regards, Raphaël Regards, Jeroen Reijn Raphaël Piéroni wrote: Hi guys, I

Wiki date accuracy

2007-11-15 Thread Raphaël Piéroni
Hi guys, I am a bit confused by the dates shown on the wiki. For example this page date is on 2005 : http://wiki.apache.org/cocoon/22NewDocuments Is this correct or do some machine have 2 years gap ? - To unsubscribe, e-mail:

Re: [Cocoon 2.2 + Cforms] Validation a field using the Databas e

2007-11-08 Thread Raphaël Piéroni
My fault i use a internal boolean to check, but used the inversed condition before adding the error. It is working now. Raphaël Raphaël Piéroni a écrit : Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Thanks for the answer. Is this functionnality avaliable in 1.0.0-RC1 ? It seems

Re: [Cocoon 2.2 + Cforms] Validation a field using the Databas e

2007-11-08 Thread Raphaël Piéroni
Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Thanks for the answer. Is this functionnality avaliable in 1.0.0-RC1 ? It seems not. When that new version wil be released ? As I pointed out, Spring-based Forms will be released as 1.1.0. I don't know wha

Re: [Cocoon 2.2 + Cforms] Validation a field using the Databas e

2007-11-08 Thread Raphaël Piéroni
Thanks for the answer. Is this functionnality avaliable in 1.0.0-RC1 ? It seems not. When that new version wil be released ? Raphaël Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Hi, I have fixed my issue by modifying the widget value from the flowscript (in a catch

Re: [Cocoon 2.2 + Cforms] Validation a field using the Databas e

2007-11-07 Thread Raphaël Piéroni
nameWidget = form.lookupWidget('name'); nameWidget.setValue(''); // the widget is correclty reseted on the output nameWidget.setValidationError(error); } } cocoon.showPage(...); ... But i don't manage to have my error message displayed. Any help is welcome. Regards

[Cocoon 2.2 + Cforms] Validation a field using the Database

2007-11-07 Thread Raphaël Piéroni
Hi guys, I have a cform which works well. The flowscript (ECMA) that handles the cform delegates to a spring bean to create an object in database. But when that objet already exist it throws an exception. I had managed to catch the exception in the flow script. But i would like to know if (and h

Re: [Cocoon 2.2 + Forms + Binding] a workable example.

2007-10-23 Thread Raphaël Piéroni
The trick was written in the doco ! i needed to add uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml" /> in my form template file Raphaël Raphaël Piéroni a écrit : Joerg Heinicke a écrit : On 10/18/07 10:39 AM, Raphaël Piéroni wrote: I still can't find a

Re: [Cocoon 2.2 + Forms + Binding] a workable example.

2007-10-19 Thread Raphaël Piéroni
Joerg Heinicke a écrit : On 10/18/07 10:39 AM, Raphaël Piéroni wrote: I still can't find a simple example on binding with forms. What about the samples that come with Cocoon? Joerg - To unsubscribe, e-mail: [

[Cocoon 2.2 + Forms + Binding] a workable example.

2007-10-18 Thread Raphaël Piéroni
Hi guys, I still can't find a simple example on binding with forms. Here is my use case : i display a list of elements (taken from the database) with a link per item. (this is working correctly) when i follow one of the edit link, i got no value in the resulting html page. (it seems to me that

Re: [cocoon2.2] Exception when starting from JonAS484 or Tomcat5523

2007-10-16 Thread Raphaël Piéroni
. Raphaël Raphaël Piéroni a écrit : Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Hi, my problem was the spring AOP... It seems to be solved for now. Raphaël, few words on how you solved it wouldn't hurt but only increase collaborative wisdom. alas, my problem wa

[Cocoon 2.2 + Forms] CRUD + List aplication

2007-10-15 Thread Raphaël Piéroni
Hi, I digged the svn repository for some example of a simple CRUD application , but without any success. Is there a simple example of crud i can read for something similar ? Regards, Raphaël - To unsubscribe, e-mail: [EMAI

Re: [C2.2] no named block

2007-10-04 Thread Raphaël Piéroni
cocoon 2.2 rc1 Raphaël Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Hi guys, I have a cocoon war that defines contains my block in a jar. I tried to have a no name block in the jar like this : class="org.apache.cocoon.sitemap.SitemapServlet"> context-path=

[C2.2] no named block

2007-10-04 Thread Raphaël Piéroni
Hi guys, I have a cocoon war that defines contains my block in a jar. I tried to have a no name block in the jar like this : class="org.apache.cocoon.sitemap.SitemapServlet"> context-path="blockcontext:/xxx/" /> Having yyy=empty. but that didn't work. What is the way to remove th

Re: recommended way to keep local config modifications separate from Cocoon distributions

2007-09-26 Thread Raphaël Piéroni
Grzegorz Kossakowski a écrit : Lars Huttar pisze: I appreciate the recommendation. I will be interested to look into Cocoon 2.2. However, production applications for our organization are running on Cocoon. Can I justify the risk of using an alpha version of Cocoon for production apps?

Passing ApplicationServer system properties to the cocoon log4jconfigurator

2007-09-21 Thread Raphaël Piéroni
Hi guys, Using the org.apache.cocoon.spring.configurator.log4j.Log4JConfigurator I need to pass the ${jonas.base}system properties inside the log4j.xml But i can't find a way to change content the settings to insert that property from inside my spring configuration, Do anyone has a clue on th

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-14 Thread Raphaël Piéroni
Hi, Many thanks, that did the trick. Raphaël Jason Johnston a écrit : On Thu, 13 Sep 2007 17:56:27 +0200, Raphaël Piéroni <[EMAIL PROTECTED]> wrote: Thanks, I tried, but it doesn't work. Here what i did exactly: ... export defines it's spring stuff in src/mai

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-13 Thread Raphaël Piéroni
org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.getTypeForStatement(SitemapLanguage.java:558) I can recognise cocoon has correctly found my sitemap in the COB-INF in the jar in the webapp, but it seems not to found the spring component What did i do wrong ? Regards Raphaël G

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-12 Thread Raphaël Piéroni
Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: And this transformer have to access the database (DAO w/ transaction) that is defined with spring. But i can't manage to link the 2 information. Is this transformer a Spring bean? Do you want to inject Spring

Re: [cocoon2.2] Exception when starting from JonAS484 or Tomcat5523

2007-09-12 Thread Raphaël Piéroni
Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Hi, my problem was the spring AOP... It seems to be solved for now. Raphaël, few words on how you solved it wouldn't hurt but only increase collaborative wisdom. alas, my problem was not solved. The AOP around transacti

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-12 Thread Raphaël Piéroni
Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Hi Guys, I have a transformer defined in the sitemap.xmap. Is it your own transformer? Yep, IIRC, we also have some custom generators. And this transformer have to access the database (DAO w/ transaction) that is defined

[cocoon 2.2] Spring configuration of transformers

2007-09-11 Thread Raphaël Piéroni
Hi Guys, I have a transformer defined in the sitemap.xmap. And this transformer have to access the database (DAO w/ transaction) that is defined with spring. But i can't manage to link the 2 information. Is there any documentation or example? Regards, Raphaël Pi

Re: [cocoon2.2] Exception when starting from JonAS484 or Tomcat5523

2007-09-11 Thread Raphaël Piéroni
Hi, my problem was the spring AOP... It seems to be solved for now. Raphaël Raphaël Piéroni a écrit : Hi Guys, I got the folowing exception when deploying my cocoon webapp in tomcat or in jonas. I must admit having no clue to solve this problem, maybe my nabble and google search where not

[cocoon2.2] Exception when starting from JonAS484 or Tomcat5523

2007-09-10 Thread Raphaël Piéroni
Hi Guys, I got the folowing exception when deploying my cocoon webapp in tomcat or in jonas. I must admit having no clue to solve this problem, maybe my nabble and google search where not with the correct keywords. So here comes the exception. In advance, many thanks for any help Regards, Ra

Unit testing cocoon blocks in Maven2

2007-07-31 Thread Raphaël Piéroni
Hi, I would like to run Junit tests (or any testing framework inheriting from it) on my cocoon block using maven2 What i am about is to run the block in cargo/jetty and run some tests that uses httpclient. And i really don't know yet how to achieve this. Thanks in advance for any help Ra

Re: version 2.2 final

2007-07-22 Thread Raphaël Piéroni
Thanks for the answers Raphaël - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

version 2.2 final

2007-07-20 Thread Raphaël Piéroni
Hi, is cocoon 2.2 released ? I ask this question because i am a bit confused that the site http://cocoon.apache.org/ speak only of cocoon 2.1 the daisy site http://cocoon.zones.apache.org/daisy/ speaks of cocoon 2.2 and i just found the svn tag http://svn.apache.org/repos/asf/cocoon/tags/cocoo

From XML to database

2007-07-05 Thread Raphaël Piéroni
Hi, Is there an easy way to retrieve some objects from an XML pipeline and store the objects in an Oracle database using hibernate from cocoon? Some of my requirements is the hibernate java classes and hbm.xml files are generated from the database using some eclipse plugin. If there is some e

where is jakarta-bcel ?

2007-06-19 Thread Raphaël Piéroni
Hi, I created a block project with the cocoon archetype block. When i go in the project directory and call mvn package, i got a dependency failure : Path to dependency: 1) com.mycompany:myBlock1:jar:1.0-SNAPSHOT 2) org.apache.cocoon:cocoon-core:jar:2.2.0-M3 3) jakarta-bcel: