Example usage for org.apache.wicket Application getSharedResources

List of usage examples for org.apache.wicket Application getSharedResources

Introduction

In this page you can find the example usage for org.apache.wicket Application getSharedResources.

Prototype

public SharedResources getSharedResources() 

Source Link

Usage

From source file:nl.knaw.dans.dccd.web.upload.CombinedUploadStatusCommand.java

License:Apache License

public void registerAsSharedResource(Application application) {
    application.getSharedResources().add(RESOURCE_NAME, this);
}

From source file:org.wicketstuff.lightbox.LightBoxInitializer.java

License:Creative Commons License

public void init(Application application) {
    SharedResources resources = application.getSharedResources();

    resources.add("lightbox.css", new LightboxCSSResource());
    resources.add("lightbox.js", new LightboxJavaScriptResource());
}