how to create a BookmarkablePageLink for the particular page instance

2009-07-25 Thread Vladimir Kovalyuk
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

Re: how to create a BookmarkablePageLink for the particular page instance

2009-07-25 Thread Alex Objelean
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

Re: how to create a BookmarkablePageLink for the particular page instance

2009-07-25 Thread Vladimir K
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

Re: how to create a BookmarkablePageLink for the particular page instance

2009-07-25 Thread Alex Objelean
If you can restore the page state from passed PageParameters, then it is doable... Alex Objelean Vladimir K wrote: 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

Re: how to create a BookmarkablePageLink for the particular page instance

2009-07-25 Thread Vladimir K
Certainly, parameters are just name of object class and object code/id. But actually I'm saying that I can create store PageReference with its related PageParametes in session and using PageParameters from the request to obtain a Page instance from page store. The only thing I'm not sure is the