Cforms do not save after binding.

2006-09-20 Thread Kamal Bhatt
Hi I have a CForm that binds to a java object. If there are no validation errors (ie the continuation is not called) then the form saves correctly. However, if there was a validation error, you fix the error and you try and save again, the form does not bind correctly (form.save fails). Instea

RE: Free for use: SaveFilesTransformer

2006-09-20 Thread Geert Josten
> Really an intersting idea. But I'd not begin the transaction > in setup(). > What about startDocument()? And the rollback() at endDocument() as well (if necessary :). Though I guess I would like to manage the transactions independantly altogether. In actions fired with separate urls perhaps?

Re: Getting Cocoon Session from outside

2006-09-20 Thread Jason Johnston
Oleg Konovalov wrote: Jason, Is that two or one Web Project(s) ? Looking at the servlet-mapping's url-pattern: SpringMVC /spring/* Cocoon /* Looks like you put the SpringMVC project inside the Coocoon web project [/spring]. Or can they still be 2 separate web projects (with

Re: fd:multivaluefield -> direct the content of the two fields!!!

2006-09-20 Thread Jason Johnston
jantje wrote: Query the database from my flowscript? I have an object oriented database (db4o.com).. is it also possible to query this database in flowscript? do you know where to find information about this.. and how can I f.i. do this in flowscript: "import com.db4o.*" Can someone tell me how

How-to: dojo Editor/Editor2 widgets in forms

2006-09-20 Thread thomason
Apologies if this is obvious, but I thought it could help someone who doesn't have time to figure it out. Maybe someone has a better method? Because the resources CFormsForm.js and __package__.js will be modified, it is easiest to copy the forms resources (build/cocoon/blocks/forms/dest/org/apache

Re: Free for use: SaveFilesTransformer

2006-09-20 Thread Joerg Heinicke
Really an intersting idea. But I'd not begin the transaction in setup(). What about startDocument()? Jörg On 20.09.2006 18:53, Olivier wrote: The transaction * begins on setUp * commit on endDocument * roll back on recycle (if needed!) Geert Josten wrote: How does it work?

Re: FileUploadManager

2006-09-20 Thread Joerg Heinicke
On 20.09.2006 17:11, Richard Light wrote: After much trial and error, I was able to get it at least start (I haven't tried actually uploading any files yet!) by altering the user.xroles file provided on the Wiki page. I changed the shorthand attribute in the element from "upload_manager" to

Re: Restricting Logging

2006-09-20 Thread Erron Austin
Well, never mind.    Anyone solve this?  On 9/20/06, Erron Austin <[EMAIL PROTECTED]> wrote: I added to my jboss-web.xml to get rid of these messages. On 5/23/06, Andrew Stevens <[EMAIL PROTECTED] > wrote: >From: "Victoria Vitaver" < [EMAIL PROTECTED]>>Date: Tue, 23 May 2006 12:39:33 +1000>>Hi

Re: Restricting Logging

2006-09-20 Thread Erron Austin
I added to my jboss-web.xml to get rid of these messages. On 5/23/06, Andrew Stevens <[EMAIL PROTECTED]> wrote: >From: "Victoria Vitaver" <[EMAIL PROTECTED]> >Date: Tue, 23 May 2006 12:39:33 +1000>>Hi,>>I am having trouble changing the logkit.xconf to restrict logging of cocoon>messages. I have tr

Re: Uploading files: further issues

2006-09-20 Thread Joerg Heinicke
On 20.09.2006 19:13, Richard Light wrote: 1. the match pattern in the sitemap needs to be: Fixed it, but you can also do it yourself. It's a wiki :) 2. "JavaScript" in the element is case-sensitive, i.e. not: Can't confirm this one. Both 2.1 and trunk declare it as "jav

Uploading files: further issues

2006-09-20 Thread Richard Light
Hi, I am making some progress with my attempts to use the FileUploadsWithFlow code in the Wiki. However, I'm now stuck. Two little problems which I managed to fix are that: 1. the match pattern in the sitemap needs to be: not: for it to match, and 2. "JavaScript" in th

Re: Free for use: SaveFilesTransformer

2006-09-20 Thread Olivier
The transaction * begins on setUp * commit on endDocument * roll back on recycle (if needed!) Geert Josten wrote: How does it work? Kind regards, Geert -Oorspronkelijk bericht- Van: Olivier [mailto:[EMAIL PROTECTED] Verzonden: woensdag 20 september 2006 10:07 A

RE: SaveFilesTransformer

2006-09-20 Thread Geert Josten
Hi Rachid, Yes, you are going wrong at the point where you actually call the savefiles transformer. This transformer is content driven, not parametrized with a save:file element. You have two options: 1. Wrap the result from the generate inside a save:file element using for instance the attach

use: SaveFilesTransformer

2006-09-20 Thread rachid harradi
hello together, i had use the SaveFilesTransformer but i have any file stored in filesystem so is my Sitemap: http://apache.org/cocoon/sitemap/1.0";>

Re: Getting Cocoon Session from outside

2006-09-20 Thread Oleg Konovalov
Jason,Is that two or one Web Project(s) ?Looking at the servlet-mapping's url-pattern:    SpringMVC   /spring/*   Cocoon   /*Looks like you put the SpringMVC project inside the Coocoon web project [/spring].Or can they still be 2 separate web projects (with root on the same level, like /cocoon-app

FileUploadManager

2006-09-20 Thread Richard Light
Hi, I have been trying to get the FileUploadManager to work, as described in the FileUploadsWithFlow Wiki page, and hit an initialisation problem - it "could not get class" FileUploadManagerImpl. After much trial and error, I was able to get it at least start (I haven't tried actually uploa

Re: Re: Where do I put my own classes?

2006-09-20 Thread Bertrand Delacretaz
On 9/20/06, Dev at weitling <[EMAIL PROTECTED]> wrote: ...Where in BricksCMS do I have to look? Which cleaner way?... If you start with bricks-cms/README.TXT, build it and study the source code, you'll see that it demonstrates a convenient way of organizing your Cocoon app's source code (sitem

Re: Where do I put my own classes?

2006-09-20 Thread Dev at weitling
Hello Bertrand, sorry, your answer looks as mysterious as much of the documentation of Cocoon... Where in BricksCMS do I have to look? Which cleaner way? Thanks, Florian Bertrand Delacretaz wrote: This will work, but if you need to go further you might want to study the Bricks example, which

HTML in CForms Output

2006-09-20 Thread Stewart, Gary
I was looking at creating HTML in CForms output. I found this post: http://www.mail-archive.com/users@cocoon.apache.org/msg35125.html which outlines doing: (I'm using 2.1.8 still, hence the old method). However that doesn't seem to be dynamically recreated with the AJAX stuff. Is there a wa

Re: fd:multivaluefield -> direct the content of the two fields!!!

2006-09-20 Thread jantje
Query the database from my flowscript? I have an object oriented database (db4o.com).. is it also possible to query this database in flowscript? do you know where to find information about this.. and how can I f.i. do this in flowscript: "import com.db4o.*" Can someone tell me how to do this in f

Re: Re: Where do I put my own classes?

2006-09-20 Thread Bertrand Delacretaz
On 9/20/06, Dev at weitling <[EMAIL PROTECTED]> wrote: ... WEB-INF/classes/my/stuff/super/Thingies.class... This will work, but if you need to go further you might want to study the Bricks example, which shows a clean way of integrating your code with Cocoon's. See http://wiki.apache.org/coco

Re: http://cocoon.zones.apache.org/daisy not responding

2006-09-20 Thread Bertrand Delacretaz
Fixed, thanks. We should improve the zone setup for auto-restart of everything, maybe at the GT Hackathon. -Bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Where do I put my own classes?

2006-09-20 Thread Dev at weitling
Hi Gary, so, just like this?: sitemap.xmap WEB-INF/classes/my/stuff/super/Thingies.class WEB-INF/lib/mystuff.jar Cool! As far as I realized specifying check-reload="yes" should be fine for a developer without restarting Cocoon to reload the classes. Your answer helped! :-) Florian Stewart,

RE: Where do I put my own classes?

2006-09-20 Thread Stewart, Gary
> -Original Message- > From: Dev at weitling [mailto:[EMAIL PROTECTED] > > Where do I put my own classes in the directory structure (mounted > sitemap somewhere in my user directory) and/or do I have to declare a > classpath in my sitemap? You should just be able to put them in WEB-INF/cl

Re: Where do I put my own classes?

2006-09-20 Thread Dev at weitling
Hi Jeroen, it's a simple standard build from source of Cocoon 2.1.9, nothing extraordinary. I just enabled a user-mounted subsitemap pointing to /home/florian/cocoon/mymap. Now assume I want to use a custom Action class or JavaBean for forms binding or other Java class thingies. In which directory

RE: Where do I put my own classes?

2006-09-20 Thread Jeroen Reijn
Hi Florian, it might be usefull to provide us with some more information: - With which version of cocoon are you trying to develop your application? - Are you building cocoon from the cocoon source code? Kind regards, Jeroen Reijn -Original Message- From: Dev at weitling [mailto:[EM

http://cocoon.zones.apache.org/daisy not responding

2006-09-20 Thread Robby Pelssers, AGP
FYI !!  

Where do I put my own classes?

2006-09-20 Thread Dev at weitling
Hi you all! Where do I put my own classes in the directory structure (mounted sitemap somewhere in my user directory) and/or do I have to declare a classpath in my sitemap? Thanks, Florian - To unsubscribe, e-mail: [EMAIL PROTEC

Re: RE: cocoon not responding

2006-09-20 Thread Derek Hohls
Yup - I think that sums it up *very* well. >>> "Bertrand Delacretaz" <[EMAIL PROTECTED]> 2006/09/20 09:52:50 AM >>> On 9/18/06, Philippe LAPLANCHE <[EMAIL PROTECTED]> wrote: > Plugging hibernate is easy ? Your cannot "plug" hibernate, if you're currently working with direct SQL queries it's quite

RE: Free for use: SaveFilesTransformer

2006-09-20 Thread Geert Josten
How does it work? Kind regards, Geert > -Oorspronkelijk bericht- > Van: Olivier [mailto:[EMAIL PROTECTED] > Verzonden: woensdag 20 september 2006 10:07 > Aan: users@cocoon.apache.org > Onderwerp: Re: Free for use: SaveFilesTransformer > > Hi all, > I've build a transactionnal write tr

Re: Free for use: SaveFilesTransformer

2006-09-20 Thread Olivier
Hi all, I've build a transactionnal write transformer on top of : http://jakarta.apache.org/commons/transaction/ Works fine in production. Geert Josten wrote: Hi all, Available on wiki: http://wiki.apache.org/cocoon/SaveFilesTransformer It might be that someone else already wrote a Transforme

Re: RE: cocoon not responding

2006-09-20 Thread Bertrand Delacretaz
On 9/18/06, Philippe LAPLANCHE <[EMAIL PROTECTED]> wrote: Plugging hibernate is easy ? Your cannot "plug" hibernate, if you're currently working with direct SQL queries it's quite some work to move to an object-relational mapper. -Bertrand -