Results 1 to 1 of 1

Thread: This view exists in application, would you like to remove the duplicate?

  1. #1
    Sencha User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
      0  

    Default This view exists in application, would you like to remove the duplicate?

    When adding views, stores, models to controllers you will be prompted by Architect

    In Application
    This view|store|model exists in the application, would you like to remove the duplicate

    w/ 2 choices remove and keep

    This has to do with the views, stores, models you'd like to load when you load this controller. This comes into play when using the dynamic loader. It's closely related to Ext.requires.

    There are times when you would want to not include things at the application level for things like logged in views, controllers, etc ... So that a visitor would have less of a footprint. Then when you do log in those files would be requested.

    Of course this is a larger discussion and relates to making production (single file builds).

    Good resources
    http://docs.sencha.com/touch/2-0/#!/...c_dependencies
    http://docs.sencha.com/touch/2-0/#!/...ller-cfg-views
    http://docs.sencha.com/touch/2-0/#!/api/Ext.Loader
    Attached Images Attached Images
    Phil Strong
    @philstrong

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
  •