PDA

View Full Version : Doubt controllers



willantunes
24 Jul 2012, 10:39 AM
How do I make the same code below in sencha architect?


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

aconran
24 Jul 2012, 11:36 AM
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

willantunes
24 Jul 2012, 11:48 AM
Answered...

Thanks