Upload widget

2013-04-04 Thread Peter Sparkes
Hi , When uploading a file with the same name as one previously uploaded a new file is created with an incremented file name eg. image.jpg 0_ image.jpg 1_ image.jpg etc. Please, how can I get the widget to replace the old file with the new file keeping the same file name Regards Peter

Upload widget cocoon-2.1.11

2012-10-14 Thread Peter Sparkes
Hi, I want to use two upload widgets in a CForm. Each widget will upload files to a different directory eg: 1. images/ 2. pdfs/ Please how can I do it as the web.xml appears to only allow in init-param param-nameupload-directory/param-name param-valueD:\test/param-value

Re: Upload widget cocoon-2.1.11

2012-10-14 Thread Peter Sparkes
On 14/10/2012 10:18, Peter Sparkes wrote: Hi, I want to use two upload widgets in a CForm. Each widget will upload files to a different directory eg: 1. images/ 2. pdfs/ Please how can I do it as the web.xml appears to only allow in init-param param-nameupload-directory/param-name

Upload widget in CForms

2011-12-01 Thread Patricia Déchandol
Hello, I have a problem, which seems to be simple but I can't find the answer. I work with Cocoon CForms. I use dojo 0.4.3 to define widgets. My CForm has a fd:upload widget to let the user upload a local file on the server. It works fine. I would need to get the path to the local file before

Upload widget throws parsing exception with the new DOJO

2008-12-02 Thread imran
Hi, We are using an upload widget inside an ajax enabled form. It used to work fine with cocoon 2.2 with the old dojo ... but since we checked out the new cocoon source with the new dojo it has started throwing parsing error .. it only throws it when it tries to render a textarea .. the page

Upload widget - Storing Data Permanently

2008-08-21 Thread Peter Sparkes
Hi, When data is uploaded using the Upload Widget it is automatically cleaned up when the upload widget instance object is finalized by the JVM. Please, how can I permanently store the data (image file)? Thanks Peter Sparkes

Upload Widget C. 2.2.0

2008-08-19 Thread JLe
Hi, I nearly migrated my whole 2.1.10 app to 2.2.0 but i just don't get the upload widget to work. i made a few steps, and now I am at the point where JETTY screams: -- System.JSON.getI18nMessage - Could not find i18n key: progress.finished -- happens when i selected the file

Re: upload widget

2008-03-17 Thread Peter Sparkes
the /upload/ sample in the CForms Block Samples I am trying to upload files, however, the uploaded files are deleted at the end of a request. Please how do I permanently save the uploaded files. From form object get upload widget and ask it for its value which is Part[1] object. You should do

Re: upload widget

2008-03-17 Thread Grzegorz Kossakowski
Peter Sparkes pisze: Thanks Grzegorz, Unfortunately I can't get it to work, code is: function upload() { var form = new Form(forms/upload_model.xml); var k = form.showForm(upload-display-pipeline.jx); k.invalidate(); var widget = form.getChild(upload); var uploadedContent =

Re: upload widget

2008-03-17 Thread Felix Knecht
Peter Sparkes schrieb: Thanks Grzegorz, Unfortunately I can't get it to work, code is: function upload() { var form = new Form(forms/upload_model.xml); var k = form.showForm(upload-display-pipeline.jx); k.invalidate(); var widget = form.getChild(upload); var uploadedContent

Re: upload widget

