Package org.apache.wicket.resource
Class CoreLibrariesContributor
- java.lang.Object
-
- org.apache.wicket.resource.CoreLibrariesContributor
-
public class CoreLibrariesContributor extends Object
A helper class that contributes all required JavaScript resources needed for Wicket Ajax functionality- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description CoreLibrariesContributor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
CoreLibrariesContributor
public CoreLibrariesContributor()
-
-
Method Detail
-
contribute
public static void contribute(Application application, IHeaderResponse response)
Contributes the backing library plus the implementation of Wicket.Event.- Parameters:
application
- the application instanceresponse
- the current header response
-
contributeAjax
public static void contributeAjax(Application application, IHeaderResponse response)
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
-
-