Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

Wiki Markup
{snippet:id=all|lang=xml|url=webwork/src/java/template/ajax/controlheader.ftl}

This provides for AJAX Client Side 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.

...