Wednesday, October 2, 2013

Re: Verificar dados existentes no bando de dados

If you are just starting out, you will probably want to use a GWT-RPC to the backend to create the new account. It should return an error message or code that indicates that a user with that email address already exists. Then in the onFailure() method of your AsyncCallback handler, call a method that updates the display with the error message. 

Much of this is already in place in the initial GWT starter application. You just need to write the database pieces and the error handling.


On Wednesday, October 2, 2013 9:54:36 AM UTC-4, Tata wrote:
Olá galera, estou desenvolvendo meu primeiro projeito usando GWT, é o seguinte .. 
Já estou com a tela de login e senha criadas, e a tela para cadastro de novos cliente, mas eu preciso que o banco de dados avise se houver um outro usuário com uma informação igual(no meu caso eu quero que seja o email) já dei uma procurada mas ainda não consegui :/
Se algum de vocês puderem me ajudar ficarei muito grata :D
Valeu ^^

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment