Felipe, eu tenho mais uma dúvida! 
É o seguinte: eu tenho um arquivo dentro da minha pasta web content e que quero 
acessar ele pelo java. Qual caminho que eu tenho que por?

Date: Mon, 20 Dec 2010 03:55:06 -0200
Subject: Re: [comp2-geral] Projeto - Comp2Web
From: [email protected]
To: [email protected]

Em persistence.xml o que tem de ser alterado?

Em 20 de dezembro de 2010 02:18, Vanessa Quadros <[email protected]> 
escreveu:







tipo, a forma que eu escrevi parece que a pergunta é bem burra.. é só deixar de 
ser null, fazer ele apontar pra algo.. vou dar até um exemplo, eu fui testar 
isso na parte desktop, ai a janela do meu professor nao abriu quando eu chamava 
o metodo lá pra gerar dentro do menu.. depois que eu comentava ele, a janela do 
professor abria.. e ficava dando esse erro de null pointer, só que pra mim ele 
nao tava vazio..

From: [email protected]
To: [email protected]

Subject: RE: [comp2-geral] Projeto - Comp2Web
Date: Mon, 20 Dec 2010 04:09:00 +0000









Felipe, como é resolvido problema com nullpointer?
From: [email protected]
Date: Mon, 20 Dec 2010 02:02:26 -0200
Subject: Re: [comp2-geral] Projeto - Comp2Web

To: [email protected]

Do jeito que eu fiz nesse projeto essa parte de transaction é controlado pelo 
ZK por tras. Mas acredito que não teria problema.



Abs--


Felipe Costa
Undergraduating in Computer Science at UFRJBlack belt on JavaBlackBelt 






2010/12/20 Marcos Anderson Santos <[email protected]>



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 UFRJBlack belt on JavaBlackBelt 









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 on JavaBlackBelt 












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 UFRJBlack belt on JavaBlackBelt 















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çoPeter P. Lupo














http://craftnicely.blogspot.com - http://sites.google.com/site/pplupo













MPS.BR Authorized Implementation Practitioner - Certified ScrumMaster













Oracle Certified Associate, Java SE 5/SE 6 - Java Black Belt













+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 on JavaBlackBelt 




















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 UFRJBlack belt on JavaBlackBelt 























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].


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].


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.









-- 

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.





-- 
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].


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].


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].


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].


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].


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].


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].


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.









-- 

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.
                                          





-- 

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.
                                          





-- 

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.





-- 
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].


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].
For more options, visit this group at 
http://groups.google.com/group/comp2-geral?hl=en.

Responder a