I have small problem with ajaxsubmitlink.

I have a page with a form which can be submitted by either a regular button or an ajaxsubmitlink. In onSubmit method of ajaxsubmitlink I update the form's model and display updated fields using AjaxRequestTarget.addComponent(). Regular button takes the user to another page.
Everything works great, except the following scenario: i click ajaxsubmitlink (which updates the form's model) and then click regular submit button. From the page displayed I click 'back' button in the browser. Now, my form has values which were on it BEFORE I clicked ajaxsubmitlink. I decorated model updates with modelChanging/modelChanged calls, what else is missing for proper back button functioning?

Thank you,
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
Wicket-user mailing list

Reply via email to