*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 <[email protected]>

> 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 <[email protected]>
> 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 <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > 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
> [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected].
> > > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to