Hi all,

I have the following code which generates a URL to a page with some parameters:
String url = urlFor(MyMessageView.class, new PageParameters("thread=" + 
"ad9697d2-8328-43b4-be28-ee677a88bc9a")).toString();

This generates a URL like so:
?wicket:bookmarkablePage=:org.mypackage.pages.MyMessageView&thread=ad9697d2-8328-43b4-be28-ee677a88bc9a

which works, it takes me to the right page and everything is constructed 
correctly.

However, if I then mount that page as a bookmarkable page:
mountBookmarkablePage("/messages", MyMessageView.class);

then the URL created by the same urlFor method above is:
/messages/thread/ad9697d2-8328-43b4-be28-ee677a88bc9a

and this does not work. 

Any ideas?

thanks,
Steve


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to