1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    leidsondias is on a distinguished road

      0  

    Default Panel refresh is not working (autoload)

    Panel refresh is not working (autoload)


    Good Morning people .My panel refresh is not working, I have to rename the file so it changes occur. As if getting cached, most have cleaned the cache and refresh without giving continues.

    My panel is as follows:
    Code:
    this.painel = new Ext.Panel({
                border   :   false,
                autoLoad :   {url:   'GUI/html/saneadores3.html', scripts: true}
            });
    Sorry if my English is not so clear, i using google translate hehe !
    No more, thanks for your attention.

    Graciously,

    Leidson Dias

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    So the browser is caching that html file? Have you verified this using firebug? The network tab will say 'from cache'
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    leidsondias is on a distinguished road

      0  

    Default


    Solution was to load the JS file to generate random number in the page that is loaded inside the panel, following example of what I'm talking about:




    Code:
    <script type="text/javascript" src="GUI/js/dashSaneadores.js?nocache"></script>
    Thank you all. And Happy New Year!

Thread Participants: 1

Tags for this Thread