-
1. Re: URL rewriting for action attribute in form
lucas84 Jul 7, 2009 3:45 PM (in response to lucas84)In order to to have pretty url we have to redirect after post, which is after invoke application phase and when called method finish successfully. So for the outcome we define navigation plus redirection. In my case invoke application is skipped due to validation failure. Can I somehow force redirection after each POST no mater if I full cycle occured or not ??
If I redirected after validation failure I would loose all submitted values and messages, so user wouldn't find out what he has to correct, and refilled form in.
-
2. Re: URL rewriting for action attribute in form
lucas84 Jul 9, 2009 8:32 AM (in response to lucas84)I noticed that I have this problem on each screen where I use params in page.xml. It is the same for AJAX requests. It uses as target of POST request, absolute path on server instead of rewritten. Every time validation fails on these screens, URL in my browser gets broken. if someone bookmarks this URL or sends GET, he will get error (cause missing parameters). How do you handle this issue ??