Changes between Version 1 and Version 2 of FileUploadAndDownload


Ignore:
Timestamp:
Mar 25, 2009, 1:43:37 AM (15 years ago)
Author:
simonp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FileUploadAndDownload

    v1 v2  
    1515 * Changes must be saved and a filename specified before the upload button will appear - this understandable from an HTML form point of view but somewhat strange to users.
    1616
    17 The proposal is to separate the submission of the file upload from the editor - a new service resources.prepare.upload is added which displays in a modalbox dialog (JavaScript Modalbox widget) overlaid on the editor screen, accepts the name of the file to input and supplies it plus the required parameters to the file.upload service, displays any errors and sets the value of the filename into the editor form.
     17The proposal is to separate the submission of the file upload from the editor - a new service resources.prepare.upload is added which displays in a modalbox dialog (!JavaScript Modalbox widget) overlaid on the editor screen, accepts the name of the file to input and supplies it plus the required parameters to the file.upload service, displays any errors and sets the value of the filename into the editor form.
    1818
    1919File Download: In 2.2 files are downloaded with a call to the resources.get service or if feedback is required on the reasons for download then a call is made to file.disclaimer. Choice of method can be set by changing the URL builder in update-fixed-info.xsl for the metadata schema in use. In some cases though: