Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Vote Rating
    3
    olouvignes is on a distinguished road

      0  

    Default Setting refs inside config breaks getters in init() function of a Controller

    Setting refs inside config breaks getters in init() function of a Controller


    Quite strange,

    But when i move my Controller's ref to the config object as requested (deprecated status). It breaks the getter used in the init() function.

    Code:
    Ext.define(app.ns + '.controller.Sessions', {
    
    	extend: app.ns + '.app.Controller',
    
    
    	config: {
    		refs: [
    			{ ref: 'loginForm', selector: '#viewport > .login' }
    		]
    	},
    
    
    	init: function() {
    		//this.callParent(); // useless
    		
    		console.warn(this.getLoginForm());
    
    
    	}
    });

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    7
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    You're using an array when refs accepts an object...

    It was actually an array in 1.x so I'll see if I can put some logic to detect that and tell you why it's failing - for now though if you update your code to an object it should work.
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

Thread Participants: 2