You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The ajax theme extends the xhtml theme, providing AJAX features on top of everything provided by its parent theme. These AJAX features are:

  • AJAX Validation
  • Remote form submission support
  • Div???
  • A???
  • Tabbed panel???

Wrapping the Simple Theme

The wrapping behavior provided by this theme is almost exactly like that provided by the xhtml theme. The only difference is that the controlheader.ftl template is slightly different:

Error formatting macro: snippet: java.lang.NullPointerException

This provides for AJAX Validation by checking if the validate attribute is set to true. If it is, on each onblur event for HTML Tags, a validation request is made. Some people don't like the onblur behavior and would rather a more advanced timer (say, 200ms) be kicked off after every keystroke. You can override this template and provide that type of behavior if you would like.

Special Notes

While most of the templates in this theme are self explanatory, there are some templates that should be called out and explained in detail:

  • No labels