I am building something that I want to work something like Google Maps. As your state changes, the URL in the address bar changes. You can later on copy & paste this URL and come back to it.
I am conditionally rendering outputPanels based on radio button values and then putting their IDs as window.history.pushState(panelId, button.value, document.URL+'/'+button.value);
So after few dialogs my URL looks like 'apex/page/mens/shoes/8/' and so on.
Is there a way to construct my controller / URL rewrite class so that based on URL it would return certain JavaSript code that would traverse thru steps?
I may consider later on to do something to actually save the state to a record on SF.
Edit: So I am looking at this video, and looks like you can return basically anything from URL rewriter, not necessarily a specific record. Did anyone try this before? Also, is there a way to test URL rewriter class without actually setting up a new site?