Versions Compared

Key

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

...

  • before handler - executed before the data for the Ajax call is calculated. Even before the preconditions.
  • precondition - if it returns false then the Ajax call (and all handlers below) is not executed at all
  • beforeSend handler - executed before the actual execution of the Ajax call.
  • after handler - if the Ajax call is asynchronous then it is executed right after its firing. If it is synchronous then it is executed after the complete handler
  • success handler - executed on successful return of the Ajax call
  • failure handler - executed on unsuccessful return of the Ajax call
  • complete handler - executed on both successful and unsuccessful returnat the very end. After either the success or failure handlers.

To use it do:
AnyAjaxComponent/AnyAjaxBehavior.java:

...