Hi Andrea, As you have suggested, on the SubmitOnceForm class, I've added two variables, page reference and page relative path, on calling process I get the copy the values: public void process(IFormSubmittingComponent submittingComponent) { pageReference = getPage().getPageReference(); pageRelativePath = getPageRelativePath(); if (isAlreadyProcessed())... .. } And I am now getToken has the returns those copied values: private FormToken getToken() { return new FormToken(pageReference, pageRelativePath); }
That is the exception thrown solved. Thank you very much for taking the time. Seriously, I really appreciate it. I still have the problem that when I click the save button, If I go back, the fields are blank. If I fill the fields again and navigate back and forth with the internet browser arrows then the form fields keep their values. I suspect it has something to do with the submit button. That's something I need to investigate further. Cheers, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Cookbook-preventing-multiple-form-submits-tp3535159p3538263.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org