2008-03-17 Thread Joerg Heinicke
On 17.03.2008 10:26, Felix Knecht wrote: part.copyToFile(new.pdf) ; I don't think that 'part' implements a the function 'copyToFile' (at least I haven't found it). It is, but not really in a useful way: public void copyToFile(String filename) throws IOException {

Re: upload widget

2008-03-17 Thread Joerg Heinicke
On 17.03.2008 23:18, Joerg Heinicke wrote: part.copyToFile(new.pdf) ; I don't think that 'part' implements a the function 'copyToFile' (at least I haven't found it). It is, but not really in a useful way: public void copyToFile(String filename) throws IOException {

Re: upload widget

2008-03-16 Thread Grzegorz Kossakowski
Peter Sparkes pisze: Hi, Following the /upload/ sample in the CForms Block Samples I am trying to upload files, however, the uploaded files are deleted at the end of a request. Please how do I permanently save the uploaded files. From form object get upload widget and ask it for its value

upload widget

2008-03-15 Thread Peter Sparkes
Hi, Following the /upload/ sample in the CForms Block Samples I am trying to upload files, however, the uploaded files are deleted at the end of a request. Please how do I permanently save the uploaded files. Thanks Peter Sparkes

Upload widget

2008-03-08 Thread Peter Sparkes
Hi, Please, using the Upload widget, how do I specify the location on the server I want a file uploaded to. Thanks Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Upload Widget HTML Page does not render

2007-04-24 Thread Pieter Delmee
Steven Barrett wrote: I have tried using the upload widget which works well in my local Cocoon installation using 2.1.9 (windows) However when the code is uploaded to my ISP's server also using 2.1.9 (linux) the HTML page displayed in the browser appears blank. The source reveals

Upload Widget HTML Page does not render

2007-04-21 Thread Steven Barrett
I have tried using the upload widget which works well in my local Cocoon installation using 2.1.9 (windows) However when the code is uploaded to my ISP's server also using 2.1.9 (linux) the HTML page displayed in the browser appears blank. The source reveals that there is HTML content but it does

Re: Upload Widget and Ajax with IE

2007-03-28 Thread Robert Blank
johnson schrieb: There's something strange when using ajax and upload widget, I've two solution. 1. using iframe combine two form, one the oridinary , the other upload widget. 2. add a button to set the state of upload widget to output when you are not using it fuction. both method

Re: Upload Widget and Ajax with IE

2007-03-28 Thread Robert Blank
Robert Blank schrieb: In Cocoon Sample (http://cocoon.zones.apache.org/demos/release/samples/blocks/forms/uploadprogress) it works. But when i use the form definition and the template it does not work with IE. IE send after form-submit an other request than FF and it seems that IE can

Upload Widget and Ajax with IE

2007-03-23 Thread Robert Blank
Hello, i have a Problem with an upload widget in a form in which ajax is activated using Internet Explorer (6 and 7). When I click the save-form button it gets deactivated and nothing more happens. With FF everything works - the form reloads and shows the correct result after the save

Re: Upload Widget and Ajax with IE

2007-03-23 Thread johnson
There's something strange when using ajax and upload widget, I've two solution. 1. using iframe combine two form, one the oridinary , the other upload widget. 2. add a button to set the state of upload widget to output when you are not using it fuction. both method will work. Best rgards

Re: ajax bug for upload widget

2007-03-18 Thread johnson
sorry! the bug appear when there's a upload widget with ajax enable. johnson johnson 提到: addition info: the error will occurs when there's a textarea field in the repeater before. if not it will fine. johnson johnson 提到: Hi: I've a form with a textarea field in it's repeater

Re: ajax bug for upload widget

2007-03-18 Thread johnson
I found the error come from input type=file setting in form-field-styling.xsl, if I change the state to output, or xsl:when test=fi:value, it's ok. johnson johnson 提到: sorry! the bug appear when there's a upload widget with ajax enable. johnson johnson 提到: addition info: the error

upload widget hangs a form in IE6

2006-12-29 Thread Alberto Brosich
Is there a known issue with upload widget and internet explorer in cocoon 2.1.10? I have a multipage form (2 pages) with an upload widget in page 2. model definition: fd:upload id=upload state=disabled required=false /fd:upload template definition: ft:widget id=upload/ When I try to submit

Re: upload widget hangs a form in IE6

2006-12-29 Thread [EMAIL PROTECTED]
Hi Alberto I remember similar problem in 2.1.9. I do not have the solution, but... when in the form template : ft:form-template ... enctype=multipart/form-data .. and the upload widget is disabled fd:upload id=upload state=disabled required=false I found similar problem, try to remove

Re: Problems in Upload Widget

2006-11-22 Thread Alexander Klimetschek
[EMAIL PROTECTED] schrieb: I've a problem with Upload Widget (i'm using Cocoon 2.1.9): when my upload widget is enabled, AXAJ doesn't work! This is the normal (but annoying ;-)) behaviour, since uploads in browsers work via a normal POST initiated by the browser. Programmatically

Re: Problems in Upload Widget

2006-11-22 Thread Alexander Klimetschek
Alexander Klimetschek schrieb: This is the normal (but annoying ;-)) behaviour, since uploads in browsers work via a normal POST initiated by the browser. I actually mean PUT, not POST ;-) Alex -- Alexander Klimetschek http://www.mindquarry.com

Problems in Upload Widget

2006-11-21 Thread s . masoni
Hi all, I've a problem with Upload Widget (i'm using Cocoon 2.1.9): when my upload widget is enabled, AXAJ doesn't work! If I set upload widget state to invisible, the form doesn't submit at all! Someone could help me? Thank you in advance. Simone Masoni Tel. 0571 998771 [EMAIL

upload widget

2006-07-05 Thread Roland Bair
Hello there :) I am new to this mailing list - so plz be patient ! I am working with cocoon 2.1.8 and i have problems with ajax and the upload widgets... I read in the archive that 2.1.9 may solve this problem, true/false? is there any possibility to patch 2.1.8 to accept upload widgets

mapping uploaded image to upload widget in flowscript

2006-03-20 Thread SirMike
I uploaded some images onto disk and stored their paths in a database. I map uploaded files to upload widget. When adding the record everything works fine. The problem is when I try to edit the record with the same binding. java.lang.RuntimeException: The value of an upload widget must

AW: Ajax and upload widget

