Re: Maven archetype for cocoon ??

2006-12-15 Thread Patrick Refondini
Hi Sébastien, Sébastien Geindre wrote: Hi all, Everything is in the subject !! In order to start a cocoon project, handle by maven and developped with eclipse, i'd like to use maven archetype metadata for cocoon. Did you ear about it ? The unreleased Cocoon 2.2 does offer this. At the

Re: Maven archetype for cocoon ??

2006-12-15 Thread Patrick Refondini
Sébastien Geindre wrote: Hi all, Everything is in the subject !! In order to start a cocoon project, handle by maven and developped with eclipse, i'd like to use maven archetype metadata for cocoon. Did you ear about it ? Just a line about posting back to the dev-list, just found the e-mail

Re: Problem with Java and Flowscript

2006-11-29 Thread Patrick Refondini
ZongoZongo wrote: Hi I have a Problem to import a javaclass in flowscript. The poblem doesnt arise with simple javaclasses. The code is tested and works in the eclipse enviroment. Ok, now the sourcecode: ## package de.doccollector.binding; import de.doccollector.*;

Cocoon 2.2 - recent change - how to run block for development

2006-11-23 Thread Patrick Refondini
Hi, Is there a new way to run blocks for development ? Currently I follow what's documented at: http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html Using Cocoon 2.2 for developping blocks I was accustomed to: mvn package mvn jetty6:run I recently (now ;) ) successfully rebuilt

Re: Cocoon 2.2.0-M2-SNAPSHOT Turning Mode Prod Off

2006-11-14 Thread Patrick Refondini
Hi Bertrand, Bertrand Delacretaz wrote: On 11/14/06, Patrick Refondini [EMAIL PROTECTED] wrote: ...I obtain the following log when running the block using mvn jetty6:run Apache Cocoon 2.2.0-M2-SNAPSHOT is running in mode: prod... IIUC this is is defined by the org.apache.cocoon.mode system

Cocoon 2.2.0-M2-SNAPSHOT Turning Mode Prod Off

2006-11-13 Thread Patrick Refondini
Hi, while developping a block I would like to have the old dev behaviour (sitemap reloading, ...) but I do not know where to set that piece of information. I obtain the following log when running the block using mvn jetty6:run Apache Cocoon 2.2.0-M2-SNAPSHOT is running in mode: prod Any

Re: content-type=text/xml output, how to configure

2006-11-10 Thread Patrick Refondini
name=html ... encodingUTF-8/encoding omit-xml-declarationno/omit-xml-declaration - Original Message - From: Patrick Refondini [EMAIL PROTECTED] To: users@cocoon.apache.org Sent: Thursday, November 09, 2006 3:41 PM Subject: Re: content-type=text/xml output, how to configure

Re: Running 2.2 Block and Avalon NoSuchMethodError

2006-11-09 Thread Patrick Refondini
Patrick Refondini wrote: Hi, while running my Cocoon 2.2 block ( mvn jett6:run ) I obtain the following exception: (...) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF

Re: content-type=text/xml output, how to configure

2006-11-09 Thread Patrick Refondini
Hi Hank, Hank Ratzesberger wrote: I am using the eXist database which is built on Cocoon. It has a REST interface that accepts XPath and XQuery request parameters. My problem is that the returned content-type is text/html, but I want to force it to be text/xml. Is there a bare minimum

Re: cocoon 3: first step

2006-11-09 Thread Patrick Refondini
Reinhard Poetz wrote: Olivier wrote: Hi all Where can I find more information on cocoon 3 / OSGi I've tried http://cocoon.zones.apache.org/daisy/cocoon3/g1/1153.html but all I can obtain is 404 error pages. Is somebody make this work ? For the time being, Cocoon 3 is on hold. As the

Re: cocoon 3: first step

2006-11-09 Thread Patrick Refondini
Patrick Refondini wrote: Reinhard Poetz wrote: Olivier wrote: Hi all Where can I find more information on cocoon 3 / OSGi I've tried http://cocoon.zones.apache.org/daisy/cocoon3/g1/1153.html but all I can obtain is 404 error pages. Is somebody make this work ? For the time being

Running 2.2 Block and Avalon NoSuchMethodError

2006-11-08 Thread Patrick Refondini
Hi, while running my Cocoon 2.2 block ( mvn jett6:run ) I obtain the following exception: (...) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested

Re: Running 2.2 Block and Avalon NoSuchMethodError

