You found a bug! We've classified it as DSGNR-3428 . 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
    Mar 2008
    Posts
    51
    Vote Rating
    2
    art.dev.ext is on a distinguished road

      0  

    Default Duplicated function

    Duplicated function


    - Create a panel
    - Add 2 buttons
    - Add a 'click' listener to both buttons and set its 'fn' attribute to 'onSearch'
    - SA generates code :
    Code:
    Ext.define('MyApp.view.MyPanel', {
        extend: 'Ext.panel.Panel',
        ...
        initComponent: function() {
            ...
        },
        onSearch: function(button, e, options) {
    
        },
        onSearch: function(button, e, options) {
    
        }
    });
    Maybe SA should check if component does not already have a function with same name before creating it. Then it would be possible to factorize code and do not need to create Controller or create a function redirection.
    It would be nice if it was possible to have a combo listing all available functions of 'me'

    EDIT : please note that SA detects if I want to add a Basic Function named 'onSearch' : 'This handler name 'fn' is already in use or reserved. Please enter a unique name'

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,187
    Vote Rating
    119
    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 aconran is a splendid one to behold

      0  

    Default


    Thanks for the bug report. This still happens in the current development branch.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi