|
|
reconstruct ucl parameter when form has errors
I have a spring controller for a form page that takes a ucl parameter for editing an object, like this item.htm?id=25
the form model populates the data for item with id=25.
When I submit the form and it has errors, the page reloads, but the ?id=25 is lost in the ucl- it just show item.htm
Is that normal? Its seems that if there is a form validation error, the ucl in the browser should be the same as when the user came to the page
My main question is, is there a simple way to re-build the same ucl that the user saw when they first went to the page? |
|