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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreLibrariesContributor
public CoreLibrariesContributor()
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
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.