use of org.apache.wicket.core.request.mapper.HomePageMapper in project webanno by webanno.
the class WicketApplicationBase method initDefaultPageMounts.
protected void initDefaultPageMounts() {
mountPage("/login.html", getSignInPageClass());
mountPage("/welcome.html", getHomePage());
// Mount the other pages via @MountPath annotation on the page classes
AnnotatedMountList mounts = new AnnotatedMountScanner().scanPackage("de.tudarmstadt.ukp");
for (IRequestMapper mapper : mounts) {
if (mapper instanceof HomePageMapper) {
System.out.println(mapper);
}
}
mounts.mount(this);
}
Aggregations