Thanks Just did it before your post :-) I was sure that uploads are enabled! But anyway thanks.
"Alexander Berezhnoy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Ilja, > look at CocoonServlet parameters in web.xml. > Find "enable-uploads" there and set it to true (the default is false). > > Good luck. > Alexander. > > /////// > > > Hmm > > I actually want to use flow script > > > > Cocoon forms documentation says: > > "To retrieve the uploaded data, simply use the getValue method of the > > widget, which will in this case return an object of the following type: > > org.apache.cocoon.servlet.multipart.Part" > > I tried "form.lookupWidget("file").getValue();" - not working. > > > > Cocoon Wiki says (upload using flow): var part = > > cocoon.request.get("upload-file"); > > But how can I get it if it is not there... > > > > > > "Sandor Spruit" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > Ilja Smoli wrote: > > > > Hi > > > > When I add enctype="multipart/form-data" in a form template I lose all > > the > > > > parameters from request... > > > > Im using version 2.1.5. This must be a some bug. How can I fix it? Is > it > > > > possible to fix it without reinstalling whole cocoon or moving to > newer > > > > version? > > > > > > If you are doing this to upload a binary file or something, you better > > > check the mail archives for the discussion on 'FileUploadAction' from > > > last year. I don't think it is a bug, it's a feature getting abused :) > > > > > > Sandor > > > > > > ----------------------------------------------------------------------- > > > Information and Computing Sciences, Utrecht University, the Netherlands > > > 'Content and knowledge engineering' http://www.informationscience.nl/ > > > Personal coordinates: http://www.cs.uu.nl/people/sandor/ > > > "... unthinkable surprises, about to happen, but what they are - > > > it's not up to you, oh, it never really was." (Bjork on Vespertine) > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
