java.lang.Object
org.apache.wicket.resource.CoreLibrariesContributor
A helper class that contributes all required JavaScript resources needed for Wicket Ajax
functionality
- Since:
- 6.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
contribute
(Application application, IHeaderResponse response) Contributes the backing library plus the implementation of Wicket.Event.static void
contributeAjax
(Application application, IHeaderResponse response) Contributes the Ajax backing library plus wicket-event.js and wicket-ajax.js implementations.
-
Constructor Details
-
CoreLibrariesContributor
public CoreLibrariesContributor()
-
-
Method Details
-
contribute
Contributes the backing library plus the implementation of Wicket.Event.- Parameters:
application
- the application instanceresponse
- the current header response
-
contributeAjax
Contributes the Ajax backing library plus wicket-event.js and wicket-ajax.js implementations. Additionally if Ajax debug is enabled then wicket-ajax-debug.js implementation is also added.- Parameters:
application
- the application instanceresponse
- the current header response
-