Timer on cocoon
Hello, I need to do some job with db periodically. For this I need to set up timer. How can I do this in cocoon 2.2 ? Thanks, Gintare
Missing Artifact - cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT
Hi folks, Wanted dead or alive - have you seen this artifact? I'm trying to run the samples. I've checkedout the source code from: http://svn.apache.org/repos/asf/cocoon/trunk. When I: mvn -P allblocks install -Dmaven.test.skip=true I get error message as below, but I can't find the artifact on the project website. I must be missing the point so, please could someone advise best way to fix. Many thanks, Peter. Missing: -- 1) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT 2) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT -- 1 required artifact is missing. for artifact: org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2), gkossakowski-maven2 (http://people.apache.org/~gkossakowski/maven2/repository) - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Cocoon 3 and Cforms
Hi all, hi Reinhard, I see this on your website : Cocoon 3 doesn't provide a stateful forms framework. [1] Does it mean that there will not have Cforms / Xforms solutions in Cocoon 3 ? And what about continuations (closely linked to forms no ?) ? Thanks, Have a good day [1] : http://www.indoqa.com/en/people/reinhard.poetz/blog/625 - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Samples for Cocoon 2.2
It looks like in one of the POM files there is a dependency of to a block that is not available viz. the pom file of the cocoon-core block. You should check the file and try another version of the required block or download it manually as the error message you get is describing. Im not entirly sure tho, its been a while since ive used cocoon but I can remember getting a similar error. I then changed the POM file for the form implementation to change the dependency to another version. For example you could try 1.1.1 instead of 1.1.0-SNAPSHOT if it's available! Good luck Job On Mon, Nov 23, 2009 at 1:00 PM, Peter Hargreaves pe...@pdh-online.info wrote: Thanks for the feedback folks - nearly there. On this blog: http://mrhaki.blogspot.com/2008/09/running-cocoon-22-samples.html you can see step-by-step how to get the samples running. Regards, Job I followed your advice, Job, but when I try: mvn -P allblocks install -Dmaven.test.skip=true I get error message as below. So, please advise best way to fix. Many thanks, Peter. Missing: -- 1) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT 2) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT -- 1 required artifact is missing. for artifact: org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2), gkossakowski-maven2 (http://people.apache.org/~gkossakowski/maven2/repository) - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Missing Artifact - cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT
http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/ Can't use that one? On Tue, Nov 24, 2009 at 10:17 AM, Peter Hargreaves pe...@pdh-online.info wrote: Hi folks, Wanted dead or alive - have you seen this artifact? I'm trying to run the samples. I've checkedout the source code from: http://svn.apache.org/repos/asf/cocoon/trunk. When I: mvn -P allblocks install -Dmaven.test.skip=true I get error message as below, but I can't find the artifact on the project website. I must be missing the point so, please could someone advise best way to fix. Many thanks, Peter. Missing: -- 1) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT 2) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT -- 1 required artifact is missing. for artifact: org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2), gkossakowski-maven2 (http://people.apache.org/~gkossakowski/maven2/repository) - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Timer on cocoon
Hi, Jos, Quartz is ok and Java Timer is ok for me. But haw and where I should input lines like MyTimerThread.start() to start timer when cocoon starts working on server ? Gintare On Tue, Nov 24, 2009 at 11:10 AM, Jos Snellings jos.snelli...@pandora.bewrote: Hi, Gintare, Cocoon is not even remotely a system to schedule operations. Maybe you are looking for something like http://www.quartz-scheduler.org/ Most OS let you schedule jobs. Jos On Tue, 2009-11-24 at 10:53 +0200, Gintare Ragaisiene wrote: Hello, I need to do some job with db periodically. For this I need to set up timer. How can I do this in cocoon 2.2 ? Thanks, Gintare - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Cocoon 3 and Cforms
Florent André wrote: Hi all, hi Reinhard, I see this on your website : Cocoon 3 doesn't provide a stateful forms framework. [1] Does it mean that there will not have Cforms / Xforms solutions in Cocoon 3 ? And what about continuations (closely linked to forms no ?) ? It's my *personal* opinion that currently Wicket offers the best solution for Java-based web form development in most cases. Recently I was convinced that there are some cases where cForms have advantages but these are edge cases IMHO. I use Cocoon to build RESTful web applications with strong Javascript clients running in the browser and all the form handling is done there. So for me there's no need of cForms/continuations any longer and therefore I don't invest time in any migration efforts. But as I said in the beginning of the mail, that's my personal opinion and if it makes sense to others a migration should be possible. -- Reinhard Pötz Managing Director, {Indoqa} GmbH http://www.indoqa.com/en/people/reinhard.poetz/ Member of the Apache Software Foundation Apache Cocoon Committer, PMC member reinh...@apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Samples for Cocoon 2.2
Hi Job, Thanks for the feedbacks. I've now found the README.txt so am trying to: ./build.sh clean install but keep getting: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap space I've tried: MAVEN_OPTS=-Xmx2048m But still out of heap space. Surely this should be enough? Ideas anybody? Peter. On Tuesday 24 Nov 2009, Job van Ommen wrote: It looks like in one of the POM files there is a dependency of to a block that is not available viz. the pom file of the cocoon-core block. You should check the file and try another version of the required block or download it manually as the error message you get is describing. Im not entirly sure tho, its been a while since ive used cocoon but I can remember getting a similar error. I then changed the POM file for the form implementation to change the dependency to another version. For example you could try 1.1.1 instead of 1.1.0-SNAPSHOT if it's available! Good luck Job On Mon, Nov 23, 2009 at 1:00 PM, Peter Hargreaves pe...@pdh-online.info wrote: Thanks for the feedback folks - nearly there. On this blog: http://mrhaki.blogspot.com/2008/09/running-cocoon-22-samples.html you can see step-by-step how to get the samples running. Regards, Job I followed your advice, Job, but when I try: mvn -P allblocks install -Dmaven.test.skip=true I get error message as below. So, please advise best way to fix. Many thanks, Peter. Missing: -- 1) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT 2) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT -- 1 required artifact is missing. for artifact: org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2), gkossakowski-maven2 (http://people.apache.org/~gkossakowski/maven2/repository) - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Missing Artifact - cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT
On Tuesday 24 Nov 2009, Job van Ommen wrote: http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-sitemap/cocoon-sit emap-impl/ Can't use that one? Not sure what you mean? Peter. On Tue, Nov 24, 2009 at 10:17 AM, Peter Hargreaves pe...@pdh-online.info wrote: Hi folks, Wanted dead or alive - have you seen this artifact? I'm trying to run the samples. I've checkedout the source code from: http://svn.apache.org/repos/asf/cocoon/trunk. When I: mvn -P allblocks install -Dmaven.test.skip=true I get error message as below, but I can't find the artifact on the project website. I must be missing the point so, please could someone advise best way to fix. Many thanks, Peter. Missing: -- 1) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT 2) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT -- 1 required artifact is missing. for artifact: org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2), gkossakowski-maven2 (http://people.apache.org/~gkossakowski/maven2/repository) - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Timer on cocoon
Is MyTimerThread the task you want to schedule? - you could create a spring bean, with org.springframework.scheduling.quartz.JobDetailBean - you can start your timerthread in the init() method of a servlet to start a task off when cocoon starts working. Not sure if that works for 2.2. Hope that helps... On Tue, 2009-11-24 at 13:16 +0200, Gintare Ragaisiene wrote: Hi, Jos, Quartz is ok and Java Timer is ok for me. But haw and where I should input lines like MyTimerThread.start() to start timer when cocoon starts working on server ? Gintare On Tue, Nov 24, 2009 at 11:10 AM, Jos Snellings jos.snelli...@pandora.be wrote: Hi, Gintare, Cocoon is not even remotely a system to schedule operations. Maybe you are looking for something like http://www.quartz-scheduler.org/ Most OS let you schedule jobs. Jos On Tue, 2009-11-24 at 10:53 +0200, Gintare Ragaisiene wrote: Hello, I need to do some job with db periodically. For this I need to set up timer. How can I do this in cocoon 2.2 ? Thanks, Gintare - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Timer on cocoon
Jos, thanks for nice answer and creating a bean helped. But I don't know still how to load custom servlet on cocoon 2.2 startup. So I'll breed new thread for this question. On Tue, Nov 24, 2009 at 1:35 PM, Jos Snellings jos.snelli...@pandora.bewrote: Is MyTimerThread the task you want to schedule? - you could create a spring bean, with org.springframework.scheduling.quartz.JobDetailBean - you can start your timerthread in the init() method of a servlet to start a task off when cocoon starts working. Not sure if that works for 2.2. Hope that helps... On Tue, 2009-11-24 at 13:16 +0200, Gintare Ragaisiene wrote: Hi, Jos, Quartz is ok and Java Timer is ok for me. But haw and where I should input lines like MyTimerThread.start() to start timer when cocoon starts working on server ? Gintare On Tue, Nov 24, 2009 at 11:10 AM, Jos Snellings jos.snelli...@pandora.be wrote: Hi, Gintare, Cocoon is not even remotely a system to schedule operations. Maybe you are looking for something like http://www.quartz-scheduler.org/ Most OS let you schedule jobs. Jos On Tue, 2009-11-24 at 10:53 +0200, Gintare Ragaisiene wrote: Hello, I need to do some job with db periodically. For this I need to set up timer. How can I do this in cocoon 2.2 ? Thanks, Gintare - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Cocoon 3 and Cforms
On Tue, 24 Nov 2009 12:26:27 +0100, Reinhard Pötz reinh...@apache.org wrote: Florent André wrote: Hi all, hi Reinhard, I see this on your website : Cocoon 3 doesn't provide a stateful forms framework. [1] Does it mean that there will not have Cforms / Xforms solutions in Cocoon 3 ? And what about continuations (closely linked to forms no ?) ? It's my *personal* opinion that currently Wicket offers the best solution for Java-based web form development in most cases. Recently I was convinced that there are some cases where cForms have advantages but these are edge cases IMHO. Ok, thanks I just ask this question because I found Cform concept very sexy, but I'm not as involved in for well see limitations... There is a simple way to integrate Wicket and Cocoon 3 ? If yes, could you give some pointers ? Add a sample in the future will be very useful for simple user like me, I think. ++ I use Cocoon to build RESTful web applications with strong Javascript clients running in the browser and all the form handling is done there. So for me there's no need of cForms/continuations any longer and therefore I don't invest time in any migration efforts. But as I said in the beginning of the mail, that's my personal opinion and if it makes sense to others a migration should be possible. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
RE: Cocoon 3 and Cforms
Hi Reinhard (and others), Just curious which javascript clients you're using... I recently build a highly dynamic form with CForms (combination of repeater / case widgets) but I'm not entirely happy with the performance... So if you have any good leads to an open-source javascript library for handling advanced formsthat would be appreciated. Personally I'm using YUI for most of my work but they haven't really put much effort into forms. Kind regards, Robby -Original Message- From: Reinhard Pötz [mailto:reinh...@apache.org] Sent: Tuesday, November 24, 2009 12:26 PM To: users@cocoon.apache.org Subject: Re: Cocoon 3 and Cforms Florent André wrote: Hi all, hi Reinhard, I see this on your website : Cocoon 3 doesn't provide a stateful forms framework. [1] Does it mean that there will not have Cforms / Xforms solutions in Cocoon 3 ? And what about continuations (closely linked to forms no ?) ? It's my *personal* opinion that currently Wicket offers the best solution for Java-based web form development in most cases. Recently I was convinced that there are some cases where cForms have advantages but these are edge cases IMHO. I use Cocoon to build RESTful web applications with strong Javascript clients running in the browser and all the form handling is done there. So for me there's no need of cForms/continuations any longer and therefore I don't invest time in any migration efforts. But as I said in the beginning of the mail, that's my personal opinion and if it makes sense to others a migration should be possible. -- Reinhard Pötz Managing Director, {Indoqa} GmbH http://www.indoqa.com/en/people/reinhard.poetz/ Member of the Apache Software Foundation Apache Cocoon Committer, PMC member reinh...@apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Add custom servlet on cocoon 2.2.0 startup
Hi, I need to initialize a servlet like public class TestServlet extends HttpServlet{ @Override public void init(ServletConfig config) throws ServletException { super.init(config); System.out.println(TestServlet); } } on cocoon 2.2 startup. Some servlets is set up in cocoon_home/target/rct/webapp/WEB-INF/web.xml. If I edit that web.xml to add servlet, after server restart input disappear. Thanks, Gintare
Re: Cocoon 3 and Cforms
Robby Pelssers wrote: Hi Reinhard (and others), Just curious which javascript clients you're using... I recently build a highly dynamic form with CForms (combination of repeater / case widgets) but I'm not entirely happy with the performance... So if you have any good leads to an open-source javascript library for handling advanced formsthat would be appreciated. Personally I'm using YUI for most of my work but they haven't really put much effort into forms. How about Dojo: http://dojotoolkit.org/ Kind regards, Robby -Original Message- From: Reinhard Pötz [mailto:reinh...@apache.org] Sent: Tuesday, November 24, 2009 12:26 PM To: users@cocoon.apache.org Subject: Re: Cocoon 3 and Cforms Florent André wrote: Hi all, hi Reinhard, I see this on your website : Cocoon 3 doesn't provide a stateful forms framework. [1] Does it mean that there will not have Cforms / Xforms solutions in Cocoon 3 ? And what about continuations (closely linked to forms no ?) ? It's my *personal* opinion that currently Wicket offers the best solution for Java-based web form development in most cases. Recently I was convinced that there are some cases where cForms have advantages but these are edge cases IMHO. I use Cocoon to build RESTful web applications with strong Javascript clients running in the browser and all the form handling is done there. So for me there's no need of cForms/continuations any longer and therefore I don't invest time in any migration efforts. But as I said in the beginning of the mail, that's my personal opinion and if it makes sense to others a migration should be possible. -- Andre H. Juffer | Phone: +358-8-553 1161 Biocenter Oulu and | Fax: +358-8-553-1141 Department of Biochemistry | Email: andre.juf...@oulu.fi University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ StruBioCat | WWW: www.strubiocat.oulu.fi NordProt | WWW: www.nordprot.org Triacle Biocomputing | WWW: www.triacle-bc.com - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Cocoon 3 and Cforms
Florent André wrote: On Tue, 24 Nov 2009 12:26:27 +0100, Reinhard Pötz reinh...@apache.org wrote: Florent André wrote: Hi all, hi Reinhard, I see this on your website : Cocoon 3 doesn't provide a stateful forms framework. [1] Does it mean that there will not have Cforms / Xforms solutions in Cocoon 3 ? And what about continuations (closely linked to forms no ?) ? It's my *personal* opinion that currently Wicket offers the best solution for Java-based web form development in most cases. Recently I was convinced that there are some cases where cForms have advantages but these are edge cases IMHO. Ok, thanks I just ask this question because I found Cform concept very sexy, but I'm not as involved in for well see limitations... There is a simple way to integrate Wicket and Cocoon 3 ? If yes, could you give some pointers ? Add a sample in the future will be very useful for simple user like me, I think. I've almost finished a first prototype and will commit it soon to SVN. I will also start a discussion about it some time this week. -- Reinhard Pötz Managing Director, {Indoqa} GmbH http://www.indoqa.com/en/people/reinhard.poetz/ Member of the Apache Software Foundation Apache Cocoon Committer, PMC member reinh...@apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Cocoon 3 and Cforms
Robby Pelssers wrote: Hi Reinhard (and others), Just curious which javascript clients you're using... I recently build a highly dynamic form with CForms (combination of repeater / case widgets) but I'm not entirely happy with the performance... So if you have any good leads to an open-source javascript library for handling advanced formsthat would be appreciated. Personally I'm using YUI for most of my work but they haven't really put much effort into forms. I'm a Mootools fan and have written an own integration layer that does all the RESTful communication with the server running C3. Unfortunately I can't publish it because all this stuff is too much tied with the business logic and I don't have the time to split it up. -- Reinhard Pötz Managing Director, {Indoqa} GmbH http://www.indoqa.com/en/people/reinhard.poetz/ Member of the Apache Software Foundation Apache Cocoon Committer, PMC member reinh...@apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Missing Artifact - cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT
I don't suppose you are running a unit test so it seems to me you should only be needing the block I mentioned. Atleast thats what I gather from http://cocoon.apache.org/2.2/core-modules/core/2.2/dependencies.html regards, job On Tue, Nov 24, 2009 at 12:28 PM, Peter Hargreaves pe...@pdh-online.info wrote: On Tuesday 24 Nov 2009, Job van Ommen wrote: http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-sitemap/cocoon-sit emap-impl/ Can't use that one? Not sure what you mean? Peter. On Tue, Nov 24, 2009 at 10:17 AM, Peter Hargreaves pe...@pdh-online.info wrote: Hi folks, Wanted dead or alive - have you seen this artifact? I'm trying to run the samples. I've checkedout the source code from: http://svn.apache.org/repos/asf/cocoon/trunk. When I: mvn -P allblocks install -Dmaven.test.skip=true I get error message as below, but I can't find the artifact on the project website. I must be missing the point so, please could someone advise best way to fix. Many thanks, Peter. Missing: -- 1) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT 2) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT -- 1 required artifact is missing. for artifact: org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2), gkossakowski-maven2 (http://people.apache.org/~gkossakowski/maven2/repository) - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Add custom servlet on cocoon 2.2.0 startup
2009/11/24 Gintare Ragaisiene gintare.ragaisi...@gmail.com Hi, I need to initialize a servlet like public class TestServlet extends HttpServlet{ @Override public void init(ServletConfig config) throws ServletException { super.init(config); System.out.println(TestServlet); } } on cocoon 2.2 startup. Some servlets is set up in cocoon_home/target/rct/webapp/WEB-INF/web.xml. If I edit that web.xml to add servlet, after server restart input disappear. I *think* that you need to make your servlet into a Spring bean. If you add to your existing META-INF/cocoon/spring/servlet-service-framework.xml file: bean name=myservlet class=com.example.MyServlet servlet:context mount-path=/myBlock1 context-path=blockcontext:/myBlock1// /bean It may work. I'm not too familiar with the servlet service framework, and I haven't tested this. :-( -Dom