|Version 5 (modified by 10 years ago) (diff),|
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.
We could try to arrange the client code to fit into one, unportable template chunk, however it's usually best to split the work in smaller pieces, at least for being nice to the maintainers (You). :-)
So let's move on in writing our own Dojo template, where we will make an abstraction of all our applied Dojo concepts:
[dojo template here...]
Then let's push forward and write down the core JS file, for doing AJAX-related things:
[ajax-related things here...]