Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
    Artistan is on a distinguished road

      0  

    Red face id in Controller is duplicated.

    id in Controller is duplicated.


    Shows id in Controller before the models and after the init.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,882
    Vote Rating
    101
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Could you give us some more details and perhaps a screenshot indicating what the problem is?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
    Artistan is on a distinguished road

      0  

    Default


    Notice in the Controller below...
    id: above the models.
    id: below the init.
    The controler is duplicating the id: attribute.
    Thank You.

    Code:
    /*
     * File: BenAdmin/controller/Visits.js
     * Date: Tue Jan 17 2012 13:41:27 GMT-0600 (Central Standard Time)
     *
     * This file was generated by Sencha Designer version 2.0.0.
     * http://www.sencha.com/products/designer/
     *
     * You should implement event handling and custom methods in this
     * class.
     */
    
    Ext.define('BenAdmin.controller.Visits', {
        extend: 'Ext.app.Controller',
    
        id: 'control_visits',
        models: [
            'Visit'
        ],
        stores: [
            'Visit'
        ],
        views: [
            'Visits'
        ],
        refs: [
            {
                ref: 'list',
                selector: '#ben_list_search'
            }
        ],
    
        init: function() {
            this.control({
                "button[text='New Visit']": {
                    tap: this.onNewVisitButtonTap
                }
                });
        },
    
        id: 'control_visits',
    
        onNewVisitButtonTap: function(button, e, options) {
            console.log('New Visit Button');
            try {
    
                // set the visit id.
                var visitIndexField = this.getVisitIndex();
                visitIndexField.setValue(-1);
                // set the visit view to the active view.
                var vport = this.getVport();
                vport.setActiveItem(1);
                // this will trigger an activate function on the visit which will retreive and render the appropriate data.;
            } catch(e) {
                console.log('Exception New Visit',e);
            }
        }
    });

  4. #4
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,732
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    Controller doesn't have an id. Is this a custom property?

    I added id as a custom property and was not able to reproduce this.

    Need more data on how you got to this.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  5. #5
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,732
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    Artistan can you try this again with the lasted released build, pretty please!
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  6. #6
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,882
    Vote Rating
    101
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Closing until we are able to get a reproducible test-case.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar