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

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

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

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 some work to

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

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

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

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

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

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/classes

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: 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: 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

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

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: jx:set var=xhtmlString value='${widget.getChild(myOutputWidget).getValue()}' / jx:out

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,

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

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

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: servlet-mapping servlet-nameSpringMVC/servlet-name url-pattern/spring/*/url-pattern/servlet-mappingservlet-mapping servlet-nameCocoon/servlet-name url-pattern/*/url-pattern/servlet-mappingLooks like you put the

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: ?xml version=1.0 encoding=UTF-8? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; map:components !--map:generators default=objectionHTMLGenerator

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

Re: Free for use: SaveFilesTransformer

2006-09-20 Thread Olivier
map:resource name=write map:transform src=blog/{blogfile} type=orcades-file-writer map:parameter name=dest-dir value={orcades:data-path}// /map:transform The transaction * begins on setUp * commit on endDocument * roll back on recycle (if needed!) Geert Josten wrote: How does it

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: map:match pattern=upload map:call function=upload/ /map:match

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 map:flow element is case-sensitive, i.e. map:flow language=JavaScript map:script src=upload.js / /map:flow not:

Re: Restricting Logging

2006-09-20 Thread Erron Austin
I added category log-level=ERROR name=/ 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 +1000Hi,I am having trouble changing the logkit.xconf to restrict logging of

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 category log-level=ERROR name=/ 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

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 role-list element from

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: map:resource name=write map:transform src=blog/{blogfile} type=orcades-file-writer map:parameter name=dest-dir value={orcades:data-path}//

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

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

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: servlet-mapping servlet-nameSpringMVC/servlet-name url-pattern/spring/*/url-pattern /servlet-mapping servlet-mapping servlet-nameCocoon/servlet-name