Author |
Message |
14/06/2013 08:46:18
|
uwinter
Active
Joined: 10/06/2013 09:04:50
Messages: 6
Offline
|
Hello,
in a small dialog our users can upload a file to the server. Therefore we use the fileuploadbutton. After the user selects a file it is uploaded to the server. The server performs several checks, to validate the content of the file.
Is it possible to delete this file on the client, after our checks were successful and the dialog was closed?
Regards Ulrich
|
|
|
14/06/2013 10:10:30
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
Hi,
no, this is not possible.
I believe we need to define an own component for this "CLIENTFILEREMOVER".
Urgency on your side?
Regards,
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
14/06/2013 10:22:24
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
...don't have to respond to my last question.
Component is part of next Monday's update.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
14/06/2013 10:45:28
|
uwinter
Active
Joined: 10/06/2013 09:04:50
Messages: 6
Offline
|
Hi Björn,
no, it is not urgent on our side. But thanks for the quick solution.
|
|
|
02/12/2013 14:10:48
|
uwinter
Active
Joined: 10/06/2013 09:04:50
Messages: 6
Offline
|
Hi Björn,
we discovered a little Bug when using the clientfileremover. After triggering the deletion of a file a dialog is shown: "Do you want to remove the existing file?"
When "Remove" is pressed the file is deleted - ok. When "Cancel" is pressed, the file is not deleted, but after the next server-roundtrip the delete-dialog is shown again.
This is only a little bug, but it is very annoying.
|
|
|
08/02/2016 09:58:10
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi CaptainCasa,
We have got a should request from our customer:
1. Prompt the user to delete a (usually non empty) directory
2. Get a callback to know if
- directory existed at all
- directory was succesfully deleted
- directory existed but could not be (completely) deleted, so it still exists
- User cancelled the deleting
Could you enhance the component "clientFileRemover" in the desired way?
At the time (CC-Version 20150715), there is no callback supported.
It is possible to delete a directory, but only if it is empty.
Regards, Daniel
|
|
|
09/02/2016 11:45:03
|
Admin
Power User
Joined: 21/11/2007 11:36:10
Messages: 37
Offline
|
Hi Daniel,
please open up new messages for new wishes - although this shows that you first really search for existing issues, which is 200% perfect! ;-)
This sounds quite do-able, I will check if to re-use the existing component or if to introduce a new one. I will send some specification on this short term by mail.
Regards, Björn
|
|
|
15/02/2016 10:38:53
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
Desired changes are part of CLIENTFILEREMOVER component.
1. It now is abled to delete directories
2. It now sends events to the server side. Server side event is: BaseActionEventClientFileRemovalMessage, with three parameters:
(.) success true/false
(.) file name
(.) message
Part of update 20160215
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
02/06/2016 10:00:08
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi Björn
It works fine.
Could you just translate the window for "removing directory" (see attachment) into german?
Regards, Daniel
|
Filename |
window_removedir.png |
Download
|
Description |
window for "removing directory" |
Filesize |
32 Kbytes
|
Downloaded: |
436 time(s) |
|
|
|
20/06/2016 07:10:26
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi Björn
Would be great for me if translation is included soon.
Please let me know.
Regards, Daniel
|
|
|
05/07/2016 10:23:04
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
...is part of next update!
THANKS! Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|