Hi,
AFAIK this is not possible, you must mount your pages using a path
parameter (something like: 'summary/${account}').
andrea.
On 10/07/2015 18:51, Jason Novotny wrote:
Hi,
I'm using wicket-annotations and I've added:
newAnnotatedMountScanner().scanPackage(com.foo.web.pages).mount(this);
Hi,
You should use a modified AnnotatedMountScanner. Its getRequestMapper()
should return
new MountedMapper(mountPath, pageClass, new UrlPathPageParametersEncoder());
Looking at the code [1] it should work for #scanPackage() too.
1.
Hi,
I'm using wicket-annotations and I've added:
newAnnotatedMountScanner().scanPackage(com.foo.web.pages).mount(this);
in my Application class.
My page classes all have:
@MountPath(value =summary)
However, I want to adjust the pages to not use query parameters like account=5
and use /