Package org.wicketstuff.jeeweb.ajax
Class JEEWebGlobalAjaxHandler
java.lang.Object
org.apache.wicket.request.resource.ResourceReference
org.wicketstuff.jeeweb.ajax.JEEWebGlobalAjaxHandler
- All Implemented Interfaces:
Serializable,IClusterable
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...
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.ResourceReference
ResourceReference.Key, ResourceReference.LambdaResourceReference, ResourceReference.UrlAttributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigure(WebApplication application) Configures the handler to the given application.Receives ajax events and delegates them to the page which where rendered previously.Methods inherited from class org.apache.wicket.request.resource.ResourceReference
canBeRegistered, equals, getDependencies, getExtension, getKey, getLocale, getName, getScope, getStyle, getUrlAttributes, getVariation, hashCode, of, of, toString
-
Constructor Details
-
JEEWebGlobalAjaxHandler
public JEEWebGlobalAjaxHandler()
-
-
Method Details
-
getResource
Receives ajax events and delegates them to the page which where rendered previously.- Specified by:
getResourcein classResourceReference
-
configure
Configures the handler to the given application.- Parameters:
application- the application to configure the handler to
-