Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7923755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:25:09+00:00 2026-06-03T17:25:09+00:00

I am working with ExtJS 4.1 RC3 – following the MVC pattern. Today was

  • 0

I am working with ExtJS 4.1 RC3 – following the MVC pattern. Today was the first time I’ve needed to implement some logic before any controllers get initialized. I remembered this method from Ext.app.Application and decided to put it to use.

It never seems to get fired, I can’t find what is supposed to be firing it either.

I found one small unanswered thread about this method not working from Sep 2011. The poster’s solution was to refactor his app. Does this work for everyone else or does no one else use this?

I am coding this the same way I would use the launch method. Is that wrong? Here is what the code looks like:

// app.js
Ext.application({
    name: 'MyApp',

    autoCreateViewport: true,

    controllers: ['myController'],

    init: function() {
        console.log('init'); // this never gets called
    },

    launch: function() {
        console.log('launch'); // this works fine
    }

});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T17:25:10+00:00Added an answer on June 3, 2026 at 5:25 pm

    It’s a bug in the framework. I’ve pushed up a fix that will hopefully make it into the 4.1.1 release.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on extjs4, my case is: Extjs mvc is used to build
Before the MVC pattern I would include UX classes simply by including this at
I am working with ExtJS MVC and implementing Scheduler. I need your help to
I am working on my first project using ExtJS. I have a Data Grid
I'm working on some management system using PHP & some ExtJS. Generally, I generate
I am working on an Extjs portal example and downloaded the example from extjs4-mvc-portal
i am working with extjs and openlayers for trying some web application. now i
I am working with extjs designer 2. It works ok and i designed a
Working on a program in python to print out the first 1000 prime numbers
Working on my first Android app here. I've searched and tried everything I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.