Results 1 to 5 of 5

Thread: Re-order Controllers Load

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    24
    Vote Rating
    0
      0  

    Default Re-order Controllers Load

    Hi,

    How can I change the order in which my controllers are loaded? If I select the Application node in the inspector, I can see in code view all mu controllers, in the order they were added to the project? How can I change that?

    Thanks

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
      0  

    Default

    Hi,

    Currently there is no way to do this other than redoing the controllers. Is there a reason for changing the ordering of controllers?

    Regards
    Bharat Nagwani
    Sencha Designer Development Team

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    24
    Vote Rating
    0
      0  

    Default

    wow... yes.. I need to execute some code first in a controller that was added later.

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
      0  

    Default

    You could move the logic to Application launch if there is something you want to execute first. The order of controller load is not guaranteed in Touch framework.
    Bharat Nagwani
    Sencha Designer Development Team

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    24
    Vote Rating
    0
      0  

    Default

    Tks. That's a good idea.

Tags for this Thread

Posting Permissions

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