1. #1
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    1
    Vote Rating
    0
    jkbeks is on a distinguished road

      0  

    Talking Unanswered: window eventhandler not called from controller

    Unanswered: window eventhandler not called from controller


    I have a view which is a window.

    Code:
    Ext.define('WorkScheduleView', {	extend: 'Ext.window.Window',
    	itemId: 'myWorkScheduleView',
            closable: false,
    	autoShow: true,
    	floating: true,
    	modal: true,
    	closeAction: 'destroy',
    ...
    }
    The controller handles the render event.

    Code:
    	init: function () {
    		this.control({
    			'#myWorkScheduleView': {
    				render: this.renderView
    			}
    		});
    	},
    Problem: the renderView function however isn't called.
    The renderView function does get called when the view is a Ext.panel.Panel.

  2. #2
    Sencha User lucasguaru's Avatar
    Join Date
    May 2011
    Location
    Guarujá, Brazil
    Posts
    77
    Answers
    9
    Vote Rating
    2
    lucasguaru is on a distinguished road

      0  

    Default


    I'm not sure but on your window wouldn't you use id instead of itemId?
    You can try use something like 'window[itemId=myWorkScheduleView]'.

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..." hd porno faketaxi