It seems that I can override page factory in session and re-use existing page basing on the parameters values.
Alexandru Objelean wrote: > > Bookmarkable page doesn't have state and can be created using > PageParameters. Each request for a bookmarkable page will cause a creation > of new instance of that page. In your case, if the page instance have some > state (is session relative), then there is no way to create a bookmarkable > link for it. > > Alex Objelean > > > Vladimir K wrote: >> >> I created a breadcrumbs panel that automatically creates a series of >> bookmarkable links from the home page to the page that displays a details >> of >> currently viewing entity instance. >> Usually it looks like for instance >> home|folders|folder1|folder1.1|document >> >> From the other hand when the user comes to this particular document by >> opening folders and then the document itself she produces a page versions >> that makes page history. There is an button "back" or "close" on the page >> that returns the user to the previous page in the history. >> >> As the result breadcrumbs and history forms two different ways of >> navigation >> but they both are natural and required. >> >> The problem is that clicking on the particular link in breadcrumb panel >> leads to creating a new version of page. I use HybridUrlCodingStrategy >> and >> it seems pretty possible to add version attributes to the url. But I >> don't >> know how to do it in compatible manner. It seems that the only link that >> forms the bookmarkable URL using hybrid strategy is the >> BookmarkablePageLink. But it does not accept anything from the particular >> page version. >> >> Please help >> >> > > -- View this message in context: http://www.nabble.com/how-to-create-a-BookmarkablePageLink-for-the-particular-page-instance-tp24659102p24659419.html Sent from the Wicket - User 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