Re: File upload using REST API

2016-10-30 Thread James Selvakumar
Hi Andrea, Thanks for your reply. Maybe I'll look into it. But it'll be great if there is standard support for this. On Mon, Oct 24, 2016 at 11:10 PM, Andrea Del Bene wrote: > Hi, > > I haven't any code that does file upload, but I think you need to > implement a custom

Re: File upload using REST API

2016-10-24 Thread Andrea Del Bene
Hi, I haven't any code that does file upload, but I think you need to implement a custom IWebSerialDeserial that extracts file (or a list of them) from request an then you can pass this value to your REST resource with annotation @RequestBody. Files can be extracted from request in the usual

Re: file upload in nested form with CPM needs dummy model

2013-08-02 Thread Martin Grigorov
Hi, On Thu, Aug 1, 2013 at 6:09 PM, Tom Eicher r...@teicher.net wrote: Hello Martin List, Yes, okay, but is it really necessary for me to define an own model class? Would it not be much more straightforward to just instantiate one of the existing models, like new

Re: file upload in nested form with CPM needs dummy model

2013-08-01 Thread Martin Grigorov
Hi Tom, Did you see my response from last Wednesday ? It looks like you missed it. On Thu, Aug 1, 2013 at 9:40 AM, Tom Eicher - von Unterwegs r...@teicher.net wrote: Any idea where I'm thinking wrong ? Thanks, Tom. Tom Eicher r...@teicher.net schrieb: Hello, I have an outer form,

Re: file upload in nested form with CPM needs dummy model

2013-08-01 Thread Tom Eicher
Hello Martin List, Yes, okay, but is it really necessary for me to define an own model class? Would it not be much more straightforward to just instantiate one of the existing models, like new FileUploadField(UploadFileField, new ModelListFileUpload())); or some Model.of() variant ? However,

Re: file upload in nested form with CPM needs dummy model

2013-07-26 Thread Martin Grigorov
Hi, On Wed, Jul 24, 2013 at 3:55 PM, Tom Eicher r...@teicher.net wrote: Hello, I have an outer form, with a CPM for a business entity. An inner form FormVoid uploadImageForm = new Form(UploadImageForm); has a FileUploadField uploadImageField = new

Re: file upload validation not working

2013-01-10 Thread monika
this is my java code. final FileUploadField fileUpload = new FileUploadField(fileUpload, new PropertyModel(test, fileUpload)); fileUpload.setRequired(true); add(fileUpload);; in properties file form.fileUpload.uploadFailed= plz upload file even there is no

Re: file upload validation not working

2013-01-10 Thread Martin Grigorov
On Thu, Jan 10, 2013 at 11:05 AM, monika g.mon...@nic.in wrote: this is my java code. final FileUploadField fileUpload = new FileUploadField(fileUpload, new PropertyModel(test, fileUpload)); fileUpload.setRequired(true); add(fileUpload);; in properties

Re: file upload validation not working

2013-01-09 Thread Martin Grigorov
Hi, Can you explain with more details ? Your first message is not very clear. On Thu, Jan 10, 2013 at 6:45 AM, monika g.mon...@nic.in wrote: hi its very urgent requirement kindly give me the suggestion. -- View this message in context:

Re: File upload progress bar

2012-01-27 Thread azatmar
PLease add in WicketApplication class in init() method getApplicationSettings().setUploadProgressUpdatesEnabled(true); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/File-upload-progress-bar-tp3255359p4331533.html Sent from the Users forum mailing list archive at

Re: File upload progress bar

2011-02-12 Thread Valentin Avksentyev
I want clarify that the issue on Mac OS X is only with webkit browsers, I tested Safari and Chrome There is no issue when using Firefox, progress bar tracks progress correctly. Added an issue ticket https://issues.apache.org/jira/browse/WICKET-3443 -Valentin On Feb 4, 2011, at 10:17 AM, Pedro

RE: File upload progress bar

2011-02-06 Thread Schaaf van der, Haiko H (NSC)
februari 2011 14:18 Aan: users@wicket.apache.org Onderwerp: Re: File upload progress bar So has anyone out there has been able to get the upload progress bar working? If so, please advise. I definitely don't mind putting together a quickstart, are there directions for that anywhere? -Valentin

Re: File upload progress bar

2011-02-04 Thread Valentin Avksentyev
So has anyone out there has been able to get the upload progress bar working? If so, please advise. I definitely don't mind putting together a quickstart, are there directions for that anywhere? -Valentin On Feb 3, 2011, at 10:18 AM, Valentin Avksentyev wrote: No I'm testing on my own

Re: File upload progress bar

