Using JavaScript Widgets with TurboGears

May 30, 2006 14:25 · 99 words · 1 minute read

I’ve just put up a new screencast showing how easy it is to use JavaScript libraries that have been packaged as TurboGears widgets: Using JavaScript with TurboGears. This screencast actually shows off a few things:

  • Using a widget (obviously)
  • How widgets include the necessary JavaScript
  • The widget browser in the TurboGears Toolbox
  • How cool setuptools/Python Eggs are (I start from not even having the widget package installed).

This shows off setuptools, because I used the Lightbox widget, which in turn requires the Scriptaculous widget. Without any additional configuration, the widgets show up in the widget browser. easy_install and go!