#{extends 'jqueryui/layout.html'/}

This module provides working examples of jQuery UI widgets, integrated with a Play appliction.

This is not a Play module in the normal sense, providing additional server-side functionality that your application will directly depend on. Instead, this module provides re-usable view template and JavaScript snippets that you can use, as well us sample controller actions for the server-side parts.

jQuery UI widgets

This module includes code samples for several widgets.

In general, each widget requires several separate code snippets:

  1. A view template that contains static undecorated HTML.
  2. A JavaScript file that uses jQuery to apply the widget to the HTML.
  3. A controller action that handles Ajax requests from the widget, and either renders an template or directly generates a JSON response.
  4. A template for the Ajax response, in the case that the controller renders one.

Each of these sections of code is usually very small; you just have to know how to wire them together.