1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    15
    Vote Rating
    0
    willantunes is on a distinguished road

      0  

    Default Button tap isn't fire an event

    Button tap isn't fire an event


    Hello,
    I have the project below and it events don't work well. Specially the action onClientesListNovoCliente.
    association.zip
    Somebody can help me?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      1  

    Default


    When using an itemId you will need to prefix the component with its xtype.

    If you use an id you don't have to do that (but you won't be able to create multiple instances of it).


    I'd recommend adding an xtype/alias to Listagem, maybe 'listagem'. Then in your controlQuery change it to 'listagem#clientesList'.

    Alternatively you could change 'clientesList' from an itemId to an id and this would begin working.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    15
    Vote Rating
    0
    willantunes is on a distinguished road

      0  

    Default


    It Works.

    Tks