Class JEEWebGlobalAjaxHandler

java.lang.Object
org.apache.wicket.request.resource.ResourceReference
org.wicketstuff.jeeweb.ajax.JEEWebGlobalAjaxHandler
All Implemented Interfaces:
Serializable, IClusterable

public class JEEWebGlobalAjaxHandler extends ResourceReference
This class is used to configure a global ajax event hook for the embedded tags (Servlet, JSP, JSF). The tag libs can be used to generate a callback function to send an ajax request to the current rendered page / their components

WATCH OUT - The WebPage has to be configured with setStatelassHint(false); !!!! The ajax functions are in the ELFunctions class beginning with ajax...
Author:
Tobias Soloschenko
See Also:
  • Constructor Details

    • JEEWebGlobalAjaxHandler

      public JEEWebGlobalAjaxHandler()
  • Method Details

    • getResource

      public IResource getResource()
      Receives ajax events and delegates them to the page which where rendered previously.
      Specified by:
      getResource in class ResourceReference
    • configure

      public static void configure(WebApplication application)
      Configures the handler to the given application.
      Parameters:
      application - the application to configure the handler to