when I try to copy this link and open it in another browser it says "The page you requested has expired." Does it mean that the link is bookmarkable? ) But it works as it should with no crypting. Bug? I use 1.4.17. The strategy is set like this
@Override protected IRequestCycleProcessor newRequestCycleProcessor() { return new WebRequestCycleProcessor() { @Override protected IRequestCodingStrategy newRequestCodingStrategy() { return new CryptedUrlWebRequestCodingStrategy(new WebRequestCodingStrategy()); } }; } 2011/4/13 Martin Grigorov <mgrigo...@apache.org>: > well, this is what crypting does ... > but I think the url is still bookmarkable, i.e. clicking on it always > creates a new instance of ProductViewPage > > On Wed, Apr 13, 2011 at 9:37 AM, Vitaly Tsaplin > <vitaly.tsap...@gmail.com>wrote: > >> Hi Martin, >> >> Here is how it looks >> >> http://localhost:8080/mysite/?x=Dc11lSgdY6XfDJ4ubDucC6WRETrJP52-jOltr8KdvSmpmKOCpyMIMn-JtJePH3kpFspghl8jR-5be5cN-L0iMC8wWtD2AXFO >> >> with disabled strategy it becomes >> >> http://localhost:8080/mysite/?wicket:bookmarkablePage=:com.tsaplin.web.engine.components.commerce.ProductViewPage&id=5 >> >> Vitaly >> >> 2011/4/13 Martin Grigorov <mgrigo...@apache.org>: >> > On Tue, Apr 12, 2011 at 9:11 PM, Vitaly Tsaplin < >> vitaly.tsap...@gmail.com>wrote: >> > >> >> Hi everyone, >> >> >> >> I am using CryptedUrlWebRequestCodingStrategy to encode urls. I also >> >> put an instance of BookmarkablePageLink on my page and the link that >> >> has been generated by this is NOT bookmarkable. What's wrong I am >> >> doing? Do I always have to mount my page as bookmarkable? >> >> >> > How does this generated url look like ? >> > >> > >> >> >> >> Best regards, >> >> Vitaly >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> >> > >> > >> > -- >> > Martin Grigorov >> > jWeekend >> > Training, Consulting, Development >> > http://jWeekend.com <http://jweekend.com/> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com <http://jweekend.com/> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org