Re: Forms do not reset after submit

2013-02-19 Thread Bas Gooren
Hi! What you describe should only happen in certain cases: - when you link to the page using a stored reference e.g. in ctor: myTargetPage = new MyTargetPage() in click handler: setResponsePage(myTargetPage); This results in a single, shared page instance. The page will keep track of state,

RE: Forms do not reset after submit

2013-02-19 Thread Michael Chandler
JobAddPage()); } }; Mike -Original Message- From: Bas Gooren [mailto:b...@iswd.nl] Sent: Tuesday, February 19, 2013 9:20 AM To: users@wicket.apache.org Subject: Re: Forms do not reset after submit Hi! What you describe should only happen in certain

Re: Forms do not reset after submit

2013-02-19 Thread Bas Gooren
() { setResponsePage(new JobAddPage()); } }; Mike -Original Message- From: Bas Gooren [mailto:b...@iswd.nl] Sent: Tuesday, February 19, 2013 9:20 AM To: users@wicket.apache.org Subject: Re: Forms do not reset after submit Hi! What you describe should only

RE: Forms do not reset after submit

2013-02-19 Thread Michael Chandler
This means that your freshly created page instance loads data from a source which caches its data. E.g. your EntityFactory does not always return a fresh instance. So the first question is: how do you link to your Add a record page? Bas, following up on your second consideration, that my

RE: Forms do not reset after submit

2013-02-19 Thread Michael Chandler
And is the EntityFactory class something you've built yourself? It is and a quick test revealed that was the culprit! I've got some work to do there. Thanks so much, Bas! Regards, Mike - To unsubscribe, e-mail: