Re: hibernate+cocoon connection pool

2005-05-17 Thread Gertjan Assies
Hi Carlos, I've found the following page with articles and tutorials very helpful http://www.hibernate.org/78.html regards, Gertjan Carlos M. S. Bento Nogueira wrote: Relevant Facts: -I've just completed Hibernate and Cocoon wiki[1] which went fine -I've also mapped my postgresql database using Mid

Re: get an array from cocoon request

2005-03-17 Thread Gertjan Assies
I dont think the brackets should be in the name of the input element the request object takes the input elements with the same names and returns those as an array with the getParameter try group 1 cheers, Gertjan Vlad Golodov wrote: Hi! was trying for a while to get an array from cocoon request

use of property files in actions

2005-01-20 Thread Gertjan Assies
Hi, I've written my own action, but it has need of some location specific parameters. specifically a path I would like to put these parameters in a property file so I can easily deploy my app to different locations (dev/staging/live) without having to change those values. I'm familar with the u

Disappearing namespace definition when xml is generated through a cocoon:// psuedoprotocol

2005-01-04 Thread Gertjan Assies
hi, I'm having some problems with a disappearing namespace both seem related to when the xml is generated through a cocoon://something in the sitemap Anyone else have had this problem, and perhaps know how to fix this? The system that fails: FreeBSD 4.10-STABLE cocoon-2.1.5.1 running in Tomcat 4.

Re: Uploaded file disappears on Tomcat restart

2004-11-01 Thread Gertjan Assies
instead of mine! --- Gertjan Assies <[EMAIL PROTECTED]> wrote: Hi, I use the following simple code to move uploaded files It's called from the action which handles the submitted form the _sName here is extracted from the submitted field value which contains the local path and

Re: Uploaded file disappears on Tomcat restart

2004-11-01 Thread Gertjan Assies
Hi, I use the following simple code to move uploaded files It's called from the action which handles the submitted form the _sName here is extracted from the submitted field value which contains the local path and the filename private boolean moveFile(String _sName) { boolean bResult = fals

Re: Action (accessing jdbc-pooll) using Avalon components

2004-10-19 Thread Gertjan Assies
Hi, As fas as I now you need to close the Connection btw I did this by implementing the Composable interface like so : public class myAction extends AbstractAction implements Composable { private DataSourceComponent datasource; public void compose(ComponentManager manager) throws ComponentE