2006-11-08 Thread Patrick Refondini
Patrick Refondini wrote: Hi, while running my Cocoon 2.2 block ( mvn jett6:run ) I obtain the following exception: (...) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF

Re: Cocoon 2.2 template-samples , ajax-samples blocks

2006-10-27 Thread Patrick Refondini
Hi Felix, Felix Knecht wrote: Hi Patrick The easiest way (at last for the moment) is to have a look at the source code. e.g. for cocoon-forms there exists 2 folders - blocks/cocoon-forms/cocoon-forms-impl (/pom.xml) - blocks/cocoon-forms/cocoon-forms-sample (/pom.xml) I now have them on hand.

Cocoon 2.2 template-samples , ajax-samples blocks

2006-10-26 Thread Patrick Refondini
Hi, I am doing my first steps in a Cocoon 2.2 block using: dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-core/artifactId version2.2.0-M2-SNAPSHOT/version /dependency dependency groupIdorg.apache.cocoon/groupId

Re: Cocoon 2.2 - how to wire block into webapp

2006-10-25 Thread Patrick Refondini
Felix Knecht wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I run the test project which does include the demo block I cannot manage to have the same URL working. The webapp layout I observe in test project target/cocoon-webapp directory is: |-- WEB-INF | |--

Re: Mail not delivered, Lotus Notes

2006-10-25 Thread Patrick Refondini
Felix Knecht wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear all I get always a annoying reply to my personal mail adress when posting to the list from relianceinfo.com saying: *** from: [EMAIL PROTECTED] sender: [EMAIL PROTECTED] replyto: [EMAIL PROTECTED] Your mail was not

Re: Cocoon 2.2 - how to wire block into webapp

2006-10-24 Thread Patrick Refondini
Hi Felix, Felix Knecht wrote: HI Patrick Hi, I have created a webapp named test and a block named demo They've been created using the cocoon-22-archetype-webapp and cocoon-22-archetype-block Now I have introduce a dependency in test webapp on demo block: (...) dependencies (...)

Re: cocoon 2.1.9 and dojo 0.3.1

2006-10-24 Thread Patrick Refondini
Hi Mike, cocoon.erard wrote: Hello, I've seen cocoon is using dojo for the ajax components. Which Version of dojo is used in version 2.1.9 and is it possible to use the sortable table with cocoon? Following a previous post from this list titled: Dojo 0.3.1 and Cocoon 2.1.9 then: [SOLVED]

Re: Cocoon 2.2 - how to wire block into webapp

2006-10-24 Thread Patrick Refondini
Felix Knecht wrote: HI Patrick Hi, I have created a webapp named test and a block named demo They've been created using the cocoon-22-archetype-webapp and cocoon-22-archetype-block Now I have introduce a dependency in test webapp on demo block: (...) dependencies (...) dependency

Re: cocoon 2.1.9 and dojo 0.3.1

2006-10-24 Thread Patrick Refondini
Hi Mike, cocoon.erard wrote: Hello, I've seen cocoon is using dojo for the ajax components. Which Version of dojo is used in version 2.1.9 and is it possible to use the sortable table with cocoon? Sorry if this is a re-post but I never saw my former e-mail reaching the list ! If it is

Cocoon 2.2 - how to wire block into webapp

2006-10-23 Thread Patrick Refondini
Hi, I have created a webapp named test and a block named demo They've been created using the cocoon-22-archetype-webapp and cocoon-22-archetype-block Now I have introduce a dependency in test webapp on demo block: (...) dependencies (...) dependency groupIdch.smartgene/groupId

Re: cocoon 2.1.9 Sun ONE Web Server 6.1SP3

2006-10-17 Thread Patrick Refondini
Carlos Maté wrote: Hi, I need to install cocoon 2.1.9 into Sun ONE Web Server 6.1. But when I start de server I obtain: failure: CORE4007: Internal error: Unexpected Java exception thrown (java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2, org/xml/sax/ext/Attributes2), stack:

Unable to get resource from repository central for spring 2.0-xxx-rc2.pom

2006-10-06 Thread Patrick Refondini
Hi, Following: http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html I issued: mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-webapp -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=ch.extentis -DartifactId=publidoc Which went well,

Re: Unable to get resource from repository central for spring 2.0-xxx-rc2.pom

2006-10-06 Thread Patrick Refondini
Sorry for the noise, I solve my problem as explained hereafter: Patrick Refondini wrote: Hi, Following: http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html I issued: mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-webapp

