Im not clear if this is what your looking for, but it seems you just need to set your application to be able to accept the URL format http://wicket.website.com/ConfirmationPage/?user=foo&token=1234<http://wicket.website.com/ConfirmationPage.html?user=foo&token=1234> and then you can generate it maually in your emails.
In your MyApplication#init() you can mount a page to mountPage("/confirmationpage/", ConfirmationPage.class); Then create your ConfirmationPage to accept parameters..............something like public class ConfirmationPage{ public ConfirmationPage (final PageParameters parameters) { StringValue token= parameters.get("token"); StringValue user= parameters.get("user"); } } On 14 September 2012 12:46, Dirk Forchel <dirk.forc...@exedio.com> wrote: > What is the prefered way in Wicket 1.5 to create page links to access a > wicket page, e.g. using this link in an email. In my case, we need a link > to > a "subscription page" in a Wicket application. When a new user subscribes a > confirmation email containing the link to this wicket page has to be sent. > I know the usual way how to generate URLs with a wicket application (see > https://cwiki.apache.org/WICKET/getting-a-url-for-display.html > https://cwiki.apache.org/WICKET/getting-a-url-for-display.html ). But I > want > to create links like this > "http://wicket.website.com/ConfirmationPage.html?user=foo&token=1234" > outside a Wicket application and from another WebServlet. > > My intentation was to use an interface like IEmailUrlProvider with methods > returning the required URL strings. > > > > And let Wicket do the generation part like: > > > Is this the prefered way to do this with Wicket? Or do I miss something? > Any > other hints? > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Using-and-creating-URLs-to-Bookmarkable-Pages-without-Wicket-Application-tp4652002.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Fergal Keating IT Senior Engineer ----------------------------------------------- e. fergal.keat...@directski.com p. NA w. www.directski.com