Results 1 to 4 of 4

Thread: getHistory() and Action is not working in Extjs 6 modern

  1. #1
    Sencha User rahul.yadav's Avatar
    Join Date
    Feb 2015
    Location
    Hyderabad
    Posts
    11
    Answers
    1

    Default Answered: getHistory() and Action is not working in Extjs 6 modern

    In my sample application(sencha touch v2.3) i used getHistory() method
    var me=this;
    this.getApplication().getHistory().add(new Ext.app.Action({
    url:url
    }), true);
    it is available in Ext.app.Application but when i tried to do the same thing in Extjs-6 modern application give error 'getHistory is not a function' as i saw it is not available in Extjs-6 modern so provide me some alternate of it.the same thing with Ext.app.Action also.

  2. Quote Originally Posted by rahul.yadav View Post
    Hello Joel,
    From this method i am trying to apply History on application so that i used getHistroy() and by passing url set the particular page url.
    Thanks
    You should be able to use routing and redirectTo to manage that.

    Thanks!
    Joel

  3. #2
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Hi--

    Can you describe what you're trying to accomplish?

    Thanks!
    Joel

  4. #3
    Sencha User rahul.yadav's Avatar
    Join Date
    Feb 2015
    Location
    Hyderabad
    Posts
    11
    Answers
    1

    Default Application History

    Hello Joel,
    From this method i am trying to apply History on application so that i used getHistroy() and by passing url set the particular page url.
    Thanks

  5. #4
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Quote Originally Posted by rahul.yadav View Post
    Hello Joel,
    From this method i am trying to apply History on application so that i used getHistroy() and by passing url set the particular page url.
    Thanks
    You should be able to use routing and redirectTo to manage that.

    Thanks!
    Joel

Similar Threads

  1. Replies: 1
    Last Post: 17 Jun 2015, 3:37 PM
  2. Uncaught TypeError: Cannot read property 'getHistory' of undefined
    By csplrj in forum Sencha Touch 2.x: Discussion
    Replies: 0
    Last Post: 4 Nov 2014, 3:21 PM
  3. Road map for modern features (MVVM and other extjs 5)
    By danikenan in forum Sencha Touch 2.x: Discussion
    Replies: 1
    Last Post: 2 Jun 2014, 8:43 AM
  4. Replies: 3
    Last Post: 21 Nov 2013, 9:09 AM

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
  •