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 <adolfo.pan...@gmail.com>

> 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 <adolfo.pan...@gmail.com>
>
>> 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 this:
>>
>>   <generate-with class=
>> "com.google.gwt.validation.rebind.ValidatorGenerator">
>>      <when-type-assignable class="javax.validation.Validator" />
>>    </generate-with>
>>
>> Please, send me the jar that you are compiled at adolfo.pan...@gmail.com?? 
>> If I have the gwt-user.jar that includes all the packages of validation y
>> can do it an example and I can solve your problems.
>>
>> Thank you very much.
>>
>>
>> 2011/5/23 MaximeMularz <max...@mularz.fr>
>>
>>> 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.client :
>>> 10:17:54.989 [ERROR] [validation] Unable to load module entry point
>>> class validation.client.Entry (see associated exception for details)
>>>
>>>
>>> java.lang.RuntimeException: Deferred binding failed for
>>> 'javax.validation.ValidatorFactory' (did you forget to inherit a
>>> required module?)
>>>
>>> at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:
>>> 53)
>>>
>>> at com.google.gwt.core.client.GWT.create(GWT.java:98)
>>>
>>> at
>>>
>>> com.google.gwt.validation.client.spi.GwtValidationProvider.buildValidatorFactory(GwtValidationProvider.java:
>>> 39)
>>>
>>> at
>>>
>>> com.google.gwt.validation.client.BaseGwtConfiguration.buildValidatorFactory(BaseGwtConfiguration.java:
>>> 55)
>>>
>>> at
>>>
>>> com.google.gwt.validation.client.Validation.buildDefaultValidatorFactory(Validation.java:
>>> 228)
>>>
>>> at validation.client.Entry.onModuleLoad(Entry.java:48)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>>
>>> at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
>>>
>>> at
>>>
>>> com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
>>> 200)
>>>
>>> at
>>>
>>> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
>>> 523)
>>>
>>> at
>>>
>>> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
>>> 362)
>>>
>>> at java.lang.Thread.run(Unknown Source)
>>> Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see
>>> previous log entries)
>>>
>>> at
>>> com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
>>> 503)
>>>
>>> at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:
>>> 49)
>>>
>>> at com.google.gwt.core.client.GWT.create(GWT.java:98)
>>>
>>> at
>>>
>>> com.google.gwt.validation.client.spi.GwtValidationProvider.buildValidatorFactory(GwtValidationProvider.java:
>>> 39)
>>>
>>> at
>>>
>>> com.google.gwt.validation.client.BaseGwtConfiguration.buildValidatorFactory(BaseGwtConfiguration.java:
>>> 55)
>>>
>>> at
>>>
>>> com.google.gwt.validation.client.Validation.buildDefaultValidatorFactory(Validation.java:
>>> 228)
>>>
>>> at validation.client.Entry.onModuleLoad(Entry.java:48)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>>
>>> at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
>>>
>>> at
>>>
>>> com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
>>> 200)
>>>
>>> at
>>>
>>> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
>>> 523)
>>>
>>> at
>>>
>>> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
>>> 362)
>>>
>>> at java.lang.Thread.run(Unknown Source)
>>>
>>>
>>> Maxime
>>>
>>>
>>>
>>>
>>> On 22 mai, 21:37, Adolfo Panizo Touzon <adolfo.pan...@gmail.com>
>>> wrote:
>>> > *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
>>> > class validation) and src/org.hibernate.validation.
>>> >
>>> > Those are the two main projects of validation for google. In addition
>>> to the
>>> >  standardbase classes Bean Validation JSR-303 (coming in the package
>>> > javax.validation).
>>> >
>>> > Once you've done this, you must import your project in the gwt-user and
>>> use
>>> > in your***. gwt.xml one similar to that comes in the sample project.
>>> >
>>> > Now I'm at that point, when you add the gwt-user project to my main
>>> > project,something
>>> > is wrong.
>>> >
>>> > A possible hand solicion would compile the gwt-user project and use the
>>> > classes ofthe packages described above (these classes do not appear in
>>> the
>>> > distribution of theSDK provided by Google). This step I am not able to
>>> do so
>>> >  because as I can compilewith ant. If you are able to do it yourself,
>>> then
>>> > you explain step by step how to run thevalidation api.
>>> >
>>> > Greetings!.*
>>> >
>>> > 2011/5/22 MaximeMularz <max...@mularz.fr>
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > 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 <adolfo.pan...@gmail.com>
>>> > > wrote:
>>> > > > 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 are you working?
>>> >
>>> > > > A greeting.
>>> >
>>> > > > 2011/5/21 MaximeMularz <max...@mularz.fr>
>>> >
>>> > > > > 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 type
>>> Validation
>>> >
>>> > > > > Thanks for your help
>>> >
>>> > > > > Maxime
>>> >
>>> > > > > --
>>> > > > > 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 email to
>>> > > > > google-web-toolkit+unsubscr...@googlegroups.com.
>>> > > > > For more options, visit this group at
>>> > > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>>> >
>>> > > > --
>>> > > > El precio es lo que pagas. El valor es lo que recibes.
>>> > > > Warren Buffet
>>> >
>>> > > --
>>> > > 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 email to
>>> > > google-web-toolkit+unsubscr...@googlegroups.com.
>>> > > For more options, visit this group at
>>> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>>> >
>>> > --
>>> > El precio es lo que pagas. El valor es lo que recibes.
>>> > Warren Buffet
>>>
>>> --
>>> 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 email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>>
>>
>>
>> --
>> El precio es lo que pagas. El valor es lo que recibes.
>> Warren Buffet
>>
>
>
>
> --
> El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet
>



-- 
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

-- 
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 email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to