So, when I have a link to item_edit.jsf?id=1, it is rewritten as /items/1.
The page contains a form with required fields. When I submit the form with blank fields, I’m forwarded to the same page, however, the URL becomes /item_edit.jsf (instead of /items/1). It looks like I’m loosing the parameter “id”. What should I do to keep the URL as /items/1 after a failed form submission?