Thanks a lot !
On 1/27/06, Igor Vaynberg <[EMAIL PROTECTED]
> wrote:
ok what i did is add PageMap.removePage(Page)
which should be sufficient for your needs.
you can do Session.getPageMap(name).removePage()
or from within the page getPageMap().removePage(this) although i havent tried doing this one myself.
let me know if it works for you.
-Igor
On 1/26/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:sounds reasonable to me. if you would like you can add an rfe for it, but i should be able to get to it tonight at some point.
-Igor
On 1/26/06, Ingram Chen <[EMAIL PROTECTED] > wrote:My usecase is to prevent the user back to the previous page to submit
stale data:
page A with form --> the user submits ---> page B show success message
if the user navigate back to page A, and resumit page A again, he should get a expired
page.On 1/27/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:we are not against adding that back, but we would love to hear the usecase first.
the eviction strategy is much more flexible/poweful now and we were hoping it would be able to cope with most usecases.
-Igor
On 1/26/06, Ingram Chen <[EMAIL PROTECTED] > wrote:I upgrade to Latest 1.2 HEAD but found that session.remove() is
removed... I used to use this method to explicitly remove page instance:
getSession().remove(getPage())
How do I do this now ? Any suggestion ?
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