Re: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-11 Thread Patrick Refondini
Reinhard Poetz wrote: On [EMAIL PROTECTED] we have started to dicuss whether we can make Java 5 becoming the minimum requirement for Cocoon 2.2. Note that this discussion is completly unrelated to Cocoon 2.1 which needs JDK 1.3. The arguments pro Java 5 which was officially releases almost

Getting Cocoon 2.2 using Maven

2006-07-06 Thread Patrick Refondini
Hello, following explanations at: http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html I executed the following command line (on one line): mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-SNAPSHOT

Re: Getting Cocoon 2.2 using Maven

2006-07-06 Thread Patrick Refondini
Salut Bertrand, Bertrand Delacretaz wrote: Salut Patrick, On 7/6/06, Patrick Refondini [EMAIL PROTECTED] wrote: ...Any advice, pointers to more docs welcome... The README.txt at the top of the trunk usually contains the most recent instructions, I have just added some info about Maven

Re: Getting Cocoon 2.2 using Maven

2006-07-06 Thread Patrick Refondini
Bertrand Delacretaz wrote: Salut Patrick, On 7/6/06, Patrick Refondini [EMAIL PROTECTED] wrote: ...Any advice, pointers to more docs welcome... The README.txt at the top of the trunk usually contains the most recent instructions, I have just added some info about Maven repository mirrors

Re: Cocoon and Spring

2006-06-01 Thread Patrick Refondini
Mike Casey wrote: Great thanks heaps for that Jason. Thats pretty much what I thought was the case with the MVCs. I am an XML processing fanatic, so I am heading Cocoon all the way:-) It is interesting to see that Cocoon and Spring are getting closer links. Lets hope it doesnt turn out like

Re: Cocoon and Spring

2006-06-01 Thread Patrick Refondini
of these products and will certainly not change my mind for the above. Patrick On 6/2/06, Patrick Refondini [EMAIL PROTECTED] wrote: Mike Casey wrote: Great thanks heaps for that Jason. Thats pretty much what I thought was the case with the MVCs. I am an XML processing fanatic, so I am

Re: CFORMS: Accept Multiple Date Formats

2006-05-31 Thread Patrick Refondini
Daniel Curran wrote: I have a date field in my form definition setup as: fd:field id=dscdate fd:datatype base=date fd:convertor type=formatting fd:patterns fd:patternMM-dd-/fd:pattern fd:patternMM/dd//fd:pattern /fd:patterns /fd:datatype /fd:field When a

Re: Cforms - repeater widget - extra whitespace

2006-05-18 Thread Patrick Refondini
Hi Peter, I have upgraded my project from Cocoon 2.1.8 to 2.1.9. It did not bring in any extra whitespace behaviour. The saveDocument() function from 2.1.9 samples could be responsible although I doubt. I use a modified version of it. Hereafter the code you may try to see if it makes any

Re: Cforms - repeater widget - extra whitespace

2006-05-16 Thread Patrick Refondini
Peter Sparkes wrote: Hi, I am using CForms to amend an xml file on the server. Every time the file is amended it gets a lot of extra whitespace, when it is saved using the flowscript, wherever there is a repeater widget. Please how can I stop this happening Peter Sparkes Hi Peter, I

Re: Two domain within cocoon

2006-04-12 Thread Patrick Refondini
Sergio del Amo Caballero wrote: Hi, I am running Cocoon as a tomcat web application. I am using Apache as a front end to all requests that come to my server. Then i configured the apache mod_jk2 module to forward certain URLs to Tomcat. Particulary to cocoon (webapps/cocoon). I have two

Re: CFORM: repeater with paging support

2006-04-07 Thread Patrick Refondini
werner wrote: Dear List, I'm looking for a solution to create a repeater with paging support. The repeater is usually connected to some database via OJB or Hibernate. I think that this is a common problem, so I hope that somebody out there has already done this before ;-) In short the

Re: CFORM: repeater with paging support

2006-04-07 Thread Patrick Refondini
opportunitiy to benefit from many services together with a good design, persistence layer being amoung them. Patrick Simone Patrick Refondini wrote: werner wrote: Dear List, I'm looking for a solution to create a repeater with paging support. The repeater is usually connected to some

Re: Calling a business service from a form

2006-03-14 Thread Patrick Refondini
Duncan McLean wrote: Thanks very much for your detailed advice! Hope it will help ! Do not hesitate to post back if you notice some wrong information. Patrick Duncan Patrick Refondini wrote: Duncan McLean wrote: Hi Patrick Thanks for this... Not too sure what you mean