2006-02-23 Thread Christofer Dutz
Somehow questions concerning the Upload Widget are toally ignored in this list. I asked the same question a few weeks ago and didnt get a single answer. I think well simply have to wait. Von: Joost Kuif [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 22. Februar 2006 13:40

Re: Ajax and upload widget

2006-02-23 Thread g[R]eK
Hello Joost! I read that in version 2.1.8 of cocoon it’s not possible to upload with an ajax enabled form. Searching the mailinglist I see the functionality is (being) changed in the 2.1.9 and 2.2 development versions. I wonder when the 2.1.9 version will be released… Does anyone know? I

Ajax and upload widget

2006-02-22 Thread Joost Kuif
Hi, I read that in version 2.1.8 of cocoon its not possible to upload with an ajax enabled form. Searching the mailinglist I see the functionality is (being) changed in the 2.1.9 and 2.2 development versions. I wonder when the 2.1.9 version will be released Does anyone know? Would it

Problem with upload widget

2006-02-20 Thread Andrew Le Quesne
Title: Problem with upload widget Hello, I have been having problems getting the upload widget to upload files larger than a certain size in cocoon 2.1.8. e.g. a file of circa 100kb was ok but not one of 998kb. Is there a max file size? Sometimes having issues with pdf/zip files although

Re: Problem with upload widget

2006-02-20 Thread Simone Gianni
Hi Andrew, yes, there is a max file size, and you can change it with the upload-max-size parameter in the web.xml file. By default it is commented out in the web.xml, and defaults to 10 megabytes, so i think this is the problem you have while uploading file near 10 megs. If you need larger

Cforms upload widget

2005-12-20 Thread Christofer . Dutz
Hi Just a small question ... How is work on the ajax upload-widget support going on? Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

CForms: Upload Widget in 2.1.7

2005-09-12 Thread Scott Yeadon
Hi, I've upgraded my Cocoon from 2.1.5 to 2.1.7 and there seems to be a problem with the Upload widgets. I have a CForm which has an upload widget, I select a file and value appears in the field, I then hit a submit-type button which executes the ActionListener code. Within this code under

Re: CForms: Bind Onload upload widget???

2004-08-19 Thread oceatoon
Hello I am trying to declare a Java Pacakge in the binding javascript/onload tag but I can't seem to get this to work???  is it possible to import Java Packages like in flow in the binding javascript / onload tag ? fb:javascript id=path path=@path direction=load fb:load-form  var path =

Re: CForms: Bind Onload upload widget???

2004-08-19 Thread oceatoon
java.io.File(path); var uploadFilePart = Packages.org.apache.commons.httpclient.methods.multipart.FilePart(path,uploadFile); you miss a 'new' keyword here. widget.setValue(uploadFilePart); but I don't think this will work, as the value for the upload widget should

CForms: Onload upload widget getPart(string)???

2004-08-17 Thread oceatoon
Hello everyone I am faced with a pb to recover the content of my uplaod widget on bind load, since what I really bind onSave is the on server path(string) of my uploaded file. Therefore when I bind onLoad, the widget yiels offcourse because of getting a string instead of a Part type Object. So I

i18n:attr Problem -- can't translate the label of a button from an upload widget

2004-08-03 Thread Bald, Michael
Hi all, I hope someone can help me with this... My problem: I want to translate the label of buttons. I don't have any problems with the tanslation of normal buttons. The only exception is the button of the upload widget (Isn't it possible to configure the button in any way?)!!! I went

CForm : Upload widget ??

2004-07-30 Thread oceatoon
Hi every one I have an upload widget, but I get an error right after submiting the form org.apache.cocoon.servlet.multipart.MultipartException: Malformed stream: No such file or directory After a local file upload. I dont really know what the Malformed Stream means? I guess it is thrown

Upload Widget and multiple user

2004-05-12 Thread laurent_rorive
Dear Members, Does anyone know what happen if 2 user simultaneously upload a file called by example : blabla.txt but with a different content What will happen in my flowscript ? Can I be sure that the correct file will follow the correct user ? Thx for the info Laurent

Re: Upload Widget and multiple user

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 15:21, [EMAIL PROTECTED] wrote: Dear Members, Does anyone know what happen if 2 user simultaneously upload a file called by example : blabla.txt but with a different content What will happen in my flowscript ? Can I be sure that the correct file will follow the correct user ?

Re: Woody + Upload Widget

2004-05-06 Thread laurent_rorive
Thx ! I worked with cocoon 2.1.3 and in this version it fails. I also installed 2.1.4 and effectively the sample works But when I couple this with my simple woody application . Actually no way. There is a missing doc on this ! Is there someone who has doc on it or url Laurent

Woody + Upload Widget

2004-05-05 Thread laurent_rorive
Dear Members, Is there some one who has experience with it. If yes , could you send me a definition , a template , a flow and perhaps an action sample Thanks for your help ! Laurent

Re: Woody + Upload Widget

2004-05-05 Thread Joerg Heinicke
On 05.05.2004 10:19, [EMAIL PROTECTED] wrote: Dear Members, Is there some one who has experience with it. I have it working with Cocoon 2.1.4. If yes , could you send me a definition , a template , a flow and perhaps an action sample There is a working sample in the woody block samples.

Re: Woody : multipage Form and File Upload Widget

2003-07-30 Thread Bruno Dumon
On Wed, 2003-07-30 at 19:55, maisonneuve nico wrote: hi , i begin with woody form, and i would know: - if it's possible to create a multi-page form (like XMLForm example) ? there's no special support in woody for that, but you can simply create multiple separate forms. - is a File upload