Ext.onReady(function(){ Ext.QuickTips.init(); Ext.Msg.wait('Aguarde...', 'Informações'); Ext.Msg.hide(); var form = Ext.getCmp('idCadastroCartaoComumForm').getForm(); //form.findField('cadastroCartaoComum.nome').setDisabled(true); //form.findField('cadastroCartaoComum.rg').setDisabled(true); //form.findField('cadastroCartaoComum.endereco').setDisabled(true); //form.findField('cadastroCartaoComum.enderecoCompl').setDisabled(true); //form.findField('cadastroCartaoComum.bairro').setDisabled(true); //form.findField('cadastroCartaoComum.cep').setDisabled(true); //form.findField('cadastroCartaoComum.telefone').setDisabled(true); //form.findField('cadastroCartaoComum.cidade').setDisabled(true); //form.findField('cadastroCartaoComum.estado').setDisabled(true); //form.findField('cadastroCartaoComum.celular').setDisabled(true); //form.findField('cadastroCartaoComum.email').setDisabled(true); //form.findField('cadastroCartaoComum.nascimento').setDisabled(true); //form.findField('cadastroCartaoComum.masculino').setDisabled(true); //form.findField('cadastroCartaoComum.feminino').setDisabled(true); //Ext.getCmp('salvarCartao').setDisabled(true); CadastroCartaoComum.win.show(); $('#_idCEP333').mask("99999-999", {placeholder:"_"}); $('#_idFone333').mask("(99) 9999-9999", {placeholder:"_"}); $('#_idFone222').mask("(99) 9999-9999", {placeholder:"_"}); });