Results 1 to 3 of 3

Thread: client routing

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    33

    Default Answered: client routing

    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'?

    thx,
    ultra2

  2. Ext.util.History is useful for you. Basically the hash changes and you can setup listeners for that change.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448
    Answers
    3997

    Default

    Ext.util.History is useful for you. Basically the hash changes and you can setup listeners for that change.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  4. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    33

    Default

    thank you sir, perfect!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •