Example usage for org.apache.wicket.protocol.http WebApplication getSharedResources

List of usage examples for org.apache.wicket.protocol.http WebApplication getSharedResources

Introduction

In this page you can find the example usage for org.apache.wicket.protocol.http WebApplication getSharedResources.

Prototype

public SharedResources getSharedResources() 

Source Link

Usage

From source file:net.kornr.swit.wicket.layout.threecol.ThreeColumnsLayoutResource.java

License:Apache License

static public void install(WebApplication application, String mapping) {
    application.getSharedResources().add(ThreeColumnsLayoutResource.class, "output", null, null,
            new ThreeColumnsLayoutResource());
    ResourceReference ref = ThreeColumnsLayoutResource.getResourceReference();
    application.mountSharedResource(mapping, ref.getSharedResourceKey());
}