I've attached a quickstart code , including error case , to WICKET-2312

https://issues.apache.org/jira/browse/WICKET-2312

I think the problem may come from bookmarkablePage parsing parameters...


The "CurrentPage" is mounted to "/CurrentPage" by
  mountBookmarkablePage("/CurrentPage" , CurrentPage.class);

Test steps :

Step 1:
user browser to link to http://foo.bar:8080/quickstart/app/CurrentPage

outer = http://foo.bar:8080/quickstart/app/CurrentPage
inner = http://foo.bar:8080/quickstart/app/CurrentPage

both are correct.

But ...

Step 2:
Open browser to connect to :
http://foo.bar:8080/quickstart/app/CurrentPage/key/value
outer = http://foo.bar:8080/quickstart/app/CurrentPage/key/value/
inner = http://foo.bar:8080/CurrentPage/key/value/

"outer" is correct , but "inner" is wrong !
"inner" lacks of context("quickstart") and path("app") here.

Reply via email to