Package org.wicketstuff.mergedresources.versioning

Examples of org.wicketstuff.mergedresources.versioning.StaticResourceVersionProvider


    ResourceMount mount = newResourceMount();
    ResourceMount.mountAnnotatedPackageResources("/files", TestAnnotationHomePage.class, this, mount);
  }

  protected ResourceMount newResourceMount() {
    IResourceVersionProvider p = new StaticResourceVersionProvider(42);
    return new ResourceMount().setResourceVersionProvider(p).setDefaultAggressiveCacheDuration();
  }
View Full Code Here


  @Override
  protected void mountResources() {
    ResourceMount.mountWicketResources("script", this, newResourceMount());

    IResourceVersionProvider p = new StaticResourceVersionProvider(42);

    ResourceMount mount = newResourceMount().setResourceVersionProvider(p).setDefaultAggressiveCacheDuration();

    initMount(mount);
View Full Code Here

TOP

Related Classes of org.wicketstuff.mergedresources.versioning.StaticResourceVersionProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.