Re: [Cocoon-Users] Prepared statements with the SQL transformer

2006-10-04 Thread David Kavanagh
John, The SQL transformer that ships with cocoon is much different than the one that we use at DOTech. We made a lot of improvements, such as transaction handling, batch inserts, parameter passing (and probably other things Irv can list). Did you have some problem getting stuff working with

Re: [Cocoon-Users] Prepared statements with the SQL transformer

2006-10-04 Thread David Kavanagh
Geeze. I didn't check, but I thought I was replying to John directly. Sorry to the list! Thus Spoke David Kavanagh: John, The SQL transformer that ships with cocoon is much different than the one that we use at DOTech. We made a lot of improvements, such as transaction handling, batch

access to environment in sitemap component

2006-02-08 Thread David Kavanagh
I'm working on this JasperSerializer and while it works pretty well, I'm trying to resolve image locations better. To do this, I'd like access to the cocoon Environment so I can get the app's context path. I was looking over the javadoc and just haven't found what I'm looking for. Can anyone

Re: [Cocoon-Users] access to environment in sitemap component

2006-02-08 Thread David Kavanagh
I think I answered my own question. (finally!) Environment env = CocoonComponentManager.getCurrentEnvironment(); Thus Spoke David Kavanagh: I'm working on this JasperSerializer and while it works pretty well, I'm trying to resolve image locations better. To do this, I'd like access

Re: [Cocoon-Users] Re: Hibernate in Cocoon

2006-01-09 Thread David Kavanagh
Transformer (which is quite a bit different and more advanced than the stanard cocoon one). We just didn't need the caching and lazy loading that hibernate would have provided. We need to drive an AJAX tree view of a tree data structure. David Thus Spoke Beat De Martin: David Kavanagh wrote

Hibernate in Cocoon

2006-01-05 Thread David Kavanagh
Has anyone interfaced with Hibernate in a pipeline? Did you write a transformer, call JavaFlow or something else? I'm thinking of using the Hibernate XML export feature to load objects into my pipeline (inside a transformer). I'd certainly appreciate hearing about any existing work in this

Re: Looking for a transformer

2004-06-02 Thread David Kavanagh
I think the SourceWritingTransformer will do this. http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transformer.html David Thus Spoke Lionel Crine: hi there, I'm looking for a transformer that can record SAX events on the local disk. Is it exist or not ? Thanks a lot. Lionel

Re: Automatic redirection

2004-03-25 Thread David Kavanagh
we wrote a RedirectTransformer. We could share the code. David Thus Spoke Lionel Crine: Hi there, What is the best way to make a redirection at the end of a pipeline ? PS: I do not want to use redirect-to and action. Thanks Lionel Lionel CRINE Ingénieur Systèmes documentaires Société :

result-set - xsl:fo

2003-11-18 Thread David Kavanagh
Just thinking about standard conversion templates. I was just doing some transforming from a result-set notation to a table in xsl:fo. Mine is still crude and I wondered if someone has already done this and can share it? David

Re: Stopping a SAX parser

2003-11-06 Thread David Kavanagh
up. This was my expectation, but I haven't looked at the code (which is always the last word!) David Bruno Dumon wrote: On Thu, 2003-11-06 at 17:36, David Kavanagh wrote: If I'm not mistaken, you can call endDocument() in your own transformer at any time. That effectively puts an end

transactions in SQLTransformer

2003-10-21 Thread David Kavanagh
If anyone needs transaction support in the SQLTransformer. Have a look at this and vote for it. :-) http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20631 I've found it very useful on a project I'm working on and it would be a nice addition to the standard SQLTransformer. David

Re: Acrobat 4.0 and Cocoon/FOP

2003-09-18 Thread David Kavanagh
Not sure, but Acrobat 4 is 2 versions old and IE 5 is getting pretty old also (I ditched it for testing my web apps). I understand you might have constraints on the client side, but can people upgrade to AcroRead 5 or 6? David Michael Vennera wrote: Has anyone come across an issue with

Re: SQLTransformer not committing Inserts

2003-09-15 Thread David Kavanagh
This is because when you end a pipeline with the map:redirect, nothing else gets executed. The redirect happens when the pipeline is setup. We've had need for similar pipelines where processing is done, then a redirect is performed. We wrote a redirect transformer that we'd be glad to

datasource connect retry

2003-08-07 Thread David Kavanagh
I'm seeing a problem with cocoon 2.0.4 and my database connection. I'm running on JBoss3.0.7 with tomcat 4.1.x and JDK1.4.1_01 What happens is that I connect to the database to get information for a screen. That works fine. I drop the connection (close my port map), then the query fails (with

Re: Caching of aggregate parts

2003-08-04 Thread David Kavanagh
Here is how we do it. Just stash the DOM object for the XML into the sesssion. map:match pattern=assoc-list map:select type=sessionAttributeExists map:parameter name=attribute-name value=assoc-cache/ map:when test=true

Re: service manager

2003-08-01 Thread David Kavanagh
a problem that you're noticing, or were you just surprised to notice this ? :) The proxy should wrap the instantiated component and its invocation handler should orward all calls to the original instance implicitly. Is this happening? Cheers, Marcus On Fri, Aug 01, 2003 at 12:10:17PM -0400, David

Re: service manager

2003-08-01 Thread David Kavanagh
a problem that you're noticing, or were you just surprised to notice this ? :) The proxy should wrap the instantiated component and its invocation handler should orward all calls to the original instance implicitly. Is this happening? Cheers, Marcus On Fri, Aug 01, 2003 at 12:10:17PM -0400, David