2011-02-04 Thread moèz ben rhouma
If the example doesn't work so I think the problem in your browser. Try to empty the cache, cookies, histories ... and tries again. 2011/2/2 Valentin Avksentyev v...@360works.com Hi I've been beating my head against the wall with this. I'm overriding newWebRequest in my Application class:

Re: File upload progress bar

2011-02-04 Thread James Carman
http://wicket.apache.org/start/quickstart.html On Fri, Feb 4, 2011 at 8:17 AM, Valentin Avksentyev v...@360works.com wrote: So has anyone out there has been able to get the upload progress bar working?  If so, please advise. I definitely don't mind putting together a quickstart, are there

Re: File upload progress bar

2011-02-04 Thread Pedro Santos
Hi Valentin, your code looks good, please fill an ticket with an quickstar reproducing the problem. On Fri, Feb 4, 2011 at 11:21 AM, James Carman ja...@carmanconsulting.comwrote: http://wicket.apache.org/start/quickstart.html On Fri, Feb 4, 2011 at 8:17 AM, Valentin Avksentyev

Re: File upload progress bar

2011-02-03 Thread Valentin Avksentyev
No I'm testing on my own machine, with a 300Mb file, in fact Chrome gives me upload feedback, but nothing from the upload progress bar. Here is the code I'm using: I'm overriding newWebRequest in my Application class: @Override protected WebRequest newWebRequest(HttpServletRequest

Re: File upload progress bar

2011-02-02 Thread Michael O'Cleirigh
Hello, Have you looked at the wicket 1.4 examples here: http://wicketstuff.org/wicket14/upload (this is the source into the github mirror: https://github.com/apache/wicket/tree/wicket-1.4.x/wicket-examples) I tried both and they work to upload I'm not sure on the progress bar as I used a

Re: File upload progress bar

2011-02-02 Thread Valentin Avksentyev
The files get uploaded just fine in my app, but no progress is tracked. It's definitely hard to verify if the progress bar works in the example sites, with a limit of 100k, I haven't tried throttling my upload speed, I guess I should try that next. -Valentin On Feb 2, 2011, at 2:20 PM,

Re: File upload progress bar

2011-02-02 Thread Valentin Avksentyev
Any suggestions? -Valentin On Feb 2, 2011, at 2:22 PM, Valentin Avksentyev wrote: The files get uploaded just fine in my app, but no progress is tracked. It's definitely hard to verify if the progress bar works in the example sites, with a limit of 100k, I haven't tried throttling my

Re: File upload progress bar

2011-02-02 Thread Timo Schmidt
On Wed 02.02.2011 23:49, Valentin Avksentyev wrote: On Feb 2, 2011, at 2:22 PM, Valentin Avksentyev wrote: The files get uploaded just fine in my app, but no progress is tracked. It's definitely hard to verify if the progress bar works in the example sites, with a limit of 100k, I

Re: File upload with inner form and modal window

2010-12-08 Thread Zilvinas Vilutis
Please use pastebin.com or similar for paste'ing code :) Regards Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Tue, Dec 7, 2010 at 12:56 PM, Cédric Thiébault cedric.thieba...@gmail.com wrote: You're right, it works :-) So if I understand, all request will be

Re: File upload with inner form and modal window

2010-12-07 Thread François Meillet
just add form.setMultiPart(true); in your form François Le 7 déc. 2010 à 20:11, Cédric Thiébault a écrit : Hi, I want to upload files with an Ajax form that is in a modal window (using a Panel, not a WebPage). The modal and its form are part of the main form: main-page.html form

Re: File upload with inner form and modal window

2010-12-07 Thread Cédric Thiébault
I've done this in the modal window form... And I set it to false for the main form that is not used for uploading. The upload works well, it's when my modal is closed, the main form (not the one for the upload) throws an exception on submit. Here is the code that I've attached to the Jira issue:

Re: File upload with inner form and modal window

