Results 1 to 2 of 2

Thread: "Initialize" not called when converted to controller action

    You found a bug! We've classified it as TOUCH-3849 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    39
    Vote Rating
    1
      0  

    Default "Initialize" not called when converted to controller action

    Found a problem.

    Create a panel, and bind an "initialize" event to it. In the even set a console.log that outputs data to the console. Start the app and you see the console output.

    Now, convert that action to a controller action. Keep the console.log output. Restart the app and look at the console. There will be no output.

    Seems like the initialize function is not called as soon as it converted to a controller action. This happends when the object is hidden!

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,326
    Vote Rating
    1297
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •