Cocoon 2.2.x upgrade related help

2008-01-16 Thread Gautam Ganguly
dear Cocooners.. My configuration is: 1. JDK: 1.6.x 2. Tomcat: 6.x 3. Cocoon: 2.2.x 4. OS: Win 2K Advanced Server I have used Cocoon since early 2.0.4 up until 2.1.10.So to upgrade to 2.2.x version,i am trying to put 1 and 1 together.. So this are my queries

cocoon 2.2 & xmldb protocol

2008-01-16 Thread anil
Hi - I'm trying to replicate a configuration I had with cocoon 2.1 within cocoon 2.2 & I was wondering if anyone could help me. Basically in our 2.1 application, I can use a generator to read from the eXist xml db using xmlrpc. The generate step is thus: I need to be able to do th

Re: cocoon.context.getRealPath & cocoon 2.2

2008-01-15 Thread anil
; in the right direction. > > I'm trying to get the full path location of a file from within flowscript > as I need to pass the file location to a spring bean. > > In cocoon 2.1 I have seen the cocoon.context.getRealPath(" from sitemap>") return the correct val

cocoon.context.getRealPath & cocoon 2.2

2008-01-14 Thread anil
tRealPath("") return the correct value, but this doesn't seem to work in cocoon 2.2 with the new block structure. I can do: cocoon.context.getRealPath("/") and get the correct path back from the context - i.e.: file:///C:/Workspace/cmc-rmm-webapp/target/work

Re: Cocoon 2.2 - referencing local pipelines from map:part src

2008-01-07 Thread Grzegorz Kossakowski
Rainer Pruy pisze: > Hallo, > I got somehow lost on trying to change from a 2.1.x habit of using > map:resource referencing pipelines via "cocoon:" protocol to > something more appropriate with cocoon 2.2. > > As I failed miserably on finding a suitable reference on

Cocoon 2.2 - referencing local pipelines from map:part src

2008-01-07 Thread Rainer Pruy
Hallo, I got somehow lost on trying to change from a 2.1.x habit of using map:resource referencing pipelines via "cocoon:" protocol to something more appropriate with cocoon 2.2. As I failed miserably on finding a suitable reference on this, I'm trying with the list. >

Courses on Cocoon 2.2 in Europe

2008-01-03 Thread Kjetil Kjernsmo
Hi all! We're just getting started on a free software project that will use Semantic Web technologies. We have opted to use Cocoon 2.2 for this project. However, we are all inexperienced with Cocoon, that is, I worked a bit with Cocoon back in 2002 before I went on to work with AxKit

Re: Cocoon 2.2 - dealing with sub-apps

2007-12-22 Thread Grzegorz Kossakowski
footh pisze: > I am contemplating migrating to Cocoon 2.2. My main > application has a couple sub-applications (with > separate sitemaps) and one of those sub-apps in turn > has a sub-application. > > My question is: do I deal with the sub-apps by > creating blocks for each

Re: Cocoon 2.2 install

2007-12-22 Thread Grzegorz Kossakowski
Babak Farhang pisze: >> Maven does all the 'installing' for you. As I said, Cocoon 2.2 is very >> different from earlier versions. Maven is the key. If you run Maven >> from the command line as shown in the tutorial [1] it will download what >> it needs fr

Re: Cocoon 2.2 install

2007-12-22 Thread Grzegorz Kossakowski
Babak Farhang pisze: >>> Ah!... I understand ;-) >>> >>> Maven does all the 'installing' for you.. > > I'd like to get the source code when 'installing' Coccon 2.2. Can I > get the source code for 2.2 using maven, also? Why do you need sources? If it's for debugging purposes then answer is yes,

Re: Cocoon 2.2 install

2007-12-21 Thread David Legg
Babak Farhang wrote: Ah!... I understand ;-) Maven does all the 'installing' for you.. I'd like to get the source code when 'installing' Coccon 2.2. Can I get the source code for 2.2 using maven, also? Um? No I don't think so. I download the source from the subversion server [

Cocoon 2.2 & JSP

2007-12-21 Thread anil
Hi - Does anyone know if there is a block to allow the reading of JSPs within cocoon 2.2. I'm trying to debug an application which I have integrated with cocoon 2.2 that has a debug page written in jsp. I'd like to be able to use this debug page if possible so want to include suppo

Re: Cocoon 2.2 install

2007-12-20 Thread Babak Farhang
ED]> wrote: > > Maven does all the 'installing' for you. As I said, Cocoon 2.2 is very > > different from earlier versions. Maven is the key. If you run Maven > > from the command line as shown in the tutorial [1] it will download what > > it needs from a r

