public class WicketModuleUI extends ModuleUI<Class<org.apache.wicket.markup.html.WebPage>> implements IPathLoader
ModuleUI
s Module
s in wicket for our CMS.
Each instance of this class also maintains its . By virtue of being of type IPathLoader
; if
the bean is defined in the Spring Context then the SiteApplication
will auto detect it and mount the this#loadPoint
.Constructor and Description |
---|
WicketModuleUI() |
WicketModuleUI(Class<org.apache.wicket.markup.html.WebPage> webPageClass,
Module module,
String[] paths,
boolean navigatable) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy> |
getLoadPoints() |
void |
load(org.apache.wicket.protocol.http.WebApplication application)
Allows us to inject interesting strategies on our own
WicketStuff MountPath Annotation
This is for situations of dynamic mount/load point generation and loading which may be assumed by the caller on the interface. |
String |
referenceToString()
Get the reference classpath/path/URL in String.
|
void |
setLoadPoints(List<org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy> loadPoints) |
getEnabled, getModule, getName, getPaths, getReference, isEnabled, isNavigatable, moduleName, setEnabled, setModule, setName, setNavigatable, setPaths, setReference
public final String referenceToString()
referenceToString
in class ModuleUI<Class<org.apache.wicket.markup.html.WebPage>>
IMenuGenerator}
public List<org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy> getLoadPoints()
getLoadPoints
in interface IPathLoader
IRequestTargetUrlCodingStrategy
@nullable truepublic void setLoadPoints(List<org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy> loadPoints)
setLoadPoints
in interface IPathLoader
public void load(org.apache.wicket.protocol.http.WebApplication application)
load
in interface IPathLoader
application
- as WebApplication
@Nuallble falseCopyright © 2018. All rights reserved.