Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install tw.uploadify

How to install tw.uploadify

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tw.uploadify
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1a4 Available View build log
0.1a3 Available View build log
0.1a1 Available View build log
Windows (64-bit)
0.1a4 Available View build log
0.1a3 Available View build log
0.1a1 Available View build log
Mac OS X (10.5+)
0.1a4 Available View build log
0.1a3 Available View build log
0.1a1 Available View build log
Linux (32-bit)
0.1a4 Available View build log
0.1a3 Available View build log
0.1a1 Available View build log
Linux (64-bit)
0.1a4 Available View build log
0.1a3 Available View build log
0.1a1 Available View build log
 
Imports
Lastest release
version 0.1a4 on Jul 23rd, 2011

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 widget lib
from tw.forms import TableFieldSet
from tw.uploadify import Uploadify

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,
                  ),
            ]

upload_fieldset = UploadFieldset("upload_fieldset")
in the view controller
from widgetlib import upload_fieldset

...

class UploadController(BaseController):

    @expose('project.templates.upload')
    def index(self):
        params = { 'child_args' : {
                      'upload_file': dict(script="foobarbaz"),
                    }
                  }
        tmpl_context.file_form = upload_fieldset
        return dict(params=params)
in the template
<div py:replace="tmpl_context.file_form(**params)">Files Form</div>
options

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

Change history

New in 0.1

0.1a4 partial events support

0.1a3 corrected example

0.1a2 nice test and debugging contrib from Diez Roggisch better example

0.1a1 CHANGES.txt wasn't including, stopping easy_install

0.1a0 First Release

Subscribe to package updates

Last updated Jul 23rd, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.