Re: Cocoon 2.2 install

2007-12-20 Thread Babak Farhang
> Maven does all the 'installing' for you. As I said, Cocoon 2.2 is very > different from earlier versions. Maven is the key. If you run Maven > from the command line as shown in the tutorial [1] it will download what > it needs from a remote repository and build

Re: Cocoon 2.2 install

2007-12-20 Thread David Legg
Fawzib Rojas wrote: Cocoon 2.2 is radically different but I definitely think it's worth it. I don't mind it being different, the problem is no documentation on how to do things (or if there is, I can't find it) and I can't even figure out how to install it.

Cocoon 2.2 tutorial

2007-12-20 Thread Robin Rigby
Cocoon 2.2 may be wonderful when you get to know it but meanwhile the multiple learning curves are tiresome. I mean maven + spring + eclipse + cocoon. How do I identify what is missing, here? The third page of the tutorial [3] works fine. At the top of the next page [4], the web application

Re: Cocoon 2.2 install

2007-12-20 Thread Fawzib Rojas
David Legg wrote: Hi Fawzib, The main overview of Cocoon 2.2 can be found on the apache web site. [1] Read it, didn't saw anywhere how to install it. You should also take a close look at the section titled 'Your first Cocoon application using Maven 2' [2] I did, I was looki

Re: Cocoon 2.2 install

2007-12-20 Thread Derek Hohls
uot;history" for the project (of course, Cocoon would have started off, say, as 99.01 and moved on to 00.08 or some such... ;). >>> David Legg <[EMAIL PROTECTED]> 2007/12/20 01:21 AM >>> Hi Fawzib, The main overview of Cocoon 2.2 can be found on the apache web site. [1]

Re: Cocoon 2.2 install

2007-12-19 Thread David Legg
Hi Fawzib, The main overview of Cocoon 2.2 can be found on the apache web site. [1] You should also take a close look at the section titled 'Your first Cocoon application using Maven 2' [2] Cocoon 2.2 is radically different but I definitely think it's worth it. The fact it

Cocoon 2.2 install

2007-12-19 Thread Fawzib Rojas
Is there a simple howto to install/run Cocoon 2.2? I have been looking around and I haven't found anything that explains how to do it. I haven't found any download links at the cocoon site. With 2.1 was just download, extract, run the startup script. I have no idea how to begin,

cocoon-commons-modules for cocoon 2.2

2007-12-19 Thread Wu Lu
Hi, there I tried to include the dependency of cocoon-commons-modules when migrating a cocoon 2.1 application to cocoon 2.2. Maven failed to retrieve it from the repository. And I could not find the jar file as well. Anybody has a clue? Thanks a lot. Wu

Cocoon 2.2 - Symbolic links in map:mount path not working

2007-12-16 Thread Hugh Sparks
map.MountNode.invoke (MountNode.java:118) ... Note the empty path element in the jndi path where "thing" might be expected. I have both cocoon 1.1 and cocoon 2.2 installations running under Tomcat 6.x. When I move the "stuff" directory to the cocoon 1.1 webapp, the example works as expect

Cocoon 2.2 - dealing with sub-apps

2007-12-11 Thread footh
I am contemplating migrating to Cocoon 2.2. My main application has a couple sub-applications (with separate sitemaps) and one of those sub-apps in turn has a sub-application. My question is: do I deal with the sub-apps by creating blocks for each one? The problem is, these sub-applications

Cocoon 2.2 Learning Trail

2007-12-08 Thread Babak Farhang
works. If you know of a better example that works for Cocoon 2.2, please do let me know.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Register a new trax transformer in Cocoon 2.2

2007-12-05 Thread dperez
k whether this instructions work I would be >> grateful. >> >> -- >> Grzegorz Kossakowski >> Committer and PMC Member of Apache Cocoon >> http://reflectingonthevicissitudes.wordpress.com/ >> >> --------

Re: Register a new trax transformer in Cocoon 2.2

2007-12-05 Thread dperez
[EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Register-a-new-trax-transformer-in-Cocoon-2.2-tf4943989.html#a14167972 Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Deploying a Cocoon 2.2 application: missing dependency

2007-12-05 Thread dperez
block into your local repository and is then available when > you > build the "myCocoonWebapp" module. > -- View this message in context: http://www.nabble.com/Deploying-a-Cocoon-2.2-application%3A-missing-dependency-tf4943471.html#a14167718 Sent from th

Re: Deploying a Cocoon 2.2 application: missing dependency

2007-12-05 Thread dperez
n install >> cd ../myCocoonWebapp >> mvn package jetty:run >> >> and now it works! >> >> Can this be done automatically by Maven? > > You seem to be searching for RAD with Cocoon 2.2. If so, see this page: > http://cocoon.apache.org/2.2/maven-plugins/maven-

Re: Deploying a Cocoon 2.2 application: missing dependency

2007-12-04 Thread Grzegorz Kossakowski
dperez pisze: > Dear Cocooners, > > I've done: > > cd myblock1 > mvn install > cd ../myCocoonWebapp > mvn package jetty:run > > and now it works! > > Can this be done automatically by Maven? You seem to be searching for RAD wi

Re: Register a new trax transformer in Cocoon 2.2

2007-12-04 Thread Grzegorz Kossakowski
Hello David, dperez pisze: > This link gives some valuable information: > http://cocoon.apache.org/2.2/core-modules/core/2.2/1258_1_1.html > but still need more light. This link should help you: http://article.gmane.org/gmane.text.xml.cocoon.user/62785 If you could report back whether this in

Re: Register a new trax transformer in Cocoon 2.2

2007-12-04 Thread dperez
This link gives some valuable information: http://cocoon.apache.org/2.2/core-modules/core/2.2/1258_1_1.html but still need more light. dperez wrote: > > Hi all, > > Is it advisable to use Cocoon 2.2? > I like the new architecture, but I'm having a lot of problem

Register a new trax transformer in Cocoon 2.2

2007-12-04 Thread dperez
Hi all, Is it advisable to use Cocoon 2.2? I like the new architecture, but I'm having a lot of problems with missing doc. For example with Cocoon 2.1.x, I could register a new trax transformer in cocoon.xconf, like e.g. Saxon 9. But what about this in 2.2? Regards, David -- View this me

Re: Deploying a Cocoon 2.2 application: missing dependency

2007-12-04 Thread dperez
to the base directory of "myBlock1" and run "mvn install" from there. > This > will put the block into your local repository and is then available when > you > build the "myCocoonWebapp" module. > > > -- > Reinhard Pötz

Re: How to use the HTMLGenerator in Cocoon 2.2

2007-12-04 Thread dperez
; > In the pom.xml of my block I've added this: > > > org.apache.cocoon > html > 2.2.0-RC2 > > > > But this block cannot be downloaded. > Thanks in advance for any help. > > David > > -- View this message in

How to use the HTMLGenerator in Cocoon 2.2

2007-12-04 Thread dperez
.com/How-to-use-the-HTMLGenerator-in-Cocoon-2.2-tf4943763.html#a14152762 Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Deploying a Cocoon 2.2 application: missing dependency

2007-12-04 Thread dperez
Dear Cocooners, I've done: cd myblock1 mvn install cd ../myCocoonWebapp mvn package jetty:run and now it works! Can this be done automatically by Maven? dperez wrote: > > Hi, > > I'm trying to use Cocoon 2.2 > > I've followed this tutorial: > h

Re: Deploying a Cocoon 2.2 application: missing dependency

2007-12-04 Thread Reinhard Poetz
dperez wrote: Hi, I'm trying to use Cocoon 2.2 I've followed this tutorial: http://cocoon.apache.org/2.2/1362_1_1.html When I try to package my block as a webapp with mvn package jetty:run then I get the following error: 1) com.mycompany:myblock1:jar:1.0-SNAPSHOT Try downl

Deploying a Cocoon 2.2 application: missing dependency

2007-12-04 Thread dperez
Hi, I'm trying to use Cocoon 2.2 I've followed this tutorial: http://cocoon.apache.org/2.2/1362_1_1.html When I try to package my block as a webapp with mvn package jetty:run then I get the following error: 1) com.mycompany:myblock1:jar:1.0-SNAPSHOT Try downloading the fil

[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 paramet

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

2007-11-22 Thread Grzegorz Kossakowski
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 parameter is contains a hint to the nam

Re: Migrating to Cocoon 2.2... calling servlets from Cocoon: ServletServiceGenerator

2007-11-22 Thread Josh2007
Thanks Grzegorz for this detailed reply, it really helps. I will take a look at the demos as well. Regards, Josh Grzegorz Kossakowski-3 wrote: > > Josh2007 pisze: >> Hi, >> >> I'm migrating from Cocoon 2.1 to Cocoon 2.2. >> Cocoon 2.2 is deployed as a s

Re: Migrating to Cocoon 2.2... calling servlets from Cocoon: ServletServiceGenerator

2007-11-22 Thread Grzegorz Kossakowski
Josh2007 pisze: > Hi, > > I'm migrating from Cocoon 2.1 to Cocoon 2.2. > Cocoon 2.2 is deployed as a servlet in Tomcat along with 2 other servlets: > Axis 2 and eXist xmldb. > > It seems with Cocoon 2.2 I can call my 2 other servlets from Cocoon and get > any xml re

Migrating to Cocoon 2.2... calling servlets from Cocoon: ServletServiceGenerator

2007-11-22 Thread Josh2007
Hi, I'm migrating from Cocoon 2.1 to Cocoon 2.2. Cocoon 2.2 is deployed as a servlet in Tomcat along with 2 other servlets: Axis 2 and eXist xmldb. It seems with Cocoon 2.2 I can call my 2 other servlets from Cocoon and get any xml result they will generate in my sitemap. Can I do that

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 concre

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

2007-11-21 Thread Grzegorz Kossakowski
Raphaël Piéroni pisze: > Hello, Hello Raphaël > 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 concrete block is chosen? What has an effect on making choice? >

[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 got

[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: cocoon 2.2 and Saxon

2007-11-16 Thread Grzegorz Kossakowski
Spencer Tickner pisze: > Hi List, > > > > Thanks in advance for any help. I've been playing around with cocoon > 2.2, and need to use XSLT 2.0 for a transformation. After scouring the > web I can't figure out how to integrate Saxon into the new cocoon model. >

cocoon 2.2 and Saxon

2007-11-16 Thread Spencer Tickner
Hi List, Thanks in advance for any help. I've been playing around with cocoon 2.2, and need to use XSLT 2.0 for a transformation. After scouring the web I can't figure out how to integrate Saxon into the new cocoon model. So far I've created a few Blocks as per the 2.2 tutori

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 what are curr

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

2007-11-08 Thread Grzegorz Kossakowski
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 what are current plans and if there any show-stoppers for 1.

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) w

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

2007-11-07 Thread Grzegorz Kossakowski
Raphaël Piéroni pisze: > Hi, > > I have fixed my issue by modifying the widget value > from the flowscript (in a catch) when the database complains. > > ... > var form = new Form(...); > form.createBinding(...); > form.load(binding); > while (invalid) { >form.showForm(...); >form.save

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

2007-11-07 Thread Raphaël Piéroni
Hi, I have fixed my issue by modifying the widget value from the flowscript (in a catch) when the database complains. ... var form = new Form(...); form.createBinding(...); form.load(binding); while (invalid) { form.showForm(...); form.save(binding); try { database.createObject

[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

Apache Cocoon 2.2-RC2 Released

2007-11-03 Thread Reinhard Poetz
The Apache Cocoon Community is proud to announce the second release candidate of Cocoon 2.2. Apache Cocoon is a Spring-based framework (since version 2.2) built around the concepts of separation of concerns and component-based development. Cocoon implements these concepts around the

Re: cocoon 2.2 - input module for global properties

2007-11-02 Thread Thorsten Scherler
On Fri, 2007-11-02 at 11:21 +0100, Thorsten Scherler wrote: > Hi all, > > I am looking for the input module which returns the properties which I > have configured in > myBlock/src/main/resources/META-INF/cocoon/properties/test.properties > > I found out that I can use the properties in my sitem

cocoon 2.2 - input module for global properties

2007-11-02 Thread Thorsten Scherler
Hi all, I am looking for the input module which returns the properties which I have configured in myBlock/src/main/resources/META-INF/cocoon/properties/test.properties I found out that I can use the properties in my sitemap as: {global:myProp} but I am using http://forrest.apache.org/pluginDocs

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 simple example on bi

Using Cocoon 2.2 the Old Way

2007-10-21 Thread Hugh Sparks
Efforts to publish private tutorials rapidly go out of date and eventually become an actual hinderance to others. [...] It must be some dark urge. http://www.csparks.com/C22Minimum.xhtml Suggestions are welcome. Thanks to those who revealed the way. -Hugh Sparks ---

Cocoon 2.2 - Problem with xmldb webapp db.lock

2007-10-20 Thread Hugh Sparks
I have a Cocoon 2.2 webapp that uses xindice which I deployed using a war file on a remote server running tomcat. It works fine. When I use the Tomcat manager to stop and then start or when I use the Reload button, the webapp appers to start, but it will not work properly because a database lock

Re: Cocoon 2.2 - Webapp without blocks

2007-10-19 Thread Hugh Sparks
People start to talk about a migration guide [1]. So when doing your conversion you might use it (or what's there up to that point) and add your own experiences. Joerg, I appreciate your suggestion. I've never tried to contribute to the official documentation effort, but I realize that's the on

Re: Cocoon 2.2 - Webapp without blocks

2007-10-19 Thread Joerg Heinicke
On 10/19/07 3:37 AM, Hugh Sparks wrote: Now they all need to be converted to run with Cocoon 2.2. People start to talk about a migration guide [1]. So when doing your conversion you might use it (or what's there up to that point) and add your own experiences. Joerg [1]

Re: Re: Cocoon 2.2 - Webapp without blocks

2007-10-19 Thread Derek Hohls
- would be welcome I am sure. ("Demonstrating... the subtlety of its priesthood" => :-0 ) >>> "Hugh Sparks" <[EMAIL PROTECTED]> 2007/10/19 09:37 AM >>> - Original Message - From: "Derek Hohls" <[EMAIL PROTECTED]> To: Sent: Frid

Re: Cocoon 2.2 - Webapp without blocks

2007-10-19 Thread Hanne Moa
ars out of necessity as a personal reference. > Now they all need to be converted to run with Cocoon 2.2. Oh, please do publish if you have them in an electronic format! There are lots of people who still need good examples for 2.1.x too you know, besides, we could have a competition: "conver

Re: Re: Cocoon 2.2 - Webapp without blocks

2007-10-19 Thread Hugh Sparks
- Original Message - From: "Derek Hohls" <[EMAIL PROTECTED]> To: Sent: Friday, October 19, 2007 3:23 PM Subject: Re: Re: Cocoon 2.2 - Webapp without blocks Derek Hohls writes: Hugh: OTOH, it also sounds quite depressing that lots of what we have learnt in the pa

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: [EMAIL PROTECTED

Re: Re: Cocoon 2.2 - Webapp without blocks

2007-10-18 Thread Derek Hohls
re are all the xconf files and other goop that normally has to exist somewhere to get cocoon working? I couldn't find anything like that in the target directory. I must say that Cocoon 2.2 is looking almost lean and elegant! If I do need to configure one of the core components, where would

Re: Re: Cocoon 2.2 - Webapp without blocks

2007-10-18 Thread Hugh Sparks
somewhere to get cocoon working? I couldn't find anything like that in the target directory. I must say that Cocoon 2.2 is looking almost lean and elegant! If I do need to configure one of the core components, where would I put an xconf file to get the job done? Or is this now done with S

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

2007-10-18 Thread Joerg Heinicke
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: [EMAIL PROTECTED] For additional commands,

[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: Re: Cocoon 2.2 - Webapp without blocks

2007-10-18 Thread Michel Erard
servlet" for element >"servlet:context" is not bound. > >Inspired by that message, I added bunch of dependencies to the pom that I'd >used in a block that runs >successfully: > >cocoon-core >cocoon-servlet-service-component >cocoon-templat

Re: Re: Cocoon 2.2 - Webapp without blocks

2007-10-18 Thread Hugh Sparks
spired by that message, I added bunch of dependencies to the pom that I'd used in a block that runs successfully: cocoon-core cocoon-servlet-service-component cocoon-template-impl cocoon-flowscript-impl Unfortunately, this had no effect and I got the same error message. Follow

Re: Re: Cocoon 2.2 - Webapp without blocks

2007-10-18 Thread Michel Erard
Hi Hugh, How did you define your Sitemap-Servlet? Try something like this in applicationContext.xml: Regards, Mike -- Original Message -- From: "Hugh Sparks" <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org Date: Wed, 17 Oct

Cocoon 2.2 - Can't bulid block after cocoon update

2007-10-17 Thread Hugh Sparks
I have a block that contains these dependencies: org.apache.cocoon cocoon-databases-impl 1.0.0-RC3-SNAPSHOT org.apache.cocoon cocoon-xmldb-impl 1.0.0-SNAPSHOT I got the version numbers from the most recent cocoon 2.2 svn update. (Is there

Re: Cocoon 2.2 - Webapp without blocks

2007-10-17 Thread Hugh Sparks
Not sure about the second part of your question, but the first part has already been answered by the developers: http://marc.info/?l=xml-cocoon-users&m=119202260922881&w=4 so I guess the tutorial you refer to (URL??) is out-of-date. That posting refers to mounting a block at root "/". I unders

Re: Cocoon 2.2: Error in database migration guide

2007-10-17 Thread Hanne Moa
Grzegorz Kossakowski wrote: > Hanne Moa pisze: >> So I guess the migration guide is missing a step? Where and how do I add >> org.apache.cocoon.databases.bridge.spring.avalon.SpringToAvalonDataSourceWrapper? > >> Is there some other way to add a datasource than via the bridge above? > > If you wa

Re: Cocoon 2.2 - Webapp without blocks

2007-10-17 Thread Derek Hohls
cocoon-flowscript-impl cocoon-fop-impl I put a sitemap.xmap and other files in: src/main/webapp When I fire up jetty and visit http://localhost: ( http://localhost:/ ) I get the message javax.servlet.ServletException: No block for / At one time, this was possible as illustrate

Cocoon 2.2 - Webapp without blocks

2007-10-16 Thread Hugh Sparks
temap.xmap and other files in: src/main/webapp When I fire up jetty and visit http://localhost: I get the message javax.servlet.ServletException: No block for / At one time, this was possible as illustrated by Vadim Gritsenko's "Using Cocoon 2.2 the Classic Way" Is t

Re: Cocoon 2.2: Error in database migration guide

2007-10-16 Thread Grzegorz Kossakowski
Hanne Moa pisze: > Following the database migration guide at > (after > having done the "Your first Cocoon application using Maven 2" followed > by "Your first XML pipeline (publishing)" leads to the error > > java.lang.RuntimeExcep

Cocoon 2.2: Error in database migration guide

2007-10-16 Thread Hanne Moa
Following the database migration guide at (after having done the "Your first Cocoon application using Maven 2" followed by "Your first XML pipeline (publishing)" leads to the error java.lang.RuntimeException: Cannot invoke listener

[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: Cocoon 2.2 - Block name required in file path?

2007-10-11 Thread Grzegorz Kossakowski
this example from a working cocoon 2.1.X version >> and the image tag was simply: >> >> >> >> Why is the block name required in the path to fetch the image >> when using cocoon 2.2? I would expect the location of the sitemap >> to be the root for fin

Re: Cocoon 2.2 - Block name required in file path?

2007-10-11 Thread Grzegorz Kossakowski
quotations work as expected, but the path to the > images in the result.jx template (shown below) requires > the name of my block in the path: > > > > I ported this example from a working cocoon 2.1.X version > and the image tag was simply: > > > >

Re: Cocoon 2.2 - Block name required in file path?

2007-10-11 Thread Hanne Moa
;r=1&w=4 > > The information at that link ... which is the bottom of <http://cocoon.apache.org/2.2/1362_1_1.html>. The file mentioned there, block.xml, does not exist... > is no longer accurate for Cocoon 2.2, > but it was close enough to help me fix my problem. > > I

Re: Cocoon 2.2 - Block name required in file path?

2007-10-11 Thread Hugh Sparks
From: "Joerg Heinicke" <[EMAIL PROTECTED]> I didn't know it but I saw today the thread about "mounting a block at root level". So in case you missed it: http://marc.info/?t=11920255864&r=1&w=4 The information at that link is no longer accurate for

Re: Cocoon 2.2 - Block name required in file path?

2007-10-10 Thread Joerg Heinicke
On 10.10.2007 4:43 Uhr, Hugh Sparks wrote: The quotations work as expected, but the path to the images in the result.jx template (shown below) requires the name of my block in the path: I didn't know it but I saw today the thread about "mounting a block at root level". So in case you missed i

Re: Cocoon 2.2: Installation-trouble

2007-10-10 Thread Hanne Moa
Reinhard Poetz wrote: > Hanne Moa wrote: >> Per today, the tutorial at http://cocoon.apache.org/2.2/1159_1_1.html >> (http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1159.html in Daisy) >> is rather deeply flawed. >> >> Following the recipe by the letter, running "mvn jetty:run" at the end, >>

Re: Cocoon 2.2: Installation-trouble

2007-10-10 Thread Reinhard Poetz
Hanne Moa wrote: Per today, the tutorial at http://cocoon.apache.org/2.2/1159_1_1.html (http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1159.html in Daisy) is rather deeply flawed. Following the recipe by the letter, running "mvn jetty:run" at the end, leads to jetty running but showing an e

Cocoon 2.2: Installation-trouble

2007-10-10 Thread Hanne Moa
Per today, the tutorial at http://cocoon.apache.org/2.2/1159_1_1.html (http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1159.html in Daisy) is rather deeply flawed. Following the recipe by the letter, running "mvn jetty:run" at the end, leads to jetty running but showing an empty page and an ex

Cocoon 2.2 - Block name required in file path?

2007-10-10 Thread Hugh Sparks
) requires the name of my block in the path: I ported this example from a working cocoon 2.1.X version and the image tag was simply: Why is the block name required in the path to fetch the image when using cocoon 2.2? I would expect the location of the sitemap to be the root for finding

Re: [Cocoon 2.2, Hibernate 3] Conflict in ehcache

2007-10-05 Thread Leszek Gawron
Nacho Jiménez wrote: Dear all, I'm trying to migrate my Cocoon 2.1/Spring/Hibernate apps to Cocoon 2.2, and after a bit of banging my head against he wall, i finally understood what's maven and how to create cocoon projects, etc. I've created a cocoon 2.2 block with basic s

Re: [Cocoon 2.2, Hibernate 3] Conflict in ehcache

2007-10-01 Thread Reinhard Poetz
Nacho Jiménez wrote: Dear all, I'm trying to migrate my Cocoon 2.1/Spring/Hibernate apps to Cocoon 2.2, and after a bit of banging my head against he wall, i finally understood what's maven and how to create cocoon projects, etc. I've created a cocoon 2.2 block with basic s

[Cocoon 2.2, Hibernate 3] Conflict in ehcache

2007-10-01 Thread Nacho Jiménez
Dear all, I'm trying to migrate my Cocoon 2.1/Spring/Hibernate apps to Cocoon 2.2, and after a bit of banging my head against he wall, i finally understood what's maven and how to create cocoon projects, etc. I've created a cocoon 2.2 block with basic spring-hibernate functional

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-27 Thread Joerg Heinicke
On 24.09.2007 6:07 Uhr, thuertas wrote: I tried to store beans in a database using Generator, Tansformer and Serializer. That's ok for Generator and Serializer but there's nothing in database when I use a Transformer! So why doesn't it work with a transformer? Is the spring transaction initi

[cocoon 2.2] 1 upload ok , 2 uploads ko

2007-09-26 Thread thuertas
Hi, I'm having a strange problem, I deploy my webapp on jonas and I try to upload xml files. The first upload is ok, all the transformations are done and my objects are stored in my database. When I try to do a second upload with the same file or another one I have this exception: [exec]

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-24 Thread thuertas
Hi, I tried to store beans in a database using Generator, Tansformer and Serializer. That's ok for Generator and Serializer but there's nothing in database when I use a Transformer! That's what I did: The above line should be o.a.c.generati

<    2   3   4   5   6   7   8   9   10   >