Hi there Antony,
I have some basic problems with the ajax uploader
a) allowedExtensions does not seem to work, it gives me a js error in the
console "ReferenceError: jpg is not defined allowedExtensions: [jpg]"
heres my config:
<uploader:uploader id="activityPhotoUploaderId"
url="${[controller:'upload', action:'photo']}" multiple="true"
allowedExtensions="['jpg']">
<uploader:onComplete>....
b) temporaryFile = '/tmp/uploaded.file' - I dont think could this work in
an environment with lots of concurrent users? it could possibly be wrote
over with someone elses image. I ended up overriding your
AjaxUploadController to use a dynamic random file name
c) is there any built in way to have a 'remove' function/label so that I can
send message to server to remove the tmp uploaded file. I see there is a
onCancel callback but how is it triggered ?
hope you can help, its the best upload plugin as far as I see
--
View this message in context: http://grails.1312388.n4.nabble.com/Upload-progress-tp3662835p4652468.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email