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 multi-pa

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 -

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]

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 like

Re: is this kosher?

2003-03-13 Thread David Kavanagh
question 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 ---

Re: is this kosher?

2003-03-13 Thread David Kavanagh
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

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 blah, blah... block. I am hitting the database over an SSH port-mapped link, so it is kind of slow. Sometimes my browser gets impatient and give

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 a

adding custom component

2003-04-05 Thread David Kavanagh
I wasn't totally sure this belonged on this list, but the dev-list description didn't make it sound like it belonged there either! I've developed a component (using many Avalon classes/interfaces) that will manage background tasks for my web application (either by time trigger, or by event via a

calling pipline (from code)

2003-04-06 Thread David Kavanagh
I'd like to invoke a cocoon pipeline from another application thread in the same web application as cocoon. What's the prescribed way to do this? I'd also like to use an aggregator up front that will take some output from my code and add it into the XML at the start of the pipeline. I suppose I

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 Configurab

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 c

Re: problem with setting up cocoon in webLogic

2003-06-10 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

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

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

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: background task management

2003-07-01 Thread David Kavanagh
oad the missing source files to bugzilla. Regards, Peter BTW: I would not recommend to use Microsoft Word files for documentation in an open source project. Especially if it's not bound to the Microsoft Windows platform. Better you use plain text, html or xml for contributing documentati