Hi all, i am looking for the bests practices to use Tapestry. I am using Tapestry 3.0.3.
Now I wanna know how the experts are doing to leave one page and go to another one. Are you using the discardPage method like the example below to discard the persistent properties of the page you are leaving ? public void Cancel(IRequestCycle cycle) { MyPage myPage = (MyPage) cycle.getPage("MyPage"); cycle.discardPage(this.getPageName()); cycle.activate(myPage); } How are you solving the problem of the persistent properties ? I am using the discardPage but it causes a lot of problems since I have to set all necessary values on the page I am going to, like the exemple below : public void back(IRequestCycle cycle) { MyPage myPage = (MyPage) cycle.getPage("MyPage"); myPage.setMyProperty1 = this.getSomething1(); myPage.setMyProperty2 = this.getSomething2(); cycle.discardPage(this.getPageName()); cycle.activate(myPage); } Using this approach, when the user clicks the browser's back button the system shows the stale link error. Is this the right way or there is some other issue to solve this kind of situation? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]