Version 2 (modified by erob@…, 17 years ago) ( diff )

added initial skeleton-like layout

Here's a simple recipe that worked for me. It is quite inspired by the AjaxDojoFormSub example, except that this one is expected to function with python-cjson for receiving JSON data.

My initial objective was to display validation errors without doing a page-refresh, by using JSON for carrying errors (or whatever else you could possibly imagine) back to the client browser.

First thing first, lets write the server view, as its really important to make the forms working without the use of Javascript:

[...]

Then, we should definitely try to explain the client side:

[...]

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.
Back to Top