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 Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
    UbuntuPenguin is on a distinguished road

      0  

    Default Unanswered: Double views are being created

    Unanswered: Double views are being created


    Hello Everyone,
    So I am back at using ST2. I have a toolbar which I change the title on, however I have noticed that during the execution of my applications, the title isn't changing. When I search for the component using the ComponentQuery I see this.

    Ext.ComponentQuery.query('informationview toolbar')
    [Ext.apply.create.Class, Ext.apply.create.Class ]

    which means there are two objects that match the given selector when there should only be one ! One of the views has its hidden param set to true, while the other one is in the main view.

    Does anyone know where this doppleganger view could be coming from, and how can I kill it. At first I thought it was my refs, but I tried setting them to autoCreate: false to no avail.

  2. #2
    Sencha User
    Join Date
    Apr 2010
    Location
    China
    Posts
    227
    Answers
    64
    Vote Rating
    20
    haduki will become famous soon enough haduki will become famous soon enough

      0  

    Default


    Could you give some code?
    What is 'informationview'?
    I write English by translator.

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
    UbuntuPenguin is on a distinguished road

      0  

    Default


    Information is just a view. Here is some code.

    Profile
    Code:
    Ext.define('Ss.profile.Tablet', {
        extend:'Ext.app.Profile',
    
    
        config:{
            name:'tablet',
            namespace:'tablet',
            controllers:['MainController'],
            views:['Main']
        },
    
    
        isActive:function () {
            return Ext.os.is.Tablet || Ext.os.is.Desktop;
        },
    
    
        launch:function () {
            Ext.create('Ss.view.tablet.Main', {fullscreen: true});
        }
    });
    and here is the app.js

    Code:
    Ext.Loader.setConfig({
        enabled: true
    });
    Ext.application({
        models: [
            'NavigationModel'
        ],
        stores: [
            'NavigationModelStore',
            'StateLawStore'
        ],
        views: [
            'StateSearchView',
            'MyToolbar',
            'TiledNavigationView',
            'LawNavigationStack',
            'NavigationList',
            'AutocompleteField',
            'tablet.Main'
        ],
        name: 'Ss',
        controllers: [
            'MainViewController',
            'StateSearchController',
            'InformationController',
            'TiledNavigationController',
            'NavigationListController'
        ],
        profiles:['Tablet']
    });

  4. #4
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
    UbuntuPenguin is on a distinguished road

      0  

    Default


    I was being an . Said view was being instantiated somewhere else down the stack.

Thread Participants: 1

Tags for this Thread