Re: what's an 'ajax-only' page (wrt HybridUrlCodingStrategy)?

2010-03-23 Thread Igor Vaynberg
every page mounted with hybrid should immediately redirect to a .x suffix this fixes the general problem with ajax requests not changing the url, so if user presses refresh button in the browser the ajax changes are lost. suppose you land on /user/profile/15 url which is bookmarkable and you

Re: what's an 'ajax-only' page (wrt HybridUrlCodingStrategy)?

2010-03-23 Thread Nikita Tovstoles
Appreciate your reply. If the redirect to .version is *always* supposed to happen what would be some reason for that failing to happen? For example (i am reaching here) if there are problems serializing the page, is the behavior to fall back to plain bookmarkable url (and not redirect)? Here's

Re: what's an 'ajax-only' page (wrt HybridUrlCodingStrategy)?

2010-03-23 Thread Igor Vaynberg
why not step through the debugger and see, or create a quickstart and attach it to a jira issue -igor On Tue, Mar 23, 2010 at 10:37 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: Appreciate your reply. If the redirect to .version is *always* supposed to happen what would be some

what's an 'ajax-only' page (wrt HybridUrlCodingStrategy)?

2010-03-22 Thread Nikita Tovstoles
The javadoc for HybridUrlCodingStrategy says: Also to preserve state on refresh with ajax-only pages the HybridUrlCodingStrategy does an immediate redirect after hitting bookmarkable URL, e.g. it immediately redirects from /mount/path to /mount/path.3 where 3 is the next page id. This preserves