Re: Calling a business service from a form

2006-03-13 Thread Patrick Refondini
Duncan McLean wrote: Hi Patrick Thanks for this... Not too sure what you mean by uniqueAttributeNameConstraint(event) - can you explain a bit further please? Yes, the uniqueAttributeNameConstraint(event) is totally specific to one of my use case I simply cut and pasted, not very generic

Re: Calling a business service from a form

2006-03-12 Thread Patrick Refondini
Hi Duncan, If onChange can be used instead of onBlur in your senario you might be able to use something as follow in you CForm model (fd): fd:field id=name fd:datatype base=string/ fd:on-value-changed fd:javascript uniqueAttributeNameConstraint(event); /fd:javascript

Re: Organizing own project in cocoon?

2006-03-02 Thread Patrick Refondini
[EMAIL PROTECTED] wrote: (...) - I don't know how to mount the application into a top-level URI, not under 'samples'. One host name based solution I discovered lately while trying to redirect several different domains (virtual hosts) to a single Cocoon deployment is as follow. Extract of

Re: Practical Demo of CForms?

2006-02-21 Thread Patrick Refondini
Berin Loritsch wrote: Is there anything out there that is a decent demonstration of AJAX and Cocoon Forms? I'm looking for something that's a bit better of a tutorial than the online documentation. There is Apache Cocoon 2.1.8 online block forms samples, those with (ajax) mentioned.

Inserting tasks subtree (using Cocoon 2.1.8 tasks example)

2005-12-28 Thread Patrick Refondini
I am trying to figure out how to insert a tasks subtree using the CForms tasks example. http://cocoon.zones.apache.org/demos/release/samples/blocks/forms/do-taskTree.flow I tried to refer to a custom template file containing a tasks subtree (tasks-db.xml) in the task tree binding

Re: Forms/Flow: Control Flow Behind form.showForm()

2005-12-21 Thread Patrick Refondini
Bertrand Delacretaz wrote: Hi Patrick, Le 21 déc. 05, à 08:08, Patrick Refondini a écrit : ...I am looking for hints where to look (doc, source code) to understand how the decision for the flow control to block to form.showForm() or continue is made... To use form.showForm() you must

Re: AW: Forms/Flow: Control Flow Behind form.showForm()

2005-12-21 Thread Patrick Refondini
Merico Raffaele wrote: Ciao Patrick The form.showForm() function is located in the Form.js file in the lib/cocoon-forms-block.jar. Cheers ... Raffaele Thanks Raffaele, I did not see your answer at first due to the AW: ... -Ursprüngliche Nachricht- Von: Patrick Refondini [mailto

Re: Forms/Flow: Control Flow Behind form.showForm()

2005-12-21 Thread Patrick Refondini
Sylvain Wallez wrote: Patrick Refondini wrote: In the context of Cocoon Forms using Flowscript: I am looking for hints where to look (doc, source code) to understand how the decision for the flow control to block to form.showForm() or continue is made. As already mentioned, look

Re: Forms/Flow: Control Flow Behind form.showForm()

2005-12-21 Thread Patrick Refondini
Sylvain Wallez wrote: Patrick Refondini wrote: Thanks, for the quick answer! I looked at the source code available on SVN: http://svn.apache.org/viewcvs.cgi/*checkout*/cocoon/blocks/ in forms/trunk/java/org/apache/cocoon/forms/flow/javascript/Form.js Now I am going to reveal my whole

Re: Forms/Flow: Control Flow Behind form.showForm()

2005-12-21 Thread Patrick Refondini
Bertrand Delacretaz wrote: Le 21 déc. 05, à 10:13, Patrick Refondini a écrit : ...Nevertheless I'll need to take a deeper look at this source code and try to find some Javascript tutorials ;).. I've found these to be good introductions to Javascript's OO features: http://bob.pythonmac.org

Re: Forms/Flow: Control Flow Behind form.showForm()

2005-12-21 Thread Patrick Refondini
Jason Johnston wrote: Sylvain Wallez wrote: My goal is to let a user insert a Form Fragment build from a template XML file. But I haven't been able to do it yet although I see no reason, my Cocoon understanding appart, why it should not be possible. I see. What you needed is

Forms/Flow: Control Flow Behind form.showForm()

2005-12-20 Thread Patrick Refondini
In the context of Cocoon Forms using Flowscript: I am looking for hints where to look (doc, source code) to understand how the decision for the flow control to block to form.showForm() or continue is made. Patrick - To