View Full Version : client routing

31 Jan 2012, 9:20 AM
I need to create an online document manager by extjs. On the left side there is tree of document names.
Similar to Extjs Sencha online documentation. BUT: I dont want to reload the entire webpage from the server each time when a user pick a new document. Instead I would load into a panel's html content.

How can I let user bookmark a page as my url would be the same, because documents are loaded into a div.
Is there support in extjs for 'html5 pushstate', '# in url' or 'routing on client side'?


31 Jan 2012, 9:23 AM
Ext.util.History is useful for you. Basically the hash changes and you can setup listeners for that change.

31 Jan 2012, 9:08 PM
thank you sir, perfect!