Example usage for org.apache.wicket.util.file Path Path

List of usage examples for org.apache.wicket.util.file Path Path

Introduction

In this page you can find the example usage for org.apache.wicket.util.file Path Path.

Prototype

public Path(final Folder folder) 

Source Link

Document

Constructor

Usage

From source file:org.cast.cwm.test.CwmTestThemedApplication.java

License:Open Source License

@Override
public void init() {
    super.init();
    // Check separate "theme" folder for markup and XSL styles.
    getResourceSettings().getResourceFinders().add(new Path(getThemeDir()));
}

From source file:pl.klimczakowie.cpublication2.web.WicketApplication.java

License:Apache License

/**
 * Init/*from   w w w  . j a  v  a 2s.c o m*/
 */
@Override
public void init() {
    getResourceSettings().getResourceFinders().add(new Path(new Folder("htmls/cpublication2/")));
    getResourceSettings().setResourcePollFrequency(Duration.milliseconds(1000));
    getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.RenderStrategy.ONE_PASS_RENDER);
}