2010-12-07 Thread François Meillet
it has to be in the main form afaik François Le 7 déc. 2010 à 20:27, Cédric Thiébault a écrit : I've done this in the modal window form... And I set it to false for the main form that is not used for uploading. The upload works well, it's when my modal is closed, the main form (not the one

Re: File upload with inner form and modal window

2010-12-07 Thread Cédric Thiébault
It is... Here is the code... HomePage.html html xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; body div wicket:id=feedbackfeedback/div form wicket:id=form Input text: input type=text wicket:id=text size=40 / br / div

Re: File upload with inner form and modal window

2010-12-07 Thread François Meillet
final FormBean formBean = new FormBean(); ModelFormBean model = new ModelFormBean(formBean); FormFormBean form = new FormFormBean(form, model); form.setMultiPart(false); should be true add(form); François Le 7 déc. 2010 à 20:45, Cédric Thiébault a écrit : It is...

Re: File upload with inner form and modal window

2010-12-07 Thread Cédric Thiébault
You're right, it works :-) So if I understand, all request will be multipart just because one of theme needs to be multipart... Thanks for your help François! Cedric 2010/12/7 François Meillet fm...@meillet.com:   final FormBean formBean = new FormBean();   ModelFormBean model = new

RE: File Upload Issues

2009-12-28 Thread Corbin, James
To: users@wicket.apache.org Subject: RE: File Upload Issues Ajax has stopped working. If I remove the file upload component, the ajax begins working as expected. Is there a workaround or a pending fix? Thanks, J.D. -Original Message- From: Douglas Ferguson [mailto:doug...@douglasferguson.us

Re: File Upload Issues

2009-12-28 Thread Major Péter
: Friday, December 18, 2009 12:47 PM To: users@wicket.apache.org Subject: RE: File Upload Issues Ajax has stopped working. If I remove the file upload component, the ajax begins working as expected. Is there a workaround or a pending fix? Thanks, J.D. -Original Message- From

RE: File Upload Issues

2009-12-28 Thread Corbin, James
that are on the same form work. I've also tried 1.4.5 and it behaves the same. J.D. -Original Message- From: Major Péter [mailto:majorpe...@sch.bme.hu] Sent: Monday, December 28, 2009 9:28 AM To: users@wicket.apache.org Subject: Re: File Upload Issues Hi, I had some issue with multipart forms and ajax

RE: File Upload Issues

2009-12-21 Thread Corbin, James
as far back as Version 1.4.1. J.D. -Original Message- From: Ilja Pavkovic [mailto:ilja.pavko...@binaere-bauten.de] Sent: Saturday, December 19, 2009 5:48 AM To: users@wicket.apache.org Cc: Corbin, James Subject: Re: File Upload Issues Hi, did you check the output of the wicket debug

Re: File Upload Issues

2009-12-19 Thread Ilja Pavkovic
this problem. I'll try and get those details as well. J.D. -Original Message- From: Corbin, James [mailto:jcor...@iqnavigator.com] Sent: Friday, December 18, 2009 12:47 PM To: users@wicket.apache.org Subject: RE: File Upload Issues Ajax has stopped working. If I remove the file

Re: File Upload Issues

2009-12-18 Thread Douglas Ferguson
There is a bug in 1.4.4. related to resource loading. Are you sure AJAX has stopped or is it just taking A REALLY LONG TIME? This is the reason they are trying to get 1.4.5 out quickly. D/ On Dec 18, 2009, at 10:15 AM, Corbin, James wrote: Hello, I'm having issues in IE6 relating to

RE: File Upload Issues

2009-12-18 Thread Corbin, James
@wicket.apache.org Subject: Re: File Upload Issues There is a bug in 1.4.4. related to resource loading. Are you sure AJAX has stopped or is it just taking A REALLY LONG TIME? This is the reason they are trying to get 1.4.5 out quickly. D/ On Dec 18, 2009, at 10:15 AM, Corbin, James wrote

RE: File Upload Issues

2009-12-18 Thread Corbin, James
Subject: RE: File Upload Issues Ajax has stopped working. If I remove the file upload component, the ajax begins working as expected. Is there a workaround or a pending fix? Thanks, J.D. -Original Message- From: Douglas Ferguson [mailto:doug...@douglasferguson.us] Sent: Friday, December

Re: File upload without writing to temp file (on Google App Engine)

2009-07-15 Thread uud ashr
.. - Od: Adrian Merrall Přijato: 21.6.2009 9:35:25 Předmět: Re: File upload without writing to temp file (on Google App Engine) On Sun, Jun 21, 2009 at 7:18 AM, Joe Fawzy joewic...@gmail.com wrote: Hi split it into small chunks and store each

Re: File upload without writing to temp file (on Google App Engine)

2009-07-10 Thread uud ashr
ster...@atlas.cz wrote: Hi, I know, how to store data, but I dont know, how to upload it without writing to file and spawning new threads.. - Od: Adrian Merrall Přijato: 21.6.2009 9:35:25 Předmět: Re: File upload without writing to temp

Re: File upload without writing to temp file (on Google App Engine)

2009-06-22 Thread Dolejs Vlastimil
Hi, I know, how to store data, but I dont know, how to upload it without writing to file and spawning new threads.. - Od: Adrian Merrall Přijato: 21.6.2009 9:35:25 Předmět: Re: File upload without writing to temp file (on Google App Engine

Re: File upload without writing to temp file (on Google App Engine)

2009-06-21 Thread Adrian Merrall
On Sun, Jun 21, 2009 at 7:18 AM, Joe Fawzy joewic...@gmail.com wrote: Hi split it into small chunks and store each as a blob in datastore entity Joe On Sat, Jun 20, 2009 at 1:44 PM, Dolejs Vlastimil ster...@atlas.cz wrote: Hi, I´m trying write wicket application for Google App Engine.

Re: File upload without writing to temp file (on Google App Engine)

2009-06-20 Thread Joe Fawzy
Hi split it into small chunks and store each as a blob in datastore entity Joe On Sat, Jun 20, 2009 at 1:44 PM, Dolejs Vlastimil ster...@atlas.cz wrote: Hi, I´m trying write wicket application for Google App Engine. App Engine has some restrictions, one of them is, that you can´t work with

Re: file upload

2009-06-02 Thread Igor Vaynberg
wicket file upload will do just fine. -igor On Tue, Jun 2, 2009 at 9:29 AM, tubin gen fachh...@gmail.com wrote: I am using wicket file upload , In our application users want to upload big files  with the size of 50 MB+,  Do I need any  additional support of or wicket file upload allows this ?

Re: file upload

2009-06-02 Thread Ryan Gravener
Not sure what the wicket default is but you may want to do in your application: getApplicationSettings().setDefaultMaximumUploadSize(Bytes.megabytes(100)); On Tue, Jun 2, 2009 at 12:37 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: wicket file upload will do just fine. -igor On Tue, Jun

Re: File upload field inside of a modal?

2008-03-24 Thread Johan Compagner
dont think so.. ajax file upload is not possible i think. Or do you have examples where they do that? On Mon, Mar 24, 2008 at 6:08 PM, Michael Mehrle [EMAIL PROTECTED] wrote: According to this old threat, the use of a file upload field inside a wicket Ajax modal was not possible:

RE: File upload field inside of a modal?

2008-03-24 Thread Michael Mehrle
No, I don't have an example - looking for a way to make it work... Michael -Original Message- From: Johan Compagner [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 11:30 AM To: users@wicket.apache.org Subject: Re: File upload field inside of a modal? dont think so.. ajax file

Re: File upload field inside of a modal?

2008-03-24 Thread Igor Vaynberg
PROTECTED] Sent: Monday, March 24, 2008 11:30 AM To: users@wicket.apache.org Subject: Re: File upload field inside of a modal? dont think so.. ajax file upload is not possible i think. Or do you have examples where they do that? On Mon, Mar 24, 2008 at 6:08 PM, Michael Mehrle [EMAIL

RE: File upload field inside of a modal?

2008-03-24 Thread Michael Mehrle
Subject: Re: File upload field inside of a modal? usually it is done with a hidden iframe which does the POST -igor On Mon, Mar 24, 2008 at 12:05 PM, Michael Mehrle [EMAIL PROTECTED] wrote: No, I don't have an example - looking for a way to make it work... Michael -Original Message

Re: File upload field inside of a modal?

2008-03-24 Thread Igor Vaynberg
Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 1:41 PM To: users@wicket.apache.org Subject: Re: File upload field inside of a modal? usually it is done with a hidden iframe which does the POST -igor On Mon, Mar 24, 2008 at 12:05 PM, Michael Mehrle

RE: File upload field inside of a modal?

2008-03-24 Thread Michael Mehrle
Right - the old fashioned way. Igor strikes again - I'll give that a shot - let you know if it pans out :-) Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 2:10 PM To: users@wicket.apache.org Subject: Re: File upload field inside

Re: File upload field inside of a modal?

2008-03-24 Thread Igor Vaynberg
way. Igor strikes again - I'll give that a shot - let you know if it pans out :-) Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 2:10 PM To: users@wicket.apache.org Subject: Re: File upload field inside of a modal? via

RE: File upload field inside of a modal?

2008-03-24 Thread Michael Mehrle
What a tease! No source code from what I can tell... Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 2:14 PM To: users@wicket.apache.org Subject: Re: File upload field inside of a modal? take a look here for a starting point: http

RE: File upload field inside of a modal?

2008-03-24 Thread Michael Mehrle
Never mind - found it, but it's PHP. Well, might help to structure things properly. Thanks, Michael -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 2:24 PM To: users@wicket.apache.org Subject: RE: File upload field inside of a modal? What

Re: File upload weird problem

2008-03-06 Thread Piller Sébastien
Well, I did it, and it worked fine ;) Thank you! Could you give me a short explaination? Igor Vaynberg a écrit : can you try not casting to DiskFileItem and just use FileItem.getinputstrema()? -igor - To unsubscribe,

Re: File upload weird problem

2008-03-05 Thread Igor Vaynberg
can you try not casting to DiskFileItem and just use FileItem.getinputstrema()? -igor On Wed, Mar 5, 2008 at 7:25 AM, Piller Sébastien [EMAIL PROTECTED] wrote: Hello, I have a weird problem with the file upload using Wicket. I have a flex application on client side, and the user can