public class PortletSystemMapper extends SystemMapper
PortletSystemMapper modifies the behavior of its encapsulated BookmarkableMapper and
HomePageMapper in order to make wicket functional in portlet environment.
SystemMapper.HomePageProvider<C extends Page>, SystemMapper.ParentFolderPlaceholderProvider| Constructor and Description |
|---|
PortletSystemMapper(Application application) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMountedMappers(Application application) |
static <T extends Page> |
mountPage(WebApplication application,
String path,
Class<T> pageClass)
Mounts a page class of the application to the given path.
|
protected IRequestMapper |
newBookmarkableMapper() |
protected IRequestMapper |
newHomePageMapper(Supplier<Class<? extends IRequestablePage>> homePageProvider) |
getResourceCachingStrategy, newBufferedResponseMapper, newPageInstanceMapper, newUrlResourceReferenceMapperadd, getCompatibilityScore, iterator, mapHandler, mapRequest, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic PortletSystemMapper(Application application)
application - public static <T extends Page> MountedMapper mountPage(WebApplication application, String path, Class<T> pageClass)
T - T - type of pageapplication - path - the path to mount the page class onpageClass - the page class to be mountedprotected void addMountedMappers(Application application)
protected IRequestMapper newBookmarkableMapper()
newBookmarkableMapper in class SystemMapperSystemMapper.newBookmarkableMapper()protected IRequestMapper newHomePageMapper(Supplier<Class<? extends IRequestablePage>> homePageProvider)
newHomePageMapper in class SystemMapperSystemMapper.newHomePageMapper(Supplier)Copyright © 2020. All rights reserved.