/cone.fileupload

jQuery fileupload integration for cone.app

Primary LanguagePythonOtherNOASSERTION

Latest PyPI version

Number of PyPI downloads

image

image

This package integrates jQueryFileUpload in cone.

Currently, version 10.32.0 is included.

Included files of jQuery File Upload:

  • jquery.iframe-transport.js
  • jquery.fileupload.js
  • jquery.fileupload-process.js
  • jquery.fileupload-ui.js
  • jquery.fileupload-validate.js

Additionally, v3.20.0 of Javascript-Templates is included.

Usage

Since cone.app not knows about the underlying data, cone.fileupload only provides an abstract server implementation.

So first we need to provide a model.

Now we need to provide a concrete FileUploadHandle implementation for our model.

Optionally we might want to provide a custom fileupload tile for our model.

The file upload actions are either rendered as dedicated tile by name fileupload_toolbar or integrated into the context menu. If it's desired to display the action in the context menu, fileupload_contextmenu_actions flag must be set on model properties.

Contributors

  • Robert Niederreiter