├── .gitignore ├── AplicacaoSimples ├── .project ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ └── OiMundo.jsp └── src │ └── com │ └── algaworks │ └── simples │ └── OlaMundo.java ├── AplicandoEstilosEmTabelas ├── .project ├── WebContent │ ├── ConsultaCliente.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ └── imagens │ │ └── fotos.png └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── Cliente.java │ └── ConsultaClienteBean.java ├── ArquivoWebXml ├── .project └── WebContent │ ├── META-INF │ └── MANIFEST.MF │ ├── OlaMundo.xhtml │ └── WEB-INF │ ├── faces-config.xml │ └── web.xml ├── ArquivosJavaScriptCSS ├── .project ├── WebContent │ ├── ConsultaCliente.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ └── fotos.png │ └── resources │ │ ├── css │ │ └── tabela.css │ │ └── js │ │ └── tabela.js └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── Cliente.java │ └── ConsultaClienteBean.java ├── AtributoImmediate ├── .project ├── WebContent │ ├── ChecagemEstoque.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── resources │ │ └── Messages.properties └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── EstoqueBean.java │ ├── ItemEstoque.java │ └── resources │ └── Messages.properties ├── AtributosComunsComponentes ├── .project └── WebContent │ ├── META-INF │ └── MANIFEST.MF │ ├── TesteForm.xhtml │ └── WEB-INF │ ├── faces-config.xml │ └── web.xml ├── AtributosPassthrough ├── .project └── WebContent │ ├── META-INF │ └── MANIFEST.MF │ ├── Teste.xhtml │ └── WEB-INF │ ├── faces-config.xml │ └── web.xml ├── AtualizandoHibernate43 ├── .project ├── WebContent │ ├── 403.xhtml │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── Login.xhtml │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── context.xml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── download.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── nova_coluna_comprovante.sql │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ ├── script.sql │ └── seguranca_script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── ComprovanteValidator.java │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── SegurancaBean.java │ └── hibernate.cfg.xml ├── BackingBeans ├── .project ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ └── teste.xhtml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── TesteBean.java ├── BotoesLinks ├── .project ├── WebContent │ ├── Formulario.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── Resultado.xhtml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ └── imagens │ │ └── voltar.png └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── FormularioBean.java ├── CamposChecagemBotoesRadio ├── .project ├── WebContent │ ├── Confirmacao.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── PerfilUsuario.xhtml │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── PerfilUsuarioBean.java ├── ComponenteViewAction ├── .project ├── WebContent │ ├── 403.xhtml │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── Login.xhtml │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── context.xml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ ├── script.sql │ └── seguranca_script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── SegurancaBean.java │ └── hibernate.cfg.xml ├── ComponentesDentroDeCelulas ├── .project ├── WebContent │ ├── ConsultaCliente.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ └── imagens │ │ └── fotos.png └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── Cliente.java │ └── ConsultaClienteBean.java ├── ConfigurandoJSF22 ├── .project ├── WebContent │ ├── 403.xhtml │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── Login.xhtml │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── context.xml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ ├── script.sql │ └── seguranca_script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── SegurancaBean.java │ └── hibernate.cfg.xml ├── ConversoresNumerosDatas ├── .project ├── WebContent │ ├── ChecagemEstoque.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── EstoqueBean.java │ └── ItemEstoque.java ├── CriandoConversoresPersonalizados ├── .project ├── WebContent │ ├── ChecagemEstoque.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── resources │ │ └── Messages.properties └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── EstoqueBean.java │ ├── ItemEstoque.java │ ├── converter │ └── SmartDateConverter.java │ └── resources │ └── Messages.properties ├── CriandoValidadoresPersonalizados ├── .project ├── WebContent │ ├── ChecagemEstoque.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── resources │ │ └── Messages.properties └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── EstoqueBean.java │ ├── ItemEstoque.java │ ├── converter │ └── SmartDateConverter.java │ ├── resources │ └── Messages.properties │ └── validator │ └── DiaUtilValidator.java ├── CustomizandoMensagensErroConversao ├── .project ├── WebContent │ ├── ChecagemEstoque.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── resources │ │ └── Messages.properties └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── EstoqueBean.java │ ├── ItemEstoque.java │ └── resources │ └── Messages.properties ├── CustomizandoMensagensErroValidacao ├── .project ├── WebContent │ ├── ChecagemEstoque.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── resources │ │ └── Messages.properties └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── EstoqueBean.java │ ├── ItemEstoque.java │ └── resources │ └── Messages.properties ├── DownloadArquivoJSF ├── .project ├── WebContent │ ├── 403.xhtml │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── Login.xhtml │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── context.xml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── download.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── nova_coluna_comprovante.sql │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ ├── script.sql │ └── seguranca_script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── ComprovanteValidator.java │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── SegurancaBean.java │ └── hibernate.cfg.xml ├── ElementosPassthrough ├── .project ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ ├── Teste.xhtml │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── OlaBean.java ├── EntradasSaidasTextoImagens ├── .project ├── WebContent │ ├── CadastroCurriculo.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ └── imagens │ │ └── algaworks.png └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── CadastroCurriculoBean.java ├── EscoposAplicacaoSessao ├── .project ├── WebContent │ ├── GestaoProdutos.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── dominio │ └── Produto.java │ └── visao │ └── GestaoProdutosBean.java ├── FileUpload ├── .project ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ └── upload.xhtml └── src │ └── com │ └── algaworks │ └── UploadBean.java ├── FromViewIdRequerido ├── .project ├── WebContent │ ├── AjudaGestaoProdutos.xhtml │ ├── AjudaGestaoProdutosTelefone.xhtml │ ├── CadastroProdutos.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── dominio │ └── Produto.java │ └── visao │ └── GestaoProdutosBean.java ├── ManagedBeans ├── .project ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ ├── OlaMundo.xhtml │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── OlaMundoBean.java ├── ManipulandoEventosAcao ├── .project ├── WebContent │ ├── AjudaGestaoProdutos.xhtml │ ├── AjudaGestaoProdutosTelefone.xhtml │ ├── GestaoProdutos.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── dominio │ └── Produto.java │ └── visao │ ├── GestaoProdutosBean.java │ └── RegistroCliqueBotaoListener.java ├── ManipulandoEventosMudancaValor ├── .project ├── WebContent │ ├── GestaoProdutos.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── dominio │ └── Produto.java │ └── visao │ └── GestaoProdutosBean.java ├── Mensagens ├── .project ├── WebContent │ ├── CadastroUsuario.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── CadastroUsuarioBean.java ├── MenusCaixasListagemItensSelecao ├── .project ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ ├── TimeFavorito.xhtml │ ├── TimesFavoritos.xhtml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ └── imagens │ │ └── algaworks.png └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── TimeFavoritoBean.java │ └── TimesFavoritosBean.java ├── NovosNamespacesJSF22 ├── .project ├── WebContent │ ├── 403.xhtml │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── Login.xhtml │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── context.xml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ ├── script.sql │ └── seguranca_script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── SegurancaBean.java │ └── hibernate.cfg.xml ├── OutrosEscoposManagedBeans ├── .project ├── WebContent │ ├── GestaoProdutos.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── dominio │ └── Produto.java │ └── visao │ └── GestaoProdutosBean.java ├── Paineis ├── .project └── WebContent │ ├── FormularioPaineis.xhtml │ ├── FormularioTabelas.xhtml │ ├── META-INF │ └── MANIFEST.MF │ ├── WEB-INF │ ├── faces-config.xml │ └── web.xml │ └── imagens │ └── ajuda.png ├── PrimeiroProjetoJSF ├── .project └── WebContent │ ├── META-INF │ └── MANIFEST.MF │ ├── OlaMundo.xhtml │ └── WEB-INF │ ├── faces-config.xml │ └── web.xml ├── ProjetoCurso403ProtecaoMD5 ├── .project ├── WebContent │ ├── 403.xhtml │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── Login.xhtml │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── context.xml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ ├── script.sql │ └── seguranca_script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── SegurancaBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoAjax ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── TesteAjax.xhtml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── TesteAjaxBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoComponentesCustomizados ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoConfigurandoJPAHibernate ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── service │ │ └── GestaoPessoas.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoConversorPersonalizado ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ └── resources │ │ └── Messages.properties ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ └── prototipo-novo-lancamento.jpg └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── financeiro │ ├── converter │ └── PessoaConverter.java │ ├── model │ ├── Lancamento.java │ ├── Pessoa.java │ └── TipoLancamento.java │ ├── resources │ └── Messages.properties │ ├── service │ └── GestaoPessoas.java │ └── view │ ├── CadastroLancamentoBean.java │ └── ConsultaLancamentoBean.java ├── ProjetoCursoExclusaoLancamentos ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── util │ │ ├── FacesUtil.java │ │ └── HibernateUtil.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoIntegrandoTelasHibernate ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── util │ │ └── HibernateUtil.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoInternacionalizacao ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoMapeamentoObjetoRelacional ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── service │ │ └── GestaoPessoas.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoMenuPessoasBancoDeDados ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── util │ │ └── HibernateUtil.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoMetodoGet ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoOpenSessionInView ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ └── HibernateUtil.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoPatternRepository ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoPrototipoTelaLancamento ├── .project ├── WebContent │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── docs │ └── prototipo-consulta-lancamentos.jpg └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── financeiro │ └── view │ └── ConsultaLancamentoBean.java ├── ProjetoCursoPrototipoTelaNovoLancamento ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ └── prototipo-novo-lancamento.jpg └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── financeiro │ └── view │ └── ConsultaLancamentoBean.java ├── ProjetoCursoRegrasDeNegocio ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoSegurancaJAAS ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── Login.xhtml │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── context.xml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ ├── script.sql │ └── seguranca_script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── SegurancaBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoTemplateFacelets ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoTestandoHibernate ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ └── Messages.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ └── script.sql └── src │ ├── TesteHibernate.java │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── RequeridoCondicionalValidator.java │ │ ├── converter │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── resources │ │ └── Messages.properties │ │ ├── service │ │ └── GestaoPessoas.java │ │ ├── util │ │ └── HibernateUtil.java │ │ ├── validator │ │ └── DataFuturaValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ └── ConsultaLancamentoBean.java │ └── hibernate.cfg.xml ├── ProjetoCursoUsandoConversoresValidadores ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ └── resources │ │ └── Messages.properties ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ └── prototipo-novo-lancamento.jpg └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── financeiro │ ├── model │ ├── Lancamento.java │ ├── Pessoa.java │ └── TipoLancamento.java │ ├── resources │ └── Messages.properties │ ├── service │ └── GestaoPessoas.java │ └── view │ ├── CadastroLancamentoBean.java │ └── ConsultaLancamentoBean.java ├── ProjetoCursoValidadorCondicional ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ └── resources │ │ └── Messages.properties ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ └── prototipo-novo-lancamento.jpg └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── financeiro │ ├── RequeridoCondicionalValidator.java │ ├── converter │ └── PessoaConverter.java │ ├── model │ ├── Lancamento.java │ ├── Pessoa.java │ └── TipoLancamento.java │ ├── resources │ └── Messages.properties │ ├── service │ └── GestaoPessoas.java │ ├── validator │ └── DataFuturaValidator.java │ └── view │ ├── CadastroLancamentoBean.java │ └── ConsultaLancamentoBean.java ├── ProjetoCursoValidadorDataFutura ├── .project ├── WebContent │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── receita.png │ │ └── tela.png │ └── resources │ │ └── css │ │ ├── consulta-lancamentos.css │ │ └── sistema.css ├── build │ └── classes │ │ └── com │ │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ └── resources │ │ └── Messages.properties ├── docs │ ├── prototipo-consulta-lancamentos.jpg │ └── prototipo-novo-lancamento.jpg └── src │ └── com │ └── algaworks │ └── cursojsf2 │ └── financeiro │ ├── converter │ └── PessoaConverter.java │ ├── model │ ├── Lancamento.java │ ├── Pessoa.java │ └── TipoLancamento.java │ ├── resources │ └── Messages.properties │ ├── service │ └── GestaoPessoas.java │ ├── validator │ └── DataFuturaValidator.java │ └── view │ ├── CadastroLancamentoBean.java │ └── ConsultaLancamentoBean.java ├── README.md ├── RegrasNavegacaoExplicitas ├── .project ├── WebContent │ ├── AjudaGestaoProdutos.xhtml │ ├── AjudaGestaoProdutosTelefone.xhtml │ ├── CadastroProdutos.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── dominio │ └── Produto.java │ └── visao │ └── GestaoProdutosBean.java ├── ResourceLibraryContracts ├── .project └── WebContent │ ├── META-INF │ └── MANIFEST.MF │ ├── WEB-INF │ ├── faces-config.xml │ └── web.xml │ ├── admin │ └── gestao.xhtml │ ├── cadastro.xhtml │ └── contracts │ ├── admin │ ├── estilo.css │ └── template.xhtml │ └── usuario │ ├── estilo.css │ └── template.xhtml ├── TabelasDeDados ├── .project ├── WebContent │ ├── ConsultaCliente.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── Cliente.java │ └── ConsultaClienteBean.java ├── UploadAjaxBancoDeDados ├── .project ├── WebContent │ ├── 403.xhtml │ ├── CadastroLancamento.xhtml │ ├── ConsultaLancamento.xhtml │ ├── Home.xhtml │ ├── Login.xhtml │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── context.xml │ ├── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml │ ├── imagens │ │ ├── despesa.png │ │ ├── editar.png │ │ ├── excluir.png │ │ ├── logo.png │ │ ├── receita.png │ │ └── tela.png │ ├── resources │ │ ├── algaworks │ │ │ ├── outputCurrency.xhtml │ │ │ └── outputValorLancamento.xhtml │ │ └── css │ │ │ ├── consulta-lancamentos.css │ │ │ └── sistema.css │ └── template │ │ ├── Cabecalho.xhtml │ │ ├── LayoutPadrao.xhtml │ │ └── Rodape.xhtml ├── build │ └── classes │ │ ├── com │ │ └── algaworks │ │ │ └── cursojsf2 │ │ │ └── financeiro │ │ │ └── resources │ │ │ ├── sistema_en.properties │ │ │ ├── sistema_pt.properties │ │ │ ├── validacao_en.properties │ │ │ └── validacao_pt.properties │ │ └── hibernate.cfg.xml ├── docs │ ├── nova_coluna_comprovante.sql │ ├── prototipo-consulta-lancamentos.jpg │ ├── prototipo-novo-lancamento.jpg │ ├── script.sql │ └── seguranca_script.sql └── src │ ├── com │ └── algaworks │ │ └── cursojsf2 │ │ └── financeiro │ │ ├── converter │ │ ├── LancamentoConverter.java │ │ └── PessoaConverter.java │ │ ├── model │ │ ├── Lancamento.java │ │ ├── Pessoa.java │ │ └── TipoLancamento.java │ │ ├── repository │ │ ├── Lancamentos.java │ │ ├── Pessoas.java │ │ └── infra │ │ │ ├── LancamentosHibernate.java │ │ │ └── PessoasHibernate.java │ │ ├── resources │ │ ├── sistema_en.properties │ │ ├── sistema_pt.properties │ │ ├── validacao_en.properties │ │ └── validacao_pt.properties │ │ ├── service │ │ ├── GestaoLancamentos.java │ │ └── RegraNegocioException.java │ │ ├── util │ │ ├── FacesUtil.java │ │ ├── HibernateSessionFilter.java │ │ ├── HibernateUtil.java │ │ └── Repositorios.java │ │ ├── validator │ │ ├── ComprovanteValidator.java │ │ ├── DataFuturaValidator.java │ │ └── RequeridoCondicionalValidator.java │ │ └── view │ │ ├── CadastroLancamentoBean.java │ │ ├── ConsultaLancamentoBean.java │ │ └── SegurancaBean.java │ └── hibernate.cfg.xml ├── UsandoNavegacaoImplicita ├── .project ├── WebContent │ ├── AjudaGestaoProdutos.xhtml │ ├── AjudaGestaoProdutosTelefone.xhtml │ ├── GestaoProdutos.xhtml │ ├── META-INF │ │ └── MANIFEST.MF │ └── WEB-INF │ │ ├── faces-config.xml │ │ └── web.xml └── src │ └── com │ └── algaworks │ └── cursojsf2 │ ├── dominio │ └── Produto.java │ └── visao │ └── GestaoProdutosBean.java └── UsandoValidadores ├── .project ├── WebContent ├── ChecagemEstoque.xhtml ├── META-INF │ └── MANIFEST.MF └── WEB-INF │ ├── faces-config.xml │ └── web.xml ├── build └── classes │ └── com │ └── algaworks │ └── cursojsf2 │ └── resources │ └── Messages.properties └── src └── com └── algaworks └── cursojsf2 ├── EstoqueBean.java ├── ItemEstoque.java └── resources └── Messages.properties /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | .DS_Store 3 | Servers/* 4 | .metadata 5 | .settings 6 | .classpath 7 | RemoteSystemsTempFiles/* 8 | */bin/ -------------------------------------------------------------------------------- /AplicacaoSimples/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /AplicacaoSimples/WebContent/OiMundo.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Oi Mundo

