Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    2
    Vote Rating
    0
    prabudc227 is on a distinguished road

      0  

    Exclamation Sencha touch MVC -reference error

    Sencha touch MVC -reference error


    Hi I am new to Sench touch,
    I tried to develop the MVC application given in following tutorial,
    http://miamicoder.com/2011/writing-a...c-application/

    I followed the same folder structure.
    But when i run the application I am getting
    Reference error:Can't find variable NotesApp

    One of the file containing this error is shown below,
    NotesApp.views.MainView=Ext.extend(Ext.Panel,{
    fullscreen:true,
    layout:'card',
    cardSwitchAnimation:'flip',
    initComponent:function(){
    Ext.apply(NotesApp.views, {
    notesListView:new NotesApp.views.NotesListView({
    notesStore:NotesApp.stores.notesStore
    }),
    notesEditorView:new NotesApp.views.NotesEditorView()
    });
    this.items=[
    NotesApp.views.notesListView,
    NotesApp.views.notesEditorView
    ]
    NotesApp.views.MainView.superclass.initComponent.call(this);
    this.on('render',function(){
    NotesApp.stores.notesStore.load();
    });
    }
    });


    I do not understand the cause of this error. Please help!!!!

  2. #2
    Sencha User Sameer Khan's Avatar
    Join Date
    Oct 2011
    Location
    Bangalore, India
    Posts
    113
    Vote Rating
    0
    Sameer Khan is on a distinguished road

      0  

    Default


    on() should be called with in the constructor. Not out side of constructor...Plz refer Api once...you will get Idea. where to use.
    Sameer Khan

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