Re: File upload with flow (Wiki examples)

2003-09-17 Thread Geoff Howard
Stephen Ramsay wrote: On Mon, Sep 15, 2003 at 03:29:25AM +, Steve Schwarz wrote: Everything Steve says below is good advice - just offering more detail to dispel some of the magic. A couple ideas that might help: Instead of editing the web.xml I'm pretty sure I edited the build.properties

Re: File upload with flow (Wiki examples)

2003-09-15 Thread Geoff Howard
Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 10:01:05PM -0400, Geoff Howard wrote: Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 08:33:01AM -0400, Geoff Howard wrote: Aha! That wiki example has a problem I just noticed -- you shouldn't return null here (I just corrected the wiki). Use the

Re: File upload with flow (Wiki examples)

2003-09-15 Thread Geoff Howard
Geoff Howard wrote: Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 10:01:05PM -0400, Geoff Howard wrote: Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 08:33:01AM -0400, Geoff Howard wrote: Aha! That wiki example has a problem I just noticed -- you shouldn't return null here (I just corrected

Re: File upload with flow (Wiki examples)

2003-09-15 Thread Geoff Howard
Geoff Howard wrote: I just finally got a second to look at the code, and my vague memory was right. During a security related refactoring of the upload code before 2.1M1 (U2/MLK fans may be interested to know it was early morning, April 4 by complete coincidence) an unconfigurable (means it

Re: File upload with flow (Wiki examples)

2003-09-14 Thread Geoff Howard
Stephen Ramsay wrote: On Thu, Sep 11, 2003 at 11:09:41PM -0400, Geoff Howard wrote: 2. It also says you can Alternatively . . . write the following Java code in your sitemap components. What does it mean to write Java code in the sitemap components. Does that mean use it as an Action? Yes,

Re: File upload with flow (Wiki examples)

2003-09-14 Thread Stephen Ramsay
On Sun, Sep 14, 2003 at 02:40:54PM -0400, Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 08:33:01AM -0400, Geoff Howard wrote: Aha! That wiki example has a problem I just noticed -- you shouldn't return null here (I just corrected the wiki). Use the corrected version above - I'll explain

Re: File upload with flow (Wiki examples)

2003-09-14 Thread Stephen Ramsay
On Sun, Sep 14, 2003 at 10:21:35PM -0400, Stephen Ramsay wrote: (it resides in cocoon/WEB-INF/classes/edu/uga/cantor/english/SGUpload.java) Sorry, I meant edu/uga/english/cantor I think it's getting to the action successfully, in any event (which is a start!) Steve -- Stephen Ramsay

Re: File upload with flow (Wiki examples)

2003-09-13 Thread Stephen Ramsay
On Thu, Sep 11, 2003 at 11:09:41PM -0400, Geoff Howard wrote: 2. It also says you can Alternatively . . . write the following Java code in your sitemap components. What does it mean to write Java code in the sitemap components. Does that mean use it as an Action? Yes, but not limited

File upload with flow (Wiki examples)

2003-09-11 Thread Stephen Ramsay
I've spent the last couple of weeks beating my head against the wall trying to get file uploading to work in Cocoon 2.1. I've read the File Uploads with Flow howto on the Wiki (as well as the other upload howtos, the docs, the update guide, and the list archives), but I'm still confused about a

Re: File upload with flow (Wiki examples)

2003-09-11 Thread Geoff Howard
Stephen Ramsay wrote: I've spent the last couple of weeks beating my head against the wall trying to get file uploading to work in Cocoon 2.1. I've read the File Uploads with Flow howto on the Wiki (as well as the other upload howtos, the docs, the update guide, and the list archives), but I'm