4 | Testando JSP. 5 | 6 | -------------------------------------------------------------------------------- /AplicandoEstilosEmTabelas/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /AplicandoEstilosEmTabelas/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /AplicandoEstilosEmTabelas/WebContent/imagens/fotos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AplicandoEstilosEmTabelas/WebContent/imagens/fotos.png -------------------------------------------------------------------------------- /ArquivoWebXml/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ArquivoWebXml/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ArquivosJavaScriptCSS/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ArquivosJavaScriptCSS/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /ArquivosJavaScriptCSS/WebContent/imagens/fotos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ArquivosJavaScriptCSS/WebContent/imagens/fotos.png -------------------------------------------------------------------------------- /ArquivosJavaScriptCSS/WebContent/resources/css/tabela.css: -------------------------------------------------------------------------------- 1 | .tabela { 2 | font-family: Arial; 3 | font-size: 12px; 4 | } 5 | 6 | .cabecalho { 7 | background-color: black; 8 | color: white; 9 | } 10 | 11 | .linha1 { 12 | background-color: #c9c9c9; 13 | } 14 | 15 | .linha2 { 16 | background-color: white; 17 | } -------------------------------------------------------------------------------- /ArquivosJavaScriptCSS/WebContent/resources/js/tabela.js: -------------------------------------------------------------------------------- 1 | function selecionarCidade(nome) { 2 | alert('Cidade selecionada: \n' + nome.toUpperCase()); 3 | } -------------------------------------------------------------------------------- /AtributoImmediate/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /AtributoImmediate/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /AtributoImmediate/build/classes/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtributoImmediate/build/classes/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /AtributoImmediate/src/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtributoImmediate/src/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /AtributosComunsComponentes/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /AtributosComunsComponentes/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /AtributosPassthrough/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /AtributosPassthrough/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/imagens/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/WebContent/imagens/download.png -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /AtualizandoHibernate43/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /AtualizandoHibernate43/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /AtualizandoHibernate43/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /AtualizandoHibernate43/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /AtualizandoHibernate43/docs/nova_coluna_comprovante.sql: -------------------------------------------------------------------------------- 1 | alter table lancamento add comprovante blob; -------------------------------------------------------------------------------- /AtualizandoHibernate43/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /AtualizandoHibernate43/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /AtualizandoHibernate43/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /AtualizandoHibernate43/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /AtualizandoHibernate43/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /AtualizandoHibernate43/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /AtualizandoHibernate43/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/AtualizandoHibernate43/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /AtualizandoHibernate43/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /BackingBeans/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /BackingBeans/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /BotoesLinks/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /BotoesLinks/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /BotoesLinks/WebContent/imagens/voltar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/BotoesLinks/WebContent/imagens/voltar.png -------------------------------------------------------------------------------- /BotoesLinks/src/com/algaworks/cursojsf2/FormularioBean.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2; 2 | 3 | import javax.faces.bean.ManagedBean; 4 | 5 | @ManagedBean 6 | public class FormularioBean { 7 | 8 | private String nome; 9 | 10 | public String getNome() { 11 | return nome; 12 | } 13 | 14 | public void setNome(String nome) { 15 | this.nome = nome; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /CamposChecagemBotoesRadio/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /CamposChecagemBotoesRadio/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ComponenteViewAction/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /ComponenteViewAction/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ComponenteViewAction/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ComponenteViewAction/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ComponenteViewAction/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ComponenteViewAction/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ComponenteViewAction/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ComponenteViewAction/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ComponenteViewAction/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ComponenteViewAction/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ComponenteViewAction/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponenteViewAction/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ComponenteViewAction/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ComponentesDentroDeCelulas/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ComponentesDentroDeCelulas/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /ComponentesDentroDeCelulas/WebContent/imagens/fotos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ComponentesDentroDeCelulas/WebContent/imagens/fotos.png -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ConfigurandoJSF22/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /ConfigurandoJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ConfigurandoJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ConfigurandoJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ConfigurandoJSF22/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ConfigurandoJSF22/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/repository/Lancamentos.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Lancamento; 6 | 7 | public interface Lancamentos { 8 | 9 | public List todos(); 10 | public Lancamento comDadosIguais(Lancamento lancamento); 11 | public Lancamento porCodigo(Integer codigo); 12 | 13 | public Lancamento guardar(Lancamento lancamento); 14 | public void remover(Lancamento lancamento); 15 | 16 | } -------------------------------------------------------------------------------- /ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ConfigurandoJSF22/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ConversoresNumerosDatas/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ConversoresNumerosDatas/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /CriandoConversoresPersonalizados/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /CriandoConversoresPersonalizados/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /CriandoConversoresPersonalizados/build/classes/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/CriandoConversoresPersonalizados/build/classes/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /CriandoConversoresPersonalizados/src/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/CriandoConversoresPersonalizados/src/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /CriandoValidadoresPersonalizados/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /CriandoValidadoresPersonalizados/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /CriandoValidadoresPersonalizados/build/classes/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/CriandoValidadoresPersonalizados/build/classes/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /CriandoValidadoresPersonalizados/src/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/CriandoValidadoresPersonalizados/src/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /CustomizandoMensagensErroConversao/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /CustomizandoMensagensErroConversao/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /CustomizandoMensagensErroConversao/build/classes/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/CustomizandoMensagensErroConversao/build/classes/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /CustomizandoMensagensErroConversao/src/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/CustomizandoMensagensErroConversao/src/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /CustomizandoMensagensErroValidacao/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /CustomizandoMensagensErroValidacao/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /CustomizandoMensagensErroValidacao/build/classes/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/CustomizandoMensagensErroValidacao/build/classes/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /CustomizandoMensagensErroValidacao/src/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/CustomizandoMensagensErroValidacao/src/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/imagens/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/WebContent/imagens/download.png -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /DownloadArquivoJSF/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /DownloadArquivoJSF/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /DownloadArquivoJSF/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /DownloadArquivoJSF/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /DownloadArquivoJSF/docs/nova_coluna_comprovante.sql: -------------------------------------------------------------------------------- 1 | alter table lancamento add comprovante blob; -------------------------------------------------------------------------------- /DownloadArquivoJSF/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /DownloadArquivoJSF/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/repository/Lancamentos.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Lancamento; 6 | 7 | public interface Lancamentos { 8 | 9 | public List todos(); 10 | public Lancamento comDadosIguais(Lancamento lancamento); 11 | public Lancamento porCodigo(Integer codigo); 12 | 13 | public Lancamento guardar(Lancamento lancamento); 14 | public void remover(Lancamento lancamento); 15 | 16 | } -------------------------------------------------------------------------------- /DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /DownloadArquivoJSF/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ElementosPassthrough/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ElementosPassthrough/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /EntradasSaidasTextoImagens/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /EntradasSaidasTextoImagens/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /EntradasSaidasTextoImagens/WebContent/imagens/algaworks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/EntradasSaidasTextoImagens/WebContent/imagens/algaworks.png -------------------------------------------------------------------------------- /EscoposAplicacaoSessao/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /EscoposAplicacaoSessao/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /FileUpload/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /FileUpload/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /FromViewIdRequerido/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ManagedBeans/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ManagedBeans/src/com/algaworks/cursojsf2/OlaMundoBean.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2; 2 | 3 | import javax.faces.bean.ManagedBean; 4 | 5 | //@ManagedBean 6 | public class OlaMundoBean { 7 | 8 | private String nome; 9 | 10 | public String getNome() { 11 | return nome; 12 | } 13 | 14 | public void setNome(String nome) { 15 | this.nome = nome; 16 | } 17 | 18 | public void enviar() { 19 | this.setNome(this.getNome().toUpperCase()); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /ManipulandoEventosAcao/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ManipulandoEventosAcao/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /ManipulandoEventosMudancaValor/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ManipulandoEventosMudancaValor/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /Mensagens/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /Mensagens/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /MenusCaixasListagemItensSelecao/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /MenusCaixasListagemItensSelecao/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /MenusCaixasListagemItensSelecao/WebContent/imagens/algaworks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/MenusCaixasListagemItensSelecao/WebContent/imagens/algaworks.png -------------------------------------------------------------------------------- /MenusCaixasListagemItensSelecao/src/com/algaworks/cursojsf2/TimeFavoritoBean.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2; 2 | 3 | import javax.faces.bean.ManagedBean; 4 | 5 | @ManagedBean 6 | public class TimeFavoritoBean { 7 | 8 | private String time; 9 | 10 | public void escolher() { 11 | System.out.println("Time selecionado: " + this.getTime()); 12 | } 13 | 14 | public String getTime() { 15 | return time; 16 | } 17 | 18 | public void setTime(String time) { 19 | this.time = time; 20 | } 21 | 22 | } -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /NovosNamespacesJSF22/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /NovosNamespacesJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /NovosNamespacesJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /NovosNamespacesJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /NovosNamespacesJSF22/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /NovosNamespacesJSF22/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /NovosNamespacesJSF22/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /NovosNamespacesJSF22/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /NovosNamespacesJSF22/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /NovosNamespacesJSF22/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /NovosNamespacesJSF22/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/NovosNamespacesJSF22/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /NovosNamespacesJSF22/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /OutrosEscoposManagedBeans/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /OutrosEscoposManagedBeans/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /Paineis/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /Paineis/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /Paineis/WebContent/imagens/ajuda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/Paineis/WebContent/imagens/ajuda.png -------------------------------------------------------------------------------- /PrimeiroProjetoJSF/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /PrimeiroProjetoJSF/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCurso403ProtecaoMD5/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ProjetoCurso403ProtecaoMD5/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ProjetoCursoAjax/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoAjax/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoAjax/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoAjax/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoAjax/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoAjax/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoAjax/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoAjax/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoAjax/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoAjax/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoAjax/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoAjax/src/com/algaworks/cursojsf2/financeiro/repository/Lancamentos.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Lancamento; 6 | 7 | public interface Lancamentos { 8 | 9 | public List todos(); 10 | public Lancamento comDadosIguais(Lancamento lancamento); 11 | public Lancamento porCodigo(Integer codigo); 12 | 13 | public Lancamento guardar(Lancamento lancamento); 14 | public void remover(Lancamento lancamento); 15 | 16 | } -------------------------------------------------------------------------------- /ProjetoCursoAjax/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCursoAjax/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoAjax/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoAjax/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ProjetoCursoAjax/src/com/algaworks/cursojsf2/financeiro/view/TesteAjaxBean.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.view; 2 | 3 | import javax.faces.bean.ManagedBean; 4 | 5 | @ManagedBean 6 | public class TesteAjaxBean { 7 | 8 | private String descricao; 9 | 10 | public String getDescricao() { 11 | return descricao; 12 | } 13 | 14 | public void setDescricao(String descricao) { 15 | this.descricao = descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

Seja bem-vindo!

9 |
10 | 11 |
-------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/template/Cabecalho.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | Sistema Financeiro - Projeto do curso online de JSF 2 da AlgaWorks
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoComponentesCustomizados/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoComponentesCustomizados/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoConfigurandoJPAHibernate/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConfigurandoJPAHibernate/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoConversorPersonalizado/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoConversorPersonalizado/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoExclusaoLancamentos/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoExclusaoLancamentos/src/com/algaworks/cursojsf2/financeiro/util/FacesUtil.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.util; 2 | 3 | import javax.faces.application.FacesMessage; 4 | import javax.faces.application.FacesMessage.Severity; 5 | import javax.faces.context.FacesContext; 6 | 7 | public class FacesUtil { 8 | 9 | public static void adicionarMensagem(Severity tipo, String msg) { 10 | FacesContext.getCurrentInstance().addMessage(null, 11 | new FacesMessage(tipo, msg, msg)); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoIntegrandoTelasHibernate/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoIntegrandoTelasHibernate/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/template/Cabecalho.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoInternacionalizacao/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ProjetoCursoInternacionalizacao/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoMapeamentoObjetoRelacional/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMapeamentoObjetoRelacional/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoMenuPessoasBancoDeDados/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMenuPessoasBancoDeDados/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoMetodoGet/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoMetodoGet/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoOpenSessionInView/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoOpenSessionInView/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/src/com/algaworks/cursojsf2/financeiro/repository/Lancamentos.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Lancamento; 6 | 7 | public interface Lancamentos { 8 | 9 | public List todos(); 10 | public Lancamento guardar(Lancamento lancamento); 11 | public void remover(Lancamento lancamento); 12 | 13 | } -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCursoPatternRepository/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPatternRepository/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaLancamento/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaLancamento/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaLancamento/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaLancamento/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaLancamento/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaNovoLancamento/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaNovoLancamento/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoPrototipoTelaNovoLancamento/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoPrototipoTelaNovoLancamento/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/src/com/algaworks/cursojsf2/financeiro/repository/Lancamentos.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Lancamento; 6 | 7 | public interface Lancamentos { 8 | 9 | public List todos(); 10 | public Lancamento comDadosIguais(Lancamento lancamento); 11 | 12 | public Lancamento guardar(Lancamento lancamento); 13 | public void remover(Lancamento lancamento); 14 | 15 | } -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoRegrasDeNegocio/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoRegrasDeNegocio/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoSegurancaJAAS/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /ProjetoCursoSegurancaJAAS/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

Seja bem-vindo!

9 |
10 | 11 |
-------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/template/Cabecalho.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | Sistema Financeiro - Projeto do curso online de JSF 2 da AlgaWorks
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTemplateFacelets/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoTemplateFacelets/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoTestandoHibernate/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoTestandoHibernate/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoUsandoConversoresValidadores/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoUsandoConversoresValidadores/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoValidadorCondicional/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorCondicional/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.financeiro.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/build/classes/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /ProjetoCursoValidadorDataFutura/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/ProjetoCursoValidadorDataFutura/src/com/algaworks/cursojsf2/financeiro/resources/Messages.properties -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | #Curso online - Desenvolvimento Web com JavaServer Faces 2 2 | 3 | Este repositório é usado para armazenar e controlar os códigos-fonte dos exemplos e resoluções de exercícios 4 | do curso online de **Desenvolvimento Web com JavaServer Faces 2** da [AlgaWorks](http://www.algaworks.com). 5 | 6 | -------------------------------------------------------------------------------- /RegrasNavegacaoExplicitas/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ResourceLibraryContracts/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ResourceLibraryContracts/WebContent/contracts/admin/estilo.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: yellow; 3 | } -------------------------------------------------------------------------------- /ResourceLibraryContracts/WebContent/contracts/admin/template.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | Olá administrador 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | Você é um administrador. Cuide bem de sua senha. 17 | 18 |
19 | -------------------------------------------------------------------------------- /ResourceLibraryContracts/WebContent/contracts/usuario/estilo.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: green; 3 | } -------------------------------------------------------------------------------- /ResourceLibraryContracts/WebContent/contracts/usuario/template.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | Olá usuário 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /TabelasDeDados/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /TabelasDeDados/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/Home.xhtml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |

#{msg.welcome}

9 |
10 | 11 |
-------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/META-INF/context.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/imagens/despesa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/WebContent/imagens/despesa.png -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/imagens/editar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/WebContent/imagens/editar.png -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/imagens/excluir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/WebContent/imagens/excluir.png -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/imagens/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/WebContent/imagens/logo.png -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/imagens/receita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/WebContent/imagens/receita.png -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/imagens/tela.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/WebContent/imagens/tela.png -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/WebContent/template/Rodape.xhtml: -------------------------------------------------------------------------------- 1 | 4 | 5 | #{msg['footer.msg']}
6 | www.algaworks.com 7 | 8 |
-------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/build/classes/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/build/classes/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/docs/nova_coluna_comprovante.sql: -------------------------------------------------------------------------------- 1 | alter table lancamento add comprovante blob; -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/docs/prototipo-consulta-lancamentos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/docs/prototipo-consulta-lancamentos.jpg -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/docs/prototipo-novo-lancamento.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/docs/prototipo-novo-lancamento.jpg -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/src/com/algaworks/cursojsf2/financeiro/model/TipoLancamento.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.model; 2 | 3 | public enum TipoLancamento { 4 | 5 | RECEITA("Receita"), 6 | DESPESA("Despesa"); 7 | 8 | private String descricao; 9 | 10 | TipoLancamento(String descricao) { 11 | this.descricao = descricao; 12 | } 13 | 14 | public String getDescricao() { 15 | return this.descricao; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/src/com/algaworks/cursojsf2/financeiro/repository/Pessoas.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.repository; 2 | 3 | import java.util.List; 4 | 5 | import com.algaworks.cursojsf2.financeiro.model.Pessoa; 6 | 7 | public interface Pessoas { 8 | 9 | public List todas(); 10 | public Pessoa porCodigo(Integer codigo); 11 | 12 | } -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/src/com/algaworks/cursojsf2/financeiro/resources/sistema_pt.properties -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/src/com/algaworks/cursojsf2/financeiro/resources/validacao_en.properties: -------------------------------------------------------------------------------- 1 | javax.faces.component.UIInput.REQUIRED=Fill the field {0}. 2 | javax.faces.converter.DateTimeConverter.DATE={2} is invalid. 3 | javax.faces.converter.NumberConverter.NUMBER={2} is invalid. 4 | javax.faces.validator.DoubleRangeValidator.MINIMUM={1} is invalid. -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UploadAjaxBancoDeDados/src/com/algaworks/cursojsf2/financeiro/resources/validacao_pt.properties -------------------------------------------------------------------------------- /UploadAjaxBancoDeDados/src/com/algaworks/cursojsf2/financeiro/service/RegraNegocioException.java: -------------------------------------------------------------------------------- 1 | package com.algaworks.cursojsf2.financeiro.service; 2 | 3 | public class RegraNegocioException extends Exception { 4 | 5 | public RegraNegocioException(String message) { 6 | super(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /UsandoNavegacaoImplicita/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /UsandoNavegacaoImplicita/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /UsandoValidadores/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /UsandoValidadores/WebContent/WEB-INF/faces-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | com.algaworks.cursojsf2.resources.Messages 11 | 12 | 13 | -------------------------------------------------------------------------------- /UsandoValidadores/build/classes/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UsandoValidadores/build/classes/com/algaworks/cursojsf2/resources/Messages.properties -------------------------------------------------------------------------------- /UsandoValidadores/src/com/algaworks/cursojsf2/resources/Messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algaworks/curso-desenvolvimento-web-com-jsf2/3f993079f6ea2747e7c202c1ab71e9165eece39e/UsandoValidadores/src/com/algaworks/cursojsf2/resources/Messages.properties --------------------------------------------------------------------------------