use of org.apache.wicket.resource.loader.NestedStringResourceLoader in project webanno by webanno.
the class WicketApplicationBase method initNestedStringResourceLoader.
protected void initNestedStringResourceLoader() {
List<IStringResourceLoader> loaders = new ArrayList<>(getResourceSettings().getStringResourceLoaders());
NestedStringResourceLoader nestedLoader = new NestedStringResourceLoader(loaders, Pattern.compile("#\\(([^ ]*?)\\)"));
getResourceSettings().getStringResourceLoaders().clear();
getResourceSettings().getStringResourceLoaders().add(nestedLoader);
}
Aggregations