On 1/17/06, Bob Harner <[EMAIL PROTECTED]> wrote: > On 1/17/06, Goetzmann Bertrand <[EMAIL PROTECTED]> wrote: > > > > Exploring the Web, it seems there is a possobility using the upload pseudo > > protocol and a "copy source" action to copy the uploaded file into a server > > folder ! > > > > Bertrand. > > > > ________________________________ > > De : Goetzmann Bertrand [mailto:[EMAIL PROTECTED] > > > > Envoyé : mardi 17 janvier 2006 13:25 > > À : [email protected] > > Objet : RE: Handling a multipart/form-data post > > > > > > > > Thank for your help, > > > > My goal is to handle the request with a matching in a pipeline, and then > > extract the uploaded file in order to save it on the server disk. > > I thought the StreamGenerator component was the solution but it seems it > > handles only XML stream. > > > > Ard, do you some idea in the way I can setup the pipeline ? > > > > For the editor FCKrditir I spoke about, see www.fckeditor.net/. It's an > > interesting tool to use with CMS solution. > > > > Thank you ! > > > > ________________________________ > > De : Ard Schrijvers [mailto:[EMAIL PROTECTED] > > Envoyé : mardi 17 janvier 2006 12:44 > > À : [email protected] > > Objet : RE: Handling a multipart/form-data post > > > > > > > > make sure you have in your web.xml in the <servlet> element > > > > <!-- > > Causes all files in multipart requests to be processed. > > Default is false for security reasons. > > Unsupported values will be interpreted as false. > > --> > > <init-param> > > <param-name>enable-uploads</param-name> > > <param-value>true</param-value> > > </init-param> > > <init-param> > > <param-name>form-encoding</param-name> > > <param-value>utf8</param-value> > > </init-param> > > > > AS > > > > -----Original Message----- > > From: Goetzmann Bertrand [mailto:[EMAIL PROTECTED] > > Posted At: dinsdag 17 januari 2006 9:27 > > Posted To: Cocoon User List > > Conversation: Handling a multipart/form-data post > > Subject: Handling a multipart/form-data post > > > > > > > > Hi again ! > > > > I'm in the work to integrate the FCKeditor with Cocoon (a Cocoon > > "connector") : this editor can be included in a web page and the user can > > insert, in other things, an image by browsing existing files on the server ; > > another fonctionality is to upload a file to the server. For this a common > > "multipart/form-data" post goes with a request. > > > > In Cocoon, how can we handle a such request ? > > > > Thank you for any precius help. > > We have been working for several months on integrating FCKeditor with > Lenya (Cocoon-based CMS). See > http://wiki.apache.org/lenya/HowToIntegrateFCKEditor. > > We're not quite done, but the approach we took was to write a coocon > Action component (FredSaveAction.java) that saves the uploaded file to > a local file on disk. Hope this helps. > Correction: Our file that handles the uploaded files is UploadFredAsset.java, not FredSaveAction, viewable at http://wiki.apache.org/lenya/HowToIntegrateFCKEditor?action=AttachFile
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
