Skip to main content

upload files with progress informations

Project description

Detailed Documentation

tw.uploadify documentation

tw.uploadify is a tosca widget wrapper around jquery uploadify plugin

which can be found here :

http://www.uploadify.com/

the version released with this package is 2.1.4

using the widget

in the view controller

from tw.jqgrid import JqGrid
from tw.forms import TableFieldSet

...

class UploadController(BaseController):

    @expose('project.templates.upload')
    def upload(self):
        class UploadFieldset(TableFieldSet):
            label_text = "upload files"
            fields = [
                Uploadify('upload_file', label_text='upload File',
                          script='upload',
                          fileDataName='upload_file',
                          scriptData={'_method': 'PUT'},
                          removeCompleted=False,
                          ),
                Spacer(),
                    ]

        tmpl_context.file_form = UploadFieldset("upload")
        return dict(values=dict())

in the template::

<div py:replace=”tmpl_context.file_form(value=value)”>Files Form</div>

options

only some options are implemented now, refer to the widgets.py source code

Change history

New in 0.1

0.1a0 First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tw.uploadify-0.1a0.tar.gz (40.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page