1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    White Rock, BC Canada
    Posts
    161
    Vote Rating
    0
    WagsMax is on a distinguished road

      0  

    Default ActionSheet reference not working??

    ActionSheet reference not working??


    In Designer, I am using this code, and I am baffled that variable actionSheet remains undefined after stepping over the first line:
    Code:
    var actionSheet = App.app.getController('MainController').getDetailsAction();
    Ext.Viewport.add(actionSheet);
    actionSheet.show();
    elsewhere in the Designer I have defined a controller reference:
    Code:
    Ext.define('App.controller.MainController', {    extend: 'Ext.app.Controller',
        config: {
            refs: {
                detailsAction: 'detailsaction'
            },   ...
    and the definition of the ActionSheet:
    Code:
    Ext.define('App.view.DetailsAction', {    extend: 'App.view.ui.DetailsAction',
        alias: 'widget.detailsaction',
        initialize: function() {
            var me = this;
            me.callParent(arguments);
        }
    });
    The same type of code works with other controller references/views. Any ideas why this one is not working?

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    Do you have instance of detailsaction?
    Bharat Nagwani
    Sencha Designer Development Team

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