yes that is the way to go
Ingram Chen wrote:
hm.... It is a little hard for me to image your discussion...
anyway, I tried to override isVersioned() to return false but
it doesn't work at all....
After dig into the source code, I found that all pages are registered
in session and it's possible to remove page directly:
add(new Form("saveBook") {
protected void onSubmit() {
//commit to database...
setResponsePage(new BookHomePage());
getSession().remove(getPage());
}
});
and now it works !
Is this a safe way to invalidate Page ?
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
<http://www.javaworld.com.tw/roller/page/ingramchen>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user