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 -

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 upload-directory D:\test to set one uploa

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 upload-directory D:\test to set one upload directory? Also if I set ../test What's

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 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 being upl

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-18 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 i

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 { InputSt

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 { InputStre

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 uploadedCon

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 uploadedConte

Re: upload widget

2008-03-17 Thread Peter Sparkes
g ? Peter Sparkes 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

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 that the

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

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 not/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 m

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. B

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: 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. > >

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 提到: > >

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 : and the upload widget is disabled I found similar problem, try to remove state="disabled". Bye, Alessandro Alberto Brosich ha scritto: Is there a known issue w

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: template definition: When I try to submit the form a dialog shows the message "No response data found". In co

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

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 b

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.

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 wit

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 be of

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? >

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 didn’t get a single answer. I think we’ll simply have to wait

Ajax and upload widget

2006-02-22 Thread Joost Kuif
Hi,   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?   Would

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 upl

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

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]

[Fwd: CForms: Upload Widget in 2.1.7]

2005-09-12 Thread Scott Yeadon
Pls ignore previous query (included below) - I forgot to update the web.xml for uploads after upgrading. Apologies. Scott. --- Begin Message --- 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 w

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

How to reset an upload-widget

2004-10-01 Thread Björn Voigt
Moin, i use an upload-widget in my cforms, but I need it once more, but I cant set the value to null to reset it for reuse. setValue is not implemented and throws an exception. How is it possible to reset it? Thank you Björn - To

Re: CForms: Bind Onload upload widget???

2004-08-19 Thread oceatoon
ontext.getValue("@path"); >> var uploadFile = new java.io.File(path); >> var uploadFilePart = >> Packages.org.apache.commons.httpclient.methods.multipart.FilePart(path,uploadFile); > > you miss a 'new' keyword here. >

Re: CForms: Bind Onload upload widget???

2004-08-19 Thread Bruno Dumon
get.setValue(uploadFilePart); but I don't think this will work, as the value for the upload widget should be a org.apache.cocoon.servlet.multipart.Part -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competenc

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 ?  var path = jxpathContext.getValue("@path");  var uploadFile = new java.io.

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?)!!!

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

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 ? Tha

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

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. Joe

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 : 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. &

Woody : multipage Form and File Upload Widget

2003-07-30 Thread maisonneuve nico
hi , i begin with woody form, and i would know: - if it's possible to create a multi-page form (like XMLForm example) ? - is a File upload widget exist ? - how create a rule validation ? thank in advance _ MSN Messenger 6