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

      0  

    Default Doubt controllers

    Doubt controllers


    How do I make the same code below in sencha architect?

    Code:
     control: {                     listagem: {
                         novoCliente: "onNovoCliente",
                         editarCliente: "onEditarCliente",
                        },
                         novo: {
                         salvarCliente: "onSalvarCliente",
                         deletarCliente: "onDeletarCliente",
                         voltar: "onVoltar"           
                                }
            }

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,352
    Vote Rating
    127
    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


    Add a controller (click the + at the top right of the inspector)

    Add a controller action, in the property grid search for actions, click the + then hit controller action

    Select the listagem component that you've already created within Architect

    Select the novoCliente event which you've already added as a custom event to the listagem component
    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


    Answered...

    Thanks

Thread Participants: 1