Hi,
I'm doing this by mounting an alias-name to the page in the application's
init()-method by calling
WebApplication.mountBookmarkablePage(
java.lang.String path,java.lang.Class bookmarkablePageClass)
e.g. mountBookmarkablePage("verifyEmail", VerifyEmailPage.class)
Then you can send an email with a link like
www.yourapp.com/verifyEmail?...params ...
Regards,
Oliver
Justin Morgan (Logic Sector) wrote:
>
> Hi,
>
> (I've poked around the Wicket mailing list archives and FAQ and
> haven't seen an obvious solution for this.)
>
> My question:
> How do I to determine in advance what the encrypted URL string of a
> page (plus its parameters) will be? In case it matters, I'm using
> CryptedUrlWebRequestCodingStrategy.
>
> The reason for the question:
> I've created a rudimentary "VerifyEmailPage" in my app that takes an
> email address as a page parameter. A URL string will be put in an
> email message and sent to a user when that user creates an account.
> (The URL string accesses the VerifyEmailPage.) The user then clicks
> on the URL in the email in order to validate the email address. I
> need a way to determine what that URL should be (so I can send the
> URL to them).
>
> Thanks for any info,
>
> Justin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Given-a-Page-subclass-and-its-PageParameters%2C-how-to-determine-the-URL-string--tf4278204.html#a12177813
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]