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.

  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    2
    Vote Rating
    0
    echan is on a distinguished road

      0  

    Default Unanswered: Views declaration in Controller not recognized (Firefox only)

    Unanswered: Views declaration in Controller not recognized (Firefox only)


    Hi,

    I have a problem using MVC on Firefox. It doesn't seem to be a problem in IE. In my Controller, I refer to my views as follows:


    Ext.define(
    'Pd.controller.canvas.MyController', {

    extend: 'Ext.app.Controller',
    views: [
    'node.form.CustomerActivatedNodeForm'
    ]


    };

    My application is declared as follows, with the "Pd" namespace mapped to the "app" folder:


    Ext.application({
    name: 'Pd', // namespace
    appFolder: 'app',
    controllers: [
    'canvas.MyController'
    ],



    ....<more stuff>....
    }




    The view referenced in the controller resides in the directory as:
    /app/view/node/form/CustomerActivatedNodeForm.js



    When my application loads, I hit this error:

    An uncaught error was raised with the following data:ext-de...?v=2276 (line 7864)
    classToLoad
    "Pd.view.node.form.CommonNodeForm"loadPath
    "Pd/view/node/form/CommonNodeForm.js"loadingType
    "async"msg
    "Failed loading 'Pd/view...fy that the file exists"sourceClass
    "Ext.Loader"

    First, I wanna know is, do I need to manually include the CommonNodeForm.js into my main .htm file, or is the framework supposed to automatically find and load any views I declare in a controller? I tried explicitly including and not including, but both cases give me the same error.

    Why is it trying to load from the "Pd" directory? Shouldn't they look into the "app" directory? It seems my folder mapping is not recognized in the context of the controller.

    Anyone knows what the problem is? Again, this only happens on Firefox, but not IE.

    Eric.

  2. #2
    Sencha User
    Join Date
    May 2011
    Posts
    2
    Vote Rating
    0
    echan is on a distinguished road

      0  

    Default


    I forgot to mention that my view CustomerActivatedNodeForm extends CommonNodeForm. I don't understand that on Firefox, why it's having problems loading CommonNodeForm.js. I did include that in my main .jsp file.

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    101
    Answers
    8
    Vote Rating
    3
    sskow200 is on a distinguished road

      0  

    Default


    have you tried using the requires option in your controller? You may have to require all the necessary classes that you have extended.

Similar Threads

  1. selectRow() not recognized by SelectionModel
    By kannasp in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 21 Oct 2010, 10:10 AM
  2. Ext not recognized probelm
    By amitamitjhariya in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 6 Jun 2010, 9:15 PM
  3. Why is EditorGridPanel not recognized
    By harisharma150 in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 14 May 2009, 7:23 AM
  4. How to pass Datas between controller and Views
    By dialloma in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 6 Mar 2009, 4:22 AM
  5. success:false not recognized
    By bhomass in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 6 Mar 2008, 12:33 PM

Thread Participants: 1

Tags for this Thread