This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Feature

jquery is a jquery javascript library wrapper and ajax helper for happy TurboGears web designers.

Available widgets

  • Jquery (basic jquery libray wrapper for Turbogears)

It also contains 3 extra ajax widgets based on jquery.

  • addCallback / link_to_remote(target ,update, href, callback)
  • addPeriodBack / periodically_call_remote(update, href, interval)
  • addFormback / form_remote_tag(target, update, href)

Which are inspired from Ruby on Rails/pquery and give them the twisted syntax.

Install

Use setuptools to install:

$easy_install jquery

Usage

jquery

include in config/app.cfg:

tg.include_widgets = ['jquery.jquery']

jquery ajax usage:

import in controllers.py:

from jquery import addCallback
from jquery import addPeriodback
from jquery import addFormback
....
return dict(addCallback = addCallback,
        addPeriodback = addPeriodback,
        addFormback = addFormback)

Note

Update notice form 1.1.2 jquery widget: you need return dict(link = addPeriodback) instead of return dict(link = addPeriodback()) in the following versions

in template:

[div id="timelink"][a href = "#"]get time[/a][/div]
[div id="timediv"][/div]
${addCallback(target="timelink" ,update="timediv", href="/time")}

Note

With genshi template, you should add ‘ET’ prefix before the callback, such as:

${ET(addCallback(target="timelink" ,update="timediv", href="/time"))}

or:

[div id="timediv"][/div]
${addPeriodback(update="timediv", href="/time", interval="3000")}

or:

[form class="timelink" action="ajax"  method="get" ]
   Field : [input type="text" name="field" /][br /]
   [input type="submit" /]
[/form]
[div id="timediv"][/div]
${addFormback(target="timelink", update="timediv", href="ajax")}

Note

The addCallback/addPeriodback/addFormback call could be placed anywhere in your template. Check http://docs.turbogears.org/1.0/RemoteLink for detail.

History

1.2.3:

  • update to jquery 1.2.3
  • host in TurboGears svn

1.2.2:

  • update to jquery 1.2.2

1.1.2w2:

  • new twisted style ajax call
  • new addFormback/form_remote_tag call
  • passing ajax function no need extra ‘()’ at all.
Release History

Release History

1.2.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.1a

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.2w2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jquery-1.2.3-py2.5.egg (24.1 kB) Copy SHA256 Checksum SHA256 2.5 Egg Feb 8, 2008
jquery-1.2.3.zip (27.1 kB) Copy SHA256 Checksum SHA256 Source Feb 8, 2008

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting