Re: Validation-api-1.0.0, Doesn't work

2011-05-26 Thread MaximeMularz
The validation sample works !!! only without GAE - library, My new question : "Does the validation sample work with google app engine ?" Thanks On 26 mai, 16:00, Adolfo Panizo Touzon wrote: > Maybe it can help > youhttp://stackoverflow.com/questions/2116583/gwt-java-security-accessco... >

Re: Validation-api-1.0.0, Doesn't work

2011-05-26 Thread Adolfo Panizo Touzon
Maybe it can help you http://stackoverflow.com/questions/2116583/gwt-java-security-accesscontrolexception-access-denied-for-serializer-in-ubunt revise, maybe that this exceptio

Re: Validation-api-1.0.0, Doesn't work

2011-05-26 Thread MaximeMularz
Hi, I have a new error : [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call java.lang.ExceptionInInitializerError at com.google.gwt.rpc.server.RPC.decodeRequest(RPC.java:160) at com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
Sorry, I don't understand your implementation could you please give me more details ? On 25 mai, 21:31, Nick Chalko wrote: > You will need to do something like this. > > public class ExposeImpl implements IsSerializable { > >   @SuppressWarnings("unused") >   private ConstraintViolationImpl const

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Nick Chalko
You will need to do something like this. public class ExposeImpl implements IsSerializable { @SuppressWarnings("unused") private ConstraintViolationImpl constraintViolationImpl; @SuppressWarnings("unused") private PathImpl pathIpml; @SuppressWarnings("unused") private HashSet hashS

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread A. Stevko
I have hibernate-validator-4.1.0.Final.jar and validation-api.1.0.0.GA.jar in my lib I downloaded them from the Hibernate Validation project at http://www.hibernate.org/subprojects/validator.html Hibernate Validator 4.x is the reference implementation for JSR 303 - Bean Validation

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
I red it, but nothing about RPC On 25 mai, 20:49, Nick Chalko wrote: > Take a look athttp://code.google.com/p/google-web-toolkit/wiki/BeanValidation -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to goo

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Nick Chalko
Take a look at http://code.google.com/p/google-web-toolkit/wiki/BeanValidation -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send e

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
These Classes are not in the api : javax.validation.ConstraintViolationException_CustomFieldSerializer org.hibernate.validator.engine.ConstraintViolationImpl_CustomFieldSerializer org.hibernate.validator.engine.PathImpl_CustomFieldSerializer How can i add them ? I added gwt-servlets-deps.jar b

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread A. Stevko
Try adding gwt-servlet-deps.jar and gwt-servlet,jar to your build path. On Wed, May 25, 2011 at 10:06 AM, Adolfo Panizo Touzon < adolfo.pan...@gmail.com> wrote: > user/javax and user/org/hibernate files ??? > The libraries? > > 2011/5/25 MaximeMularz > >> I want use the Validation API, >> http:/

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Adolfo Panizo Touzon
user/javax and user/org/hibernate files ??? The libraries? 2011/5/25 MaximeMularz > I want use the Validation API, > http://gwt-code-reviews.appspot.com/1040802/show > but I don't where add the user/javax and user/org/hibernate files > > > On 25 mai, 17:00, Adolfo Panizo Touzon > wrote: > > htt

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
I want use the Validation API, http://gwt-code-reviews.appspot.com/1040802/show but I don't where add the user/javax and user/org/hibernate files On 25 mai, 17:00, Adolfo Panizo Touzon wrote: > http://code.google.com/webtoolkit/doc/trunk/DevGuideServerCommunicati... > > 2011/5/25 Adolfo Panizo T

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Adolfo Panizo Touzon
http://code.google.com/webtoolkit/doc/trunk/DevGuideServerCommunication.html#DevGuideSerializableTypes 2011/5/25 Adolfo Panizo Touzon > I don´t understand. ¿What´s the problem? > > Maybe you can declarate HashMap in the client side and can´t transport by > rpc. > > I´m not sure, but, what´s the

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Adolfo Panizo Touzon
I don´t understand. ¿What´s the problem? Maybe you can declarate HashMap in the client side and can´t transport by rpc. I´m not sure, but, what´s the problem? 2011/5/25 MaximeMularz > The implementation (http://code.google.com/p/google-web-toolkit/source/ > browse/trunk/samples/validation/src/

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
The implementation (http://code.google.com/p/google-web-toolkit/source/ browse/trunk/samples/validation/src/com/google/gwt/sample/validation): public class GreetingServiceImpl extends RpcServlet implements GreetingService { private final Validator validator = Validation.buildDefaultValidato

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Adolfo Panizo Touzon
You can save the errors strings in an arrayList and transpor by rpc to the client side. 2011/5/25 MaximeMularz > Hi, > > Client Side no probem it works, but ServerSide I can't catch the > excepetion becasue HashSet is not supported by RPCService : > > [ERROR] javax.servlet.ServletContext log: Ex

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
Hi, Client Side no probem it works, but ServerSide I can't catch the excepetion becasue HashSet is not supported by RPCService : [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'java.util.HashSet'

Re: Validation-api-1.0.0, Doesn't work

2011-05-23 Thread MaximeMularz
Hi, I'm waiting your sample because, I don't know how to play with !!! Maxime On 23 mai, 14:17, Adolfo Panizo Touzon wrote: > Hi, > > [I feel like a complete idiot right now. XD. There is a tutorial on google!] > > Ok. I'm putting to work to try to compile everything on my own in the > meantime

Re: Validation-api-1.0.0, Doesn't work

2011-05-23 Thread Adolfo Panizo Touzon
Hi, [I feel like a complete idiot right now. XD. There is a tutorial on google!] Ok. I'm putting to work to try to compile everything on my own in the meantime, if youmanage what you put in the mail to compile all the SDK and get it, accelerate the whole process and so I can create the complete s

Re: Validation-api-1.0.0, Doesn't work

2011-05-23 Thread MaximeMularz
Hi, 1/ I did the tuto : http://code.google.com/webtoolkit/makinggwtbetter.html#workingoncode. 2/ I visited this page "http://subversion.apache.org/packages.html"; 3/ I downloaded and Installed : Win32Svn (32-bit client, server and bindings, MSI and ZIPs; maintained by David Darj) 4/ I added SVN.

Re: Validation-api-1.0.0, Doesn't work

2011-05-23 Thread Adolfo Panizo Touzon
Hi Maxime, I answered for you in the mail from which you sent me the link. While I wait your answer I am working to see if I can fix it. Thank you very much for everything. 2011/5/23 Adolfo Panizo Touzon > Another thing I forgot, you could specify the steps you have done to > compile the gwt-u

Re: Validation-api-1.0.0, Doesn't work

2011-05-23 Thread Adolfo Panizo Touzon
Another thing I forgot, you could specify the steps you have done to compile the gwt-user project? Thanks in advance. 2011/5/23 Adolfo Panizo Touzon > Try it with: > Validator validator = GWT.create(SampleValidator.class); > > Other thing, send us the modules that you are inhertir in your pro

Re: Validation-api-1.0.0, Doesn't work

2011-05-23 Thread Adolfo Panizo Touzon
Try it with: Validator validator = GWT.create(SampleValidator.class); Other thing, send us the modules that you are inhertir in your project. If you use your form, you must specify in your xxx.gwt.xml the change of the class (remember, you must use the gwt class and not the standar class), like t

Re: Validation-api-1.0.0, Doesn't work

2011-05-23 Thread MaximeMularz
Hi, I compiled the sources but when I'm using Validator validator = Validation.buildDefaultValidatorFactory().getValidator(), these are the errors : * Deferred binding result type 'javax.validation.ValidatorFactory' should not be abstract * Unable to load modumle entry point class validation.cli

Re: Validation-api-1.0.0, Doesn't work

2011-05-22 Thread Adolfo Panizo Touzon
*Hi,* *First, I recommend that you download the repository gwt development [** http://google-web-toolkit.googlecode.com/svn/trunk/ ** ]. * * * *The project amountsto eclipse gwt-user and the project sample / validation. Once you do that look in src/com.google.validation (here there is the GWT clas

Re: Validation-api-1.0.0, Doesn't work

2011-05-22 Thread MaximeMularz
Hi Adolfo, I added in web-inf/lib "Validation-api-1.0.0.GA" and "Validation- api-1.0.0.GA-sources", What are the classes implemented by google ? Maxime On May 22, 3:54 pm, Adolfo Panizo Touzon wrote: > Hi Maxime, > > I also am trying to test the validation api. > > The fact that no work for you

Re: Validation-api-1.0.0, Doesn't work

2011-05-22 Thread Adolfo Panizo Touzon
Hi Maxime, I also am trying to test the validation api. The fact that no work for you is normal, generic classes are calling facto standard. You should call the classes implemented by google. Before you continue writing, you could say that you imported libraries anddependencies on other projects

Validation-api-1.0.0, Doesn't work

2011-05-21 Thread MaximeMularz
Hi, I tried to use Validation-api-1.0.0 with GWT 2.3 but it didn't work !!! My Code : Line 32. : Validator validator = Validation.buildDefaultValidatorFactory().getValidator(); The Error : 09:18:57.323 [ERROR] [validation] Line 32 The method buildDefaultValidatorFactory() is undefined for the ty