Re: Bookmarkable link doesn't become a https link

2016-10-15 Thread Lars Törner
Hi Martin and thanks for your answer! I think that what you say is that the documentation I found is correct. "It is extremely important that when setting the rootRequestMapper it is done AFTER you have added any bookmarkable links otherwise they will not be switched over to Secure mode". I

Re: Bookmarkable link doesn't become a https link

2016-10-15 Thread Martin Grigorov
Hi Lars, mountPage("page2", Page2.class); setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new HttpsConfig(8080, 8443))); mountPage("page3", Page3.class); Now if I am at Page1 (http://localhost:8080/page1) and there I have add(new BookmarkablePageLink("page2", Page2.class)); then

Bookmarkable link doesn't become a https link

2016-10-14 Thread Lars Törner
Hi, we had a problem where a bookmarkable link didn't become a https link. I found this: https://cwiki.apache.org/confluence/display/WICKET/How+to+switch+to+SSL+mode Which, with a warning, states: "It is extemtely important that when setting the rootRequestMapper it is done AFTER you have