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
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
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
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
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
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
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
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.
>
>
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 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
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
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
---
[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
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.
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
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
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?
>
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
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
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
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
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]
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
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
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
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.
>
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
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.
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
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?)!!!
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
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
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
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
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
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
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.
&
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
52 matches
Mail list logo