@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface MountPath
If no value (or an empty string) is provided, the AnnotatedMountScanner class will resolve a
value based on the page class (by default, pageClass.getSimpleName()
).
The primary mount path is listed ahead of alternate paths in any list returned by
AnnotatedMountScanner
. This is done because of the
implementation of
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy#getMountEncoder(org.apache.wicket.IRequestTarget)
getMountEncoder() returns the first mount that matches the given Page. Thus, when determining
which path to mount a page on, it always picks the first one found.
public abstract String value
pageClass.getSimpleName()
).public abstract String[] alt
Copyright © 2015. All rights reserved.