Details
Description
Say I mount MyBookmarkablePage like so:
mount(new IndexedHybridUrlCodingStrategy("/my/bookmarkable",
MyBookmarkablePage.class));
where
public MyBookmarkablePage()
{ (...) }public MyBookmarkablePage(PageParameters params) { (...) }
When I call http://localhost:8080/app/my/bookmarkable (just that plain
url, no trailing nothing), then I never get into the no-args
constructor, always in the params one. This because the params object
comes with "0"="", which I feel is wrong.
Consequently, params.containsKey("0") returns true - and here I have
to go and check if the value is not empty.
Note I'm using IndexedHybridUrlCodingStrategy.