1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    56
    Vote Rating
    -1
    squalo is an unknown quantity at this point

      0  

    Default Ext.direct.PollingProvider

    Ext.direct.PollingProvider


    Hi
    I'm using the polling provider, but it seemed to be, that interval is not changing.
    Code:
    	Ext.direct.Manager.addProvider({
    		type:'polling',
    		url: 'php/ping.php',
    		interval: 15000,
    		baseParams: {
    			ip: '10.0.2.62'
    		},
    		listeners: {
    			data: function(provider, event){
    				console.log(event.data);
    			}
    		}
    	});
    When I ran this, it still logs me every 3seconds.
    What is wrong?
    (I'm using ExtJs 4.1.1.a)

    Thx

  2. #2
    Sencha User
    Join Date
    Dec 2010
    Posts
    56
    Vote Rating
    -1
    squalo is an unknown quantity at this point

      0  

    Default


    Ok, now I test it on chrome and it worked, but still not on my FF
    Sorry, that I post that too fast.
    But I have another question within the same topic:
    How can I change the baseParams while provider is polling?
    There is no method for setBaseParams() i.e. which I could use adter Ext.direct.Manager.getProvider

    Furtheron thanks for any hints
    BR

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar