its public in 6. but yeah, you can do that yourself.
-igor
On Mon, Sep 17, 2012 at 3:20 PM, Nelson Segura wrote:
> That is what I thought, but PageReference constructor is not public,
> so I cannot do that, unless I am missing something?
> But I could do
>
> (Page)Session.get().getPageManager().
That is what I thought, but PageReference constructor is not public,
so I cannot do that, unless I am missing something?
But I could do
(Page)Session.get().getPageManager().getPage(pageId)
As PageReference does internally, correct?
- Nelson
On Mon, Sep 17, 2012 at 3:11 PM, Igor Vaynberg wrote:
you can pass in the page id obtained from page#getpageid() as a
bookmarkable url, then to navigate back to the original page you can
do setResponsePage(new PageReference(pageid).getPage())
this will, however, leave you on a nonbookmarkable url when you come back.
if you want bookmarkable urls all
Hello,
I have a very common pattern in which from a list, I can to detail of
an element in the list.
In the detail page I have a reference back to the page list.
The page list can be different, several list might point to the same detail.
Until now I have been using page reference to return to the