-
1. Re: Firefox' global refresh brokes Ajax
nbelaevski Feb 26, 2010 3:29 PM (in response to akaine)Hi Akaine,
That's a known problem caused by AJAX navigation. The limitation of AJAX navigation is that it should be of redirect type.
-
2. Re: Firefox' global refresh brokes Ajax
akaine Feb 26, 2010 5:48 PM (in response to nbelaevski)Thats good to hear. Could you point me in right direction how should I set ajax navigation to redirect type?
Update:
I set <redirect/> in every nav rule I have and now I can refresh the pages without getting into FIrefox' cache but there's another problem then: How could I avoid getting out of servlet context? I am using xhtml packages and all my templates are in dirs instead of web root. So if I forget about the ugly URL (which the client should't see) I still have functionality issues which I didnt have without redirect tag.
Maybe I'm missing something or could you say what did I do wrong?
-
3. Re: Firefox' global refresh brokes Ajax
nbelaevski Feb 27, 2010 4:26 AM (in response to akaine)Redirect navigation initiates new independent request, so new request context is created.
To solve the problem you can:
1. Use ordinary h:commandLink/h:commnadButton for navigation and not use redirect
2. Use features that Seam provides to save data between redirects
3. Use some kind of URL rewrite