background task management

2003-07-01 Thread David Kavanagh
For those who were interested in something to manage background tasks in cocoon, have a look at bug 20271 in the bugzilla database. Please vote for it so it gets some attention. Thanks, David

Re: caching proposals: SQLTransformer and Request

2003-06-27 Thread David Kavanagh
Christian, When we've had the need to cache a query, we just throw the result (as a DOM object) into the sesssion. I'm including the sample pipeline. I'll typicailly aggregate the results of this with something else (usually a dynamic query) and I'm all set. When I want to clear the cache, the

Re: color in excel spreadsheet not working with HSSFSerialiser

2003-06-19 Thread David Kavanagh
Joy, Have you tried looking at the HSSFSerializer code? See how they handle the shade and color attributes you are trying to set. If they are passed to the POI code, perhaps it is a POI problem. I sometimes find the source code a little faster than the user-list. David Joydeep Bose wrote:

how to generate PDF and redirect at same time

2003-06-15 Thread David Kavanagh
I have a situation where I'm going to generate a PDF (using FOP) and I need to refresh the page the user was on. Any thoughts? I can't both generate output and issue a redirect. I thought about (upon the user action) refreshing the current page and in that html, causing a popup to appear where

Re: problem with setting up cocoon in webLogic

2003-06-11 Thread David Kavanagh
Could you please post errors from the log files? They should be in your cocoon web app directory under WEB-INF/logs. The error.log usually has something useful, but I would look in core.log for this type of error. David Anne Kwong wrote: Dear all, I followed the instruction and is

Re: How to access sourceResolver in action configure() method

2003-05-27 Thread David Kavanagh
Michal, The action has access to the SourceResolver in the act() method, but not the compose() method. In cocoon2.1, I hear you can get access to the SourceResolver via the ServiceManager (or will it still be the ComponentManager?). David DURDINA Michal wrote: Hello! I am using own

background task manager

2003-05-27 Thread David Kavanagh
I'm seeking a committer to help review the stuff I've written. I know it works for what we've been using it for and will probably help a bunch of other people out. I have the OK from our management for donating the code, but need a committer to make sure I haven't done anything taboo in the

JNDI datasource from Cocoon

2003-04-01 Thread David Kavanagh
I spent a bit of time getting this to work, so I thought I'd submit it to the list. Can someone add this to the CocoonWiki how-tos list? Switching from Cocoon managed datasource to JBoss JNDI datasource. Up til now, I've used the datasource defined in cocoon which managed pooling, etc. The

SQLTransformer

2003-03-17 Thread David Kavanagh
I'm using the SQLTransformer to insert somewhat large data sets into an Oracle database. I generate XML from a spreadsheet input. Each row gets its own execute-queryqueryblah, blah.../query/execute-query block. I am hitting the database over an SSH port-mapped link, so it is kind of slow.

is this kosher?

2003-03-13 Thread David Kavanagh
I've written this HTTPTransformer which takes some simple XML containing link information (href, method) and returns either html (run through JTidy), xml (from the web server), or xml containing the location of the file that was downloaded (if type wasn't text/html* or text/xml*). Now, I'd

Re: is this kosher?

2003-03-13 Thread David Kavanagh
on the cocoon-dev list, I'd say. Cheers! Con -Original Message- From: David Kavanagh [mailto:[EMAIL PROTECTED]] I've written this HTTPTransformer which takes some simple XML snip/ - To unsubscribe, e-mail

Re: is this kosher?

2003-03-13 Thread David Kavanagh
in the pipline by this method? Irv suggested using the session object which I'll also go along with. I'm just wondering what is the accepted mechanism. David Conal Tuohy wrote: -Original Message- From: David Kavanagh [mailto:[EMAIL PROTECTED]] Well, maybe.. Just as a matter

parsing CSV

2003-03-12 Thread David Kavanagh
Does anyone have a grammar example that configures the TextParserGenerator to parse CSV files? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

multi-part forms

2003-02-20 Thread David Kavanagh
I'm looking over documentation on cocoon and can't find anything that deals with handling multi-part forms. Specificly, I'd like to be able to upload an XLS file, use POI to convert to XML, then mess with it a bit. So, as far as I can tell, there are two part I might have to write, the

file upload

2003-02-20 Thread David Kavanagh
Ok, I'm starting to get it... Let me see if this is right. I found the FileUploadWithAction page on the CocoonWiki, so I just configure cocoon to save the uploaded files, then write an action to call POI to generate XML from that saved XSL file... sound good? David