public interface IConsoleLibrarySettings
extends org.apache.wicket.settings.IJavaScriptLibrarySettings
public class MyApplication extends WebApplication
{
public void init()
{
super.init();
this.getMarkupSettings().setStripWicketTags(true);
this.setJavaScriptLibrarySettings(new MyJQueryLibrarySettings());
}
static class MyJQueryLibrarySettings extends JQueryLibrarySettings implements IKendoUILibrarySettings
{
private static ResourceReference STYLESHEET_RR = new CssResourceReference(...);
private static ResourceReference JAVASCRIPT_RR = new JavaScriptResourceReference(...);
public ResourceReference getKendoUIConsoleStyleSheetReference()
{
return STYLESHEET_RR; //may be null; will use the one declared in the markup
}
public ResourceReference getKendoUIConsoleJavaScriptReference()
{
return JAVASCRIPT_RR; //may be null; will use the embedded one
}
}
}
| Modifier and Type | Method and Description |
|---|---|
org.apache.wicket.request.resource.ResourceReference |
getConsoleJavaScriptReference()
Gets the Kendo UI Console javascript resource reference
|
org.apache.wicket.request.resource.ResourceReference |
getConsoleStyleSheetReference()
Gets the Kendo UI Console stylesheet resource reference
|
org.apache.wicket.request.resource.ResourceReference getConsoleStyleSheetReference()
ResourceReferenceorg.apache.wicket.request.resource.ResourceReference getConsoleJavaScriptReference()
ResourceReferenceCopyright © 2014 7thWeb. All Rights Reserved.