Mas tem algum problema se eu fizer abrindo transactions??
Em 20 de dezembro de 2010 01:55, Felipe Costa <[email protected]>escreveu: > Aprincipio sim. Pode copiar o zl.xml do Comp2Web e usar a classe JPAUtil > para pegar o EntityManager. > Não precisa abrir Transaction e nem fechar o EntityManager. > > > Abs > -- > Felipe Costa > Undergraduating in Computer Science at UFRJ > Black belt <http://www.blackbeltfactory.com/ui#User/fcosta> on > JavaBlackBelt <http://www.blackbeltfactory.com/ui#User/fcosta> > > > > 2010/12/20 Sérgio Porto <[email protected]> > >> é só alterar o zk.xml ??? >> >> Em 20 de dezembro de 2010 01:47, Felipe Costa <[email protected] >> > escreveu: >> >> Voces chegaram a olhar o projeto Comp2Web? La mostra essa integração. >>> >>> Abs >>> -- >>> Felipe Costa >>> Undergraduating in Computer Science at UFRJ >>> Black belt <http://www.blackbeltfactory.com/ui#User/fcosta> on >>> JavaBlackBelt <http://www.blackbeltfactory.com/ui#User/fcosta> >>> >>> >>> >>> 2010/12/20 Sérgio Porto <[email protected]> >>> >>> Vlw por ter respondido. >>>> Estamos com dificuldade mesmo em mesclar o JPA com o ZK, tentamos e toda >>>> vez que testavamos um método de cadastro retornava NullPointerException >>>> >>>> >>>> >>>> Em 20 de dezembro de 2010 01:29, Felipe Costa < >>>> [email protected]> escreveu: >>>> >>>> Vanessa, pra redirecionar voce pode usar o Execution.sendRedirect(String >>>>> uri);. No caso a uri pode ser o caminho do arquivo .zul a partir da pasta >>>>> WebContent. Caminho do arquivo WebContent/index.zul, a chamada seria >>>>> Execution.sendRedirect("/index.zul"); >>>>> >>>>> Sergio, se for apenas o valor do do label voce pode guardar ele na >>>>> sessão do usuário: Sessions.getCurrent().setAttribute(String, Object); >>>>> >>>>> e depois pegar no outro >>>>> zul: Sessions.getCurrent().getAttribute(String); >>>>> >>>>> Respondi dúvida de voces? >>>>> >>>>> Desculpem não ter respondido antes, mas eu tava no hospital... =/ >>>>> >>>>> >>>>> Abs >>>>> -- >>>>> Felipe Costa >>>>> Undergraduating in Computer Science at UFRJ >>>>> Black belt <http://www.blackbeltfactory.com/ui#User/fcosta> on >>>>> JavaBlackBelt <http://www.blackbeltfactory.com/ui#User/fcosta> >>>>> >>>>> >>>>> >>>>> 2010/12/19 Peter P. Lupo <[email protected]> >>>>> >>>>> Ou o arquivo não é .ser (a extensão, como vc deve ter notado na aula, é >>>>>> escolhida na hora de criar o arquivo - nem extensão precisa ter) ou o >>>>>> arquivo não está onde você está procurando. >>>>>> >>>>>> Abraço >>>>>> >>>>>> Peter P. Lupo >>>>>> http://craftnicely.blogspot.com - http://sites.google.com/site/pplupo >>>>>> <http://sites.google.com/site/pplupo>MPS.BR Authorized >>>>>> Implementation >>>>>> Practitioner<http://www.softex.br/mpsbr/_profissionais/MPS.BR_certificados_de_arovacao_prova_P2-MPS.BR.pdf>- >>>>>> Certified >>>>>> ScrumMaster<http://www.scrumalliance.org/pages/certified_scrummaster> >>>>>> <http://www.scrumalliance.org/pages/certified_scrummaster>Oracle >>>>>> Certified Associate, Java SE 5/SE >>>>>> 6<http://in.sun.com/training/certification/java/scja.xml> - >>>>>> Java Black Belt <http://www.blackbeltfactory.com/ui#%21User/pplupo> >>>>>> <http://www.blackbeltfactory.com/ui#%21User/pplupo>+55 (021) >>>>>> 81742487 >>>>>> >>>>>> >>>>>> >>>>>> 2010/12/19 Sérgio Porto <[email protected]> >>>>>> >>>>>> Outra coisa, eu estou testando o ZK com a versão com serialização. >>>>>>> Coloquei pra quando clicar me um botão salvar serializar, mas não >>>>>>> cria nehum arquivo .ser. Porém na maioria das vezes, mesmo saindo do >>>>>>> eclipse >>>>>>> ou reiniciando o pc os dados são mantidos. >>>>>>> Poque isso? >>>>>>> >>>>>>> Em 18 de dezembro de 2010 10:07, Felipe Costa < >>>>>>> [email protected]> escreveu: >>>>>>> >>>>>>> Sim Marcos. A localização do BD está no persistence.xml. >>>>>>>> Algumas pessoas vieram falar comigo que o projeto que eu paseei >>>>>>>> estava com alguns problemas. >>>>>>>> Eu dei uma revisada e atualizei as libs. >>>>>>>> Segue a versão atualizada. >>>>>>>> https://docs.google.com/leaf?id=0B_Y7JasNGK8FNzNjMDI4ZWYtMGJkOS00ZjJmLThiOWItMjgwZjRmZTdmNDdl&authkey=COnL_OkD&hl=pt_BR >>>>>>>> >>>>>>>> >>>>>>>> Abs >>>>>>>> -- >>>>>>>> Felipe Costa >>>>>>>> Undergraduating in Computer Science at UFRJ >>>>>>>> Black belt <http://www.blackbeltfactory.com/ui#User/fcosta> on >>>>>>>> JavaBlackBelt <http://www.blackbeltfactory.com/ui#User/fcosta> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 2010/12/17 Marcos Anderson Santos <[email protected]> >>>>>>>> >>>>>>>> Felipe, sei que não é aqui, mas fiquei com preguiça de criar outro >>>>>>>>> tópico. :P >>>>>>>>> Com relação ao hsqldb é só mudar o persistence e add a jar?? >>>>>>>>> não preciso fazer mais nada? e com relação à localização do bd?? >>>>>>>>> >>>>>>>>> Att >>>>>>>>> >>>>>>>>> 2010/12/16 Felipe Costa <[email protected]> >>>>>>>>> >>>>>>>>> Esse link é o antigo. >>>>>>>>>> Esse é o mais novo: >>>>>>>>>> >>>>>>>>>> https://docs.google.com/leaf?id=0B_Y7JasNGK8FNWJjNzgzOWEtNGNjOC00ZTY4LThiNzYtYTA1N2M3YWVkNDll&hl=pt_BR >>>>>>>>>> >>>>>>>>>> Abs >>>>>>>>>> -- >>>>>>>>>> Felipe Costa >>>>>>>>>> Undergraduating in Computer Science at UFRJ >>>>>>>>>> Black belt <http://www.blackbeltfactory.com/ui#User/fcosta> on >>>>>>>>>> JavaBlackBelt <http://www.blackbeltfactory.com/ui#User/fcosta> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, Dec 16, 2010 at 3:35 PM, Felipe Lohnefink < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Felipe, >>>>>>>>>>> >>>>>>>>>>> o link parece estar com problemas... >>>>>>>>>>> Aqui eu não consegui baixar. >>>>>>>>>>> >>>>>>>>>>> Se você puder dar uma olhada... >>>>>>>>>>> >>>>>>>>>>> Obrigado! >>>>>>>>>>> -- >>>>>>>>>>> Felipe Paixão Lohnefink >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>> Google Groups "Comp 2 - Geral" group. >>>>>>>>>>> To post to this group, send email to >>>>>>>>>>> [email protected]. >>>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>>> [email protected]<comp2-geral%[email protected]> >>>>>>>>>>> . >>>>>>>>>>> For more options, visit this group at >>>>>>>>>>> http://groups.google.com/group/comp2-geral?hl=en. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>>> Groups "Comp 2 - Geral" group. >>>>>>>>>> To post to this group, send email to [email protected] >>>>>>>>>> . >>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>> [email protected]<comp2-geral%[email protected]> >>>>>>>>>> . >>>>>>>>>> For more options, visit this group at >>>>>>>>>> http://groups.google.com/group/comp2-geral?hl=en. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Atenciosamente, >>>>>>>>> *Marcos Anderson* >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "Comp 2 - Geral" group. >>>>>>>>> To post to this group, send email to [email protected]. >>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>> [email protected]<comp2-geral%[email protected]> >>>>>>>>> . >>>>>>>>> For more options, visit this group at >>>>>>>>> http://groups.google.com/group/comp2-geral?hl=en. >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Comp 2 - Geral" group. >>>>>>>> To post to this group, send email to [email protected]. >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> [email protected]<comp2-geral%[email protected]> >>>>>>>> . >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/group/comp2-geral?hl=en. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Sérgio Eduardo dos Santos Porto* >>>>>>> cursando Ciências da Computação - UFRJ >>>>>>> >>>>>>> *outros e-mails para contato:* >>>>>>> [email protected] >>>>>>> [email protected] >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Comp 2 - Geral" group. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> To unsubscribe from this group, send email to >>>>>>> [email protected]<comp2-geral%[email protected]> >>>>>>> . >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/comp2-geral?hl=en. >>>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Comp 2 - Geral" group. >>>>>> To post to this group, send email to [email protected]. >>>>>> To unsubscribe from this group, send email to >>>>>> [email protected]<comp2-geral%[email protected]> >>>>>> . >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/comp2-geral?hl=en. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Comp 2 - Geral" group. >>>>> To post to this group, send email to [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]<comp2-geral%[email protected]> >>>>> . >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/comp2-geral?hl=en. >>>>> >>>> >>>> >>>> >>>> -- >>>> *Sérgio Eduardo dos Santos Porto* >>>> cursando Ciências da Computação - UFRJ >>>> >>>> *outros e-mails para contato:* >>>> [email protected] >>>> [email protected] >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Comp 2 - Geral" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]<comp2-geral%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/comp2-geral?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Comp 2 - Geral" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<comp2-geral%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/comp2-geral?hl=en. >>> >> >> >> >> -- >> *Sérgio Eduardo dos Santos Porto* >> cursando Ciências da Computação - UFRJ >> >> *outros e-mails para contato:* >> [email protected] >> [email protected] >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Comp 2 - Geral" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<comp2-geral%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/comp2-geral?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Comp 2 - Geral" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<comp2-geral%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/comp2-geral?hl=en. > -- Atenciosamente, *Marcos Anderson* -- You received this message because you are subscribed to the Google Groups "Comp 2 - Geral" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/comp2-geral?hl=en.
