Hi Alexey, Wicket generates relative urls. When the user clicks the link to LoginPage HttpsMapper will check that LoginPage requires HTTPS and that the current protocol is HTTP and will make a redirect with HTTPS.
So it will work automatically, with the price of an additional redirect. On Mon, May 27, 2013 at 7:23 PM, Alexey Mukas <[email protected]>wrote: > Hi all, > > In app I have several pages on http on those pages I need https link to the > LoginPage. > > I have set HttpsMapper as a root mapper and added RequireHttps to the > LoginPage class. > > I'm using Wicket 6.8.0 > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/How-to-create-https-link-to-a-page-tp4659050.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
