1. #1
    Ext User
    Join Date
    Mar 2010
    Posts
    5
    Vote Rating
    0
    Cem is on a distinguished road

      0  

    Default Always failure

    Always failure


    Hi,

    I do not know the reason but in all case my success function could not be called despite having a success response from server.

    Code:
    var live_panel =  new Ext.FormPanel({
    	labelWidth: 75, 				
    	frame:true,
    	title: 'Reklamı Form',
    	bodyStyle:'padding:5px 5px 0',
    	width: 1250,
    	defaults: {width: 230},
    	defaultType: 'textfield',
    	items: [{
    			fieldLabel: 'User ID',
    			name: 'userId'
    		}
    	],
    
    	buttons: [{
    		text: 'Ara',
    		handler: function(){
    				if(live_panel.getForm())
    				{
    					live_panel.getForm().load(
    						{
    							url:'/service/backoffice/personal/promotion/clickers',	
    							params:{userId: 112},
    							method: 'GET',
    							failure: function(form, action){
    								console.log(action.failureType);
    								console.log(action.response);
    								console.log(action.result);
    								console.log(action.type);
    							},
    							success:function(form, action){
    								console.log("success");
    							}
    						}
    					);
    					
    				}
    		}
    	}
    	]
    });
    I can see successful GET requests in my firebug console however always failure function is called...

    Any reason about this?

  2. #2
    Ext User
    Join Date
    Mar 2010
    Posts
    5
    Vote Rating
    0
    Cem is on a distinguished road

      0  

    Default


    Sorry for posting in wrong place...

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Is your JSON valid according to http://www.extjs.com/deploy/dev/docs....Action.Submit ?

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."