Re: Third Party Library for GWT validation

2015-05-20 Thread Freddy Boucher
The way you request your server *doesn't matter*...
The *GWT Validation Framework* allows you to test your fields in both 
*front-end* and *back-end*.
As soon as you test your fields, you will get an *error list.*



On Tuesday, May 19, 2015 at 4:07:15 PM UTC+10, Mohammed Sameen wrote:

 Yes Chad,I can't use GWT Validation(my application response is in the JSON 
 format not in POJO)..

 On Monday, May 18, 2015 at 5:36:11 PM UTC+5:30, abdul wrote:

 I want to validate the gwt field like (Email,Text Length,Phone 
 Number,Date  SSN,etc..) Is there any proven JS or Library Available for 
 Validating this fields with GWT.

- I Can't use GWT Validation FrameworkorGWT Errai for my application 
since i am getting response as JSON not DTO.
- 

Even I tried Parsley JS(http://parsleyjs.org/ ) which is not possible 
(Reason:GWT have {key,value} pair to set the attribute but parsley have 
only value.)

Any suggestion?



-- 
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+unsubscr...@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/d/optout.


Re: Third Party Library for GWT validation

2015-05-20 Thread Thomas Broyer


On Wednesday, May 20, 2015 at 4:40:17 PM UTC+2, Chad Vincent wrote:

 (GWT responses use GSON, a Google-modified JSON, and are converted to POJO 
 post-receive.)


Huh!?!?!?!

GWT-RPC uses its own serialization formats (plural: server-to-client is 
based on JS object literals –there's a patch to move to pure JSON, but it 
hasn't been merged yet IIRC– whereas client-to-server is completely custom; 
anyway, those are custom 
formats: 
https://drive.google.com/open?id=1eG0YocsYYbNAtivkLtcaiEE5IOF5u4LUol8-LL0TIKUauthuser=0
 
)
RequestFactory uses JSON, but with a custom structure; so let's call it a 
custom format as well.

GSON is an open-source Java library, by Google, for working with JSON; 
nothing to do with a Google-modified JSON: https://github.com/google/gson

-- 
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+unsubscr...@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/d/optout.


Re: Third Party Library for GWT validation

2015-05-20 Thread Chad Vincent
Huh.  It's been a few years since I was in the raw serialization bits.  I
must've got things confused.

Actually, that serialization format looks like what I remember seeing of
HL7.

On Wed, May 20, 2015 at 10:05 AM Thomas Broyer t.bro...@gmail.com wrote:



 On Wednesday, May 20, 2015 at 4:40:17 PM UTC+2, Chad Vincent wrote:

 (GWT responses use GSON, a Google-modified JSON, and are converted to
 POJO post-receive.)


 Huh!?!?!?!

 GWT-RPC uses its own serialization formats (plural: server-to-client is
 based on JS object literals –there's a patch to move to pure JSON, but it
 hasn't been merged yet IIRC– whereas client-to-server is completely custom;
 anyway, those are custom formats:
 https://drive.google.com/open?id=1eG0YocsYYbNAtivkLtcaiEE5IOF5u4LUol8-LL0TIKUauthuser=0
 )
 RequestFactory uses JSON, but with a custom structure; so let's call it a
 custom format as well.

 GSON is an open-source Java library, by Google, for working with JSON;
 nothing to do with a Google-modified JSON:
 https://github.com/google/gson

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/neqUQmNGcBg/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@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/d/optout.


-- 
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+unsubscr...@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/d/optout.


Re: Third Party Library for GWT validation

2015-05-20 Thread Chad Vincent
So you never convert the JSON to a POJO client side?  (GWT responses use 
GSON, a Google-modified JSON, and are converted to POJO post-receive.)

My best suggestion then is to just walk the JSON as a Map and use a custom 
validator interface...

On Tuesday, May 19, 2015 at 1:07:15 AM UTC-5, Mohammed Sameen wrote:

 Yes Chad,I can't use GWT Validation(my application response is in the JSON 
 format not in POJO)..

 On Monday, May 18, 2015 at 5:36:11 PM UTC+5:30, abdul wrote:

 I want to validate the gwt field like (Email,Text Length,Phone 
 Number,Date  SSN,etc..) Is there any proven JS or Library Available for 
 Validating this fields with GWT.

- I Can't use GWT Validation FrameworkorGWT Errai for my application 
since i am getting response as JSON not DTO.
- 

Even I tried Parsley JS(http://parsleyjs.org/ ) which is not possible 
(Reason:GWT have {key,value} pair to set the attribute but parsley have 
only value.)

Any suggestion?



-- 
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+unsubscr...@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/d/optout.


Re: Third Party Library for GWT validation

2015-05-19 Thread Mohammed Sameen
Yes Chad,I can't use GWT Validation(my application response is in the JSON 
format not in POJO)..

On Monday, May 18, 2015 at 5:36:11 PM UTC+5:30, abdul wrote:

 I want to validate the gwt field like (Email,Text Length,Phone Number,Date 
  SSN,etc..) Is there any proven JS or Library Available for Validating 
 this fields with GWT.

- I Can't use GWT Validation FrameworkorGWT Errai for my application 
since i am getting response as JSON not DTO.
- 

Even I tried Parsley JS(http://parsleyjs.org/ ) which is not possible 
(Reason:GWT have {key,value} pair to set the attribute but parsley have 
only value.)

Any suggestion?



-- 
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+unsubscr...@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/d/optout.


Third Party Library for GWT validation

2015-05-18 Thread abdul


I want to validate the gwt field like (Email,Text Length,Phone Number,Date 
 SSN,etc..) Is there any proven JS or Library Available for Validating 
this fields with GWT.

   - I Can't use GWT Validation FrameworkorGWT Errai for my application 
   since i am getting response as JSON not DTO.
   - 
   
   Even I tried Parsley JS(http://parsleyjs.org/ ) which is not possible 
   (Reason:GWT have {key,value} pair to set the attribute but parsley have 
   only value.)
   
   Any suggestion?
   

-- 
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+unsubscr...@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/d/optout.


Re: Third Party Library for GWT validation

2015-05-18 Thread Chad Vincent
Are you not marshalling the response into a POJO?  GWT Validation can be 
done (with most validators, though not all) client-side.

On Monday, May 18, 2015 at 7:06:11 AM UTC-5, abdul wrote:

 I want to validate the gwt field like (Email,Text Length,Phone Number,Date 
  SSN,etc..) Is there any proven JS or Library Available for Validating 
 this fields with GWT.

- I Can't use GWT Validation FrameworkorGWT Errai for my application 
since i am getting response as JSON not DTO.
- 

Even I tried Parsley JS(http://parsleyjs.org/ ) which is not possible 
(Reason:GWT have {key,value} pair to set the attribute but parsley have 
only value.)

Any suggestion?



-- 
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+unsubscr...@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/d/optout.


Gwt validation

2013-03-20 Thread ravi kumar
Hi All,
 
im trying to execute validation sample which is in gwt sdk itself...When i 
start the jetty server using maven like mvn jetty:run the server is 
displaying only welcom file..
 
Actual output it should ask username and validate nameIs anyone knows 
the answer please help me...

-- 
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+unsubscr...@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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [gwt-contrib] Re: Removed EXPERIMENTAL flag from GWT validation. Cleaned up all JavaDoc comments to reflect this c... (issue1811803)

2012-08-20 Thread Ray Cromwell
We are discussing right now cherry picking it into 2.5

On Fri, Aug 17, 2012 at 1:18 AM,  jens.nehlme...@gmail.com wrote:
 Nice, any chance that it will make its way into 2.5 Final?


 http://gwt-code-reviews.appspot.com/1811803/

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Removed EXPERIMENTAL flag from GWT validation. Cleaned up all JavaDoc comments to reflect this c... (issue1811803)

2012-08-19 Thread jens . nehlmeier

Nice, any chance that it will make its way into 2.5 Final?

http://gwt-code-reviews.appspot.com/1811803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Removed EXPERIMENTAL flag from GWT validation. Cleaned up all JavaDoc comments to reflect this c... (issue1811803)

2012-08-16 Thread idol

Reviewers: Nick Chalko, cromwellian,

Description:
Removed EXPERIMENTAL flag from GWT validation. Cleaned up all JavaDoc
comments to reflect this change.


Please review this at http://gwt-code-reviews.appspot.com/1811803/

Affected files:
  M  
user/src/com/google/gwt/validation/client/AbstractGwtValidatorFactory.java
  M  
user/src/com/google/gwt/validation/client/AbstractValidationMessageResolver.java

  M user/src/com/google/gwt/validation/client/BaseMessageInterpolator.java
  M  
user/src/com/google/gwt/validation/client/DefaultTraversableResolver.java
  M  
user/src/com/google/gwt/validation/client/GwtConstraintValidatorFactory.java

  M user/src/com/google/gwt/validation/client/GwtMessageInterpolator.java
  M user/src/com/google/gwt/validation/client/GwtValidation.java
  M  
user/src/com/google/gwt/validation/client/GwtValidationProviderResolver.java
  M  
user/src/com/google/gwt/validation/client/ProviderValidationMessageResolver.java
  M  
user/src/com/google/gwt/validation/client/UserValidationMessagesResolver.java

  M user/src/com/google/gwt/validation/client/ValidationMessageResolver.java
  M  
user/src/com/google/gwt/validation/client/constraints/AbstractDecimalMaxValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/AbstractDecimalMinValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/AbstractDigitsValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/AbstractMaxValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/AbstractMinValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/AbstractSizeValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/AssertFalseValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/AssertTrueValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/DecimalMaxValidatorForNumber.java
  M  
user/src/com/google/gwt/validation/client/constraints/DecimalMaxValidatorForString.java
  M  
user/src/com/google/gwt/validation/client/constraints/DecimalMinValidatorForNumber.java
  M  
user/src/com/google/gwt/validation/client/constraints/DecimalMinValidatorForString.java
  M  
user/src/com/google/gwt/validation/client/constraints/DigitsValidatorForNumber.java
  M  
user/src/com/google/gwt/validation/client/constraints/DigitsValidatorForString.java
  M  
user/src/com/google/gwt/validation/client/constraints/FutureValidatorForDate.java
  M  
user/src/com/google/gwt/validation/client/constraints/MaxValidatorForNumber.java
  M  
user/src/com/google/gwt/validation/client/constraints/MaxValidatorForString.java
  M  
user/src/com/google/gwt/validation/client/constraints/MinValidatorForNumber.java
  M  
user/src/com/google/gwt/validation/client/constraints/MinValidatorForString.java
  M  
user/src/com/google/gwt/validation/client/constraints/NotGwtCompatibleValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/NotNullValidator.java

  M user/src/com/google/gwt/validation/client/constraints/NullValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/PastValidatorForDate.java
  M  
user/src/com/google/gwt/validation/client/constraints/PatternValidator.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfBoolean.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfByte.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfChar.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfDouble.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfFloat.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfInt.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfLong.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfObject.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForArrayOfShort.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForCollection.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForMap.java
  M  
user/src/com/google/gwt/validation/client/constraints/SizeValidatorForString.java
  M  
user/src/com/google/gwt/validation/client/impl/AbstractGwtSpecificValidator.java

  M user/src/com/google/gwt/validation/client/impl/AbstractGwtValidator.java
  M user/src/com/google/gwt/validation/client/impl/BaseGwtConfiguration.java
  M  
user/src/com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java

  M user/src/com/google/gwt/validation/client/impl/ConstraintFinderImpl.java
  M user/src/com/google/gwt/validation/client/impl/ConstraintOrigin.java
  M  
user/src/com/google/gwt/validation/client/impl/ConstraintValidatorContextImpl.java
  M  
user/src/com/google/gwt/validation/client/impl/ConstraintViolationImpl.java

  M

[gwt-contrib] Re: Removed EXPERIMENTAL flag from GWT validation. Cleaned up all JavaDoc comments to reflect this c... (issue1811803)

2012-08-16 Thread nchalko

lgtm


http://gwt-code-reviews.appspot.com/1811803/diff/1/user/src/com/google/gwt/validation/client/GwtValidation.java
File user/src/com/google/gwt/validation/client/GwtValidation.java
(right):

http://gwt-code-reviews.appspot.com/1811803/diff/1/user/src/com/google/gwt/validation/client/GwtValidation.java#newcode31
user/src/com/google/gwt/validation/client/GwtValidation.java:31: *
Define the Validator you want, explicitly listing the class and groups
the classes

http://gwt-code-reviews.appspot.com/1811803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
hi, 
i'm new in GWT, 
i've added a gwt-validation library,
error appears when hibernate have to do merge
 /*

 * (non-Javadoc)

 * @see org.skyway.spring.util.dao.JpaDao#store(java.lang.Object)

 */

@Transactional

public T store(T toStore) {

if (canBeMerged(toStore)) {

return merge(toStore);

}

else {

return persist(toStore);

}
 } 

some helps?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/yXMGxpkJib0J.
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.



Re: adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread Juan Pablo Gardella
Can you share the stacktrace?

2012/7/12 silvio.troia silvio.tr...@gmail.com

 hi,
 i'm new in GWT,
 i've added a gwt-validation library,
 error appears when hibernate have to do merge
  /*

  * (non-Javadoc)

  * @see org.skyway.spring.util.dao.JpaDao#store(java.lang.Object)

  */

 @Transactional

 public T store(T toStore) {

 if (canBeMerged(toStore)) {

 return merge(toStore);

 }

 else {

 return persist(toStore);

 }
  }

 some helps?

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/yXMGxpkJib0J.
 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.


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



Re: adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
i don't have a stacktrace.
all calls to db doesn't work
in debug mode i see only java.lang.reflect.InvocationTargetException
with target NullPonterExceptions in AopUtils.Class
 
Il giorno giovedì 12 luglio 2012 13:05:20 UTC+2, silvio.troia ha scritto:

 hi, 
 i'm new in GWT, 
 i've added a gwt-validation library,
 error appears when hibernate have to do merge
  /*

  * (non-Javadoc)

  * @see org.skyway.spring.util.dao.JpaDao#store(java.lang.Object)

  */

 @Transactional

 public T store(T toStore) {

 if (canBeMerged(toStore)) {

 return merge(toStore);

 }

 else {

 return persist(toStore);

 }
  } 

 some helps?



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/jp9vtGL1Wp8J.
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.



Re: adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
it doesn't work when copy a gwt-validation library into a folder on my 
project
it's very strange

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/dB_tj5bHCHMJ.
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.



Re: adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread Jens
Maybe you should ask again at 
https://groups.google.com/forum/?fromgroups#!forum/gwt-validation

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/IfWbgBJ13ZYJ.
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.



Re: adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
ok tnx

Il giorno giovedì 12 luglio 2012 17:06:50 UTC+2, Jens ha scritto:

 Maybe you should ask again at 
 https://groups.google.com/forum/?fromgroups#!forum/gwt-validation

 -- J.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/iWnLblB2sy8J.
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.



Re: adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
this is my new post
https://groups.google.com/forum/?fromgroups#!topic/gwt-validation/YQ-fxHTDofQ

Il giorno giovedì 12 luglio 2012 17:17:49 UTC+2, silvio.troia ha scritto:

 ok tnx

 Il giorno giovedì 12 luglio 2012 17:06:50 UTC+2, Jens ha scritto:

 Maybe you should ask again at 
 https://groups.google.com/forum/?fromgroups#!forum/gwt-validation

 -- J.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/OoXRMUGwbdAJ.
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.



Is GWT Validation is available for RequestFactory proxy

2012-05-11 Thread saurabh saurabh
Hi all,

I am working on a project with GWT using RequestFactory and
EditorsFramework along with spring hibernate on server side. I saw GWT
validation feature that ties up nicely with editors but every example
I have seen so far have domain 'Entities' on shared path. While I am
having all my domain Entity objects on server and having proxy and
respective locators for then on client side. So I was just wondering
if gwt validation feature is gonna work with these proxy.

Thanks in advance

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



Re: Server side gwt-validation doesn't work (?)

2011-12-07 Thread Nicolas.Rocca
Hi Nick,

unfortunately, this doesn't work. With both jars, I get the same
error.
I also wonder why the dependencies-list (http://code.google.com/p/gwt-
validation/wiki/Dependencies) of gwt-validation doesn't mention any
validation framework like hibernate if it is really necessary. Doesn't
gwt-validation provide own client AND server side validators?

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



Re: Server side gwt-validation doesn't work (?)

2011-12-07 Thread Ashwin Desikan
It may be the version of hibernate validator you are using. 


I have the following def in my project POM and it works fine

dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate-validator/artifactId
   version4.1.0.Final/version
   exclusions
   exclusion
   groupIdjavax.xml.bind/groupId
   artifactIdjaxb-api/artifactId
   /exclusion
   exclusion
   groupIdcom.sun.xml.bind/groupId
   artifactIdjaxb-impl/artifactId
   /exclusion
   /exclusions
   /dependency
   dependency
   groupIdjavax.validation/groupId
   artifactIdvalidation-api/artifactId
   version1.0.0.GA/version
   /dependency


Thanks
Ashwin

On Wednesday 07 December 2011 02:31:40 PM IST, Nicolas.Rocca wrote:

Hi Nick,

unfortunately, this doesn't work. With both jars, I get the same
error.
I also wonder why the dependencies-list (http://code.google.com/p/gwt-
validation/wiki/Dependencies) of gwt-validation doesn't mention any
validation framework like hibernate if it is really necessary. Doesn't
gwt-validation provide own client AND server side validators?




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



Re: Server side gwt-validation doesn't work (?)

2011-12-07 Thread Nicolas.Rocca
Thanks for your pom snippet. But my problem is not the hibernate
validator. I use this just as a workaround. The problem is that in my
opinion it shouldn't be necessary to use hibernate-validator at all! I
use it just as a replacement for gwt-validation-2.0-BETA-SNAPSHOT-
r269.jar which doesn't seem to work correctly.

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



Re: Server side gwt-validation doesn't work (?)

2011-12-07 Thread Nicolas.Rocca
Further investigations:

After some debugging, I found out that in the class
com.em.validation.rebind.scan.ClassScanner ,
this.reflections.getSubTypesOf(ConstraintValidator.class) returns an
empty list (while it is filled in hosted mode). But I couldn't find
out why.

I tried to replace the gwt-validation-2.0-BETA-SNAPSHOT-r269.jar with
hibernate-validator-4.2.0.Final.jar in the final .war with the
following maven config:
dependency
groupIdcom.em/groupId
artifactIdgwt-validation/artifactId
scopeprovided/scope
/dependency
dependency
  groupIdorg.hibernate/groupId
  artifactIdhibernate-validator/artifactId
  version4.2.0.Final/version
  scoperuntime/scope
/dependency

This worked in tomcat now, but made the hosted mode crash:
00:00:21,970 [ERROR] Line 1: The type org.joda.time.ReadableInstant
cannot be resolved. It is indirectly referenced from required .class
files

:-(

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



Re: Server side gwt-validation doesn't work (?)

2011-12-07 Thread chris.ruffalo
The Reflections library that gwt-validation uses to mine the classpath
for information does not seem to work at all in a containerized
environment.

See: http://code.google.com/p/gwt-validation/issues/detail?id=52 for
more information.

On Dec 7, 10:50 am, Nicolas.Rocca nicolas.ro...@t-online.de wrote:
 Further investigations:

 After some debugging, I found out that in the class
 com.em.validation.rebind.scan.ClassScanner ,
 this.reflections.getSubTypesOf(ConstraintValidator.class) returns an
 empty list (while it is filled in hosted mode). But I couldn't find
 out why.

 I tried to replace the gwt-validation-2.0-BETA-SNAPSHOT-r269.jar with
 hibernate-validator-4.2.0.Final.jar in the final .war with the
 following maven config:
                 dependency
                         groupIdcom.em/groupId
                         artifactIdgwt-validation/artifactId
                         scopeprovided/scope
                 /dependency
                 dependency
                       groupIdorg.hibernate/groupId
                       artifactIdhibernate-validator/artifactId
                       version4.2.0.Final/version
                       scoperuntime/scope
                 /dependency

 This worked in tomcat now, but made the hosted mode crash:
 00:00:21,970 [ERROR] Line 1: The type org.joda.time.ReadableInstant
 cannot be resolved. It is indirectly referenced from required .class
 files

 :-(

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



Server side gwt-validation doesn't work (?)

2011-12-06 Thread Nicolas.Rocca
We use gwt-validation-2.0-BETA-SNAPSHOT-r269.jar and GWT 2.4.
The field of the entity is annotated with
javax.validation.constraints.NotNull
Client side validation works and also server side validation in hosted
mode (jetty).

But when deployed in tomcat (6.0.20), we get the following exception
when server side validation is invoked:

Caused by: javax.validation.UnexpectedTypeException: No validator was
found for javax.validation.constraints.NotNull with type
[...deleted...]
at
com.em.validation.client.CoreValidatorImpl.validateConstraint(CoreValidatorImpl.java:
372)
at
com.em.validation.client.CoreValidatorImpl.validateValue(CoreValidatorImpl.java:
202)
at
com.em.validation.client.CoreValidatorImpl.validateProperty(CoreValidatorImpl.java:
119)
at
com.em.validation.client.CoreValidatorImpl.validate(CoreValidatorImpl.java:
76)
at
com.em.validation.client.CoreValidatorImpl.validate(CoreValidatorImpl.java:
96)
at com.em.validation.client.ValidatorImpl.validate(ValidatorImpl.java:
48)
at ...

Our war-file contains the gwt-validation-2.0-BETA-SNAPSHOT-r269.jar
and also the validation-api-1.0.0.GA.jar.

Replacing the gwt-validation-2.0-BETA-SNAPSHOT-r269.jar in the war
file with hibernate-validator-4.2.0.Final.jar seems to fix the problem
(as a workaround).

Thanks for help in advance!

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



Re: Server side gwt-validation doesn't work (?)

2011-12-06 Thread Nick Chalko
On Tue, Dec 6, 2011 at 7:46 AM, Nicolas.Rocca nicolas.ro...@t-online.dewrote:

 We use gwt-validation-2.0-BETA-SNAPSHOT-r269.jar and GWT 2.4.
 The field of the entity is annotated with
 javax.validation.constraints.NotNull
 Client side validation works and also server side validation in hosted
 mode (jetty).

 But when deployed in tomcat (6.0.20), we get the following exception
 when server side validation is invoked:

 Caused by: javax.validation.UnexpectedTypeException: No validator was
 found for javax.validation.constraints.NotNull with type
 [...deleted...]
at

 com.em.validation.client.CoreValidatorImpl.validateConstraint(CoreValidatorImpl.java:
 372)
at

 com.em.validation.client.CoreValidatorImpl.validateValue(CoreValidatorImpl.java:
 202)
at

 com.em.validation.client.CoreValidatorImpl.validateProperty(CoreValidatorImpl.java:
 119)
at
 com.em.validation.client.CoreValidatorImpl.validate(CoreValidatorImpl.java:
 76)
at
 com.em.validation.client.CoreValidatorImpl.validate(CoreValidatorImpl.java:
 96)
at
 com.em.validation.client.ValidatorImpl.validate(ValidatorImpl.java:
 48)
at ...

 Our war-file contains the gwt-validation-2.0-BETA-SNAPSHOT-r269.jar
 and also the validation-api-1.0.0.GA.jar.

 Replacing the gwt-validation-2.0-BETA-SNAPSHOT-r269.jar in the war
 file with hibernate-validator-4.2.0.Final.jar seems to fix the problem
 (as a workaround).


Partially Correct,  Try just adding the hibernate-validator jar. and leave
the GWT one in place.

To have server side validation you need hibernate or some other vilidation
provider like apache-bval.

GWT validation only handles the client side part

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



Re: GWT Validation framework

2011-08-09 Thread nacho
Any of those validation options can be easily used with MVP  Editor fw?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Tnuj01pYZZsJ.
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.



Re: GWT Validation framework

2011-08-09 Thread Juan Pablo Gardella
In editor I don't know, but with MVP yes. You can define in presenter objets
the validators.

2011/8/9 nacho vela.igna...@gmail.com

 Any of those validation options can be easily used with MVP  Editor fw?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/Tnuj01pYZZsJ.
 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.


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



Re: GWT Validation framework

2011-08-08 Thread RVSN
Thanks Juan.

That seems to be custom validation framework. Can you pls let me know
that is there any in-build validation framework in GWT??

On Aug 5, 9:31 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com
wrote:
 I recommend gwt-vl http://gwt-vl.sourceforge.net/

 2011/8/5 RVSN vimalvino2...@gmail.com

  I'm a naive to Gwt. I'm trying to implementing GWT validation
  framework. but i couldnt make this.
  Could anyone pls help me to implementing GWT validation framework in
  my web application. For this I need some samples. pls help me out this

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

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



Re: GWT Validation framework

2011-08-08 Thread objectuser
GWT it working toward using the JSR 303 approach for validation.  Currently, 
I think it's not quite straight forward to get it to work in GWT 2.3.  I 
think it'll be integrated better in 2.4, which is currently in RC1.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/0OEbyRdYsjYJ.
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.



Re: GWT Validation framework

2011-08-08 Thread Piro
Just google gwt validation!
I recommend gwt-vl too. It is not perfect but it works.
I use it since i did not get built in validation to work (http://
code.google.com/p/gwt-validation/).


On 8. Aug, 09:13 h., RVSN vimalvino2...@gmail.com wrote:
 Thanks Juan.

 That seems to be custom validation framework. Can you pls let me know
 that is there any in-build validation framework in GWT??

 On Aug 5, 9:31 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com
 wrote:







  I recommend gwt-vl http://gwt-vl.sourceforge.net/

  2011/8/5 RVSN vimalvino2...@gmail.com

   I'm a naive to Gwt. I'm trying to implementing GWT validation
   framework. but i couldnt make this.
   Could anyone pls help me to implementing GWT validation framework in
   my web application. For this I need some samples. pls help me out this

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

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



GWT Validation framework

2011-08-05 Thread RVSN
I'm a naive to Gwt. I'm trying to implementing GWT validation
framework. but i couldnt make this.
Could anyone pls help me to implementing GWT validation framework in
my web application. For this I need some samples. pls help me out this

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



Re: GWT Validation framework

2011-08-05 Thread Juan Pablo Gardella
I recommend gwt-vl http://gwt-vl.sourceforge.net/

2011/8/5 RVSN vimalvino2...@gmail.com

 I'm a naive to Gwt. I'm trying to implementing GWT validation
 framework. but i couldnt make this.
 Could anyone pls help me to implementing GWT validation framework in
 my web application. For this I need some samples. pls help me out this

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



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



GWT-Validation with GWT 2.2.0

2011-02-23 Thread klemensr
Dear all,

I just updated from GWT 2.0 to GWT 2.2.0 and I have issues with GWT-
Validation (http://code.google.com/p/gwt-validation/).

Is there maybe a new way of doing validation in GWT 2.2.0?

I have found nothing in different forums about GWT-Validation and GWT
2.2.0.

Here is my failure message:

[ERROR]  Internal compiler error
[INFO] java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected

From my point of view I think that this may have to do that the GWT-
Validation is built to run with an older GWT version and now have
troubles with the changed class structure.

Can anybody help me out here?

Thanks a lot!

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



Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread tdk
maybe rebuilding your project from scratch (clean build) helps.
I had a similar issue which went away after doing a clean build.

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



Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread klemensr
Thanks for the response.
I have created an own test project so that should not be the
problem...

Any other suggestions?


On 23 Feb., 12:38, tdk kloe...@ics.de wrote:
 maybe rebuilding your project from scratch (clean build) helps.
 I had a similar issue which went away after doing a clean build.

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



Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread Christian Goudreau
Gwt-validation is incompatible with Gwt 2.2, you have to checkout the code
and compile it against Gwt 2.2.

Cheers,

On Wed, Feb 23, 2011 at 7:30 AM, klemensr klem...@reinthaler.info wrote:

 Thanks for the response.
 I have created an own test project so that should not be the
 problem...

 Any other suggestions?


 On 23 Feb., 12:38, tdk kloe...@ics.de wrote:
  maybe rebuilding your project from scratch (clean build) helps.
  I had a similar issue which went away after doing a clean build.

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




-- 
Christian Goudreau
www.arcbees.com

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



Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread Christian Goudreau
Damn I was hoping it was enough, sorry it didn't help you.

Cheers,

On Wed, Feb 23, 2011 at 9:36 AM, klemensr klem...@reinthaler.info wrote:

 Yes, I have done that already but the code seems to have errors.
 (http://gwt-validation.googlecode.com/svn/trunk/)
 Some of the jUnit Tests failed. So I tried it without these tests. In
 this case I could compile the project but when I tried to use it I got
 lots of errors.

 I had the same problems with the code from
 http://gwt-validation.googlecode.com/svn/branches/jrs303_dev/

 I have heard that the validator is going to be included in the GWT
 core libraries, but this doesn't really help me at the moment... :)


 On 23 Feb., 14:11, Christian Goudreau goudreau.christ...@gmail.com
 wrote:
  Gwt-validation is incompatible with Gwt 2.2, you have to checkout the
 code
  and compile it against Gwt 2.2.
 
  Cheers,
 
 
 
 
 
 
 
 
 
  On Wed, Feb 23, 2011 at 7:30 AM, klemensr klem...@reinthaler.info
 wrote:
   Thanks for the response.
   I have created an own test project so that should not be the
   problem...
 
   Any other suggestions?
 
   On 23 Feb., 12:38, tdk kloe...@ics.de wrote:
maybe rebuilding your project from scratch (clean build) helps.
I had a similar issue which went away after doing a clean build.
 
   --
   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.
 
  --
  Christian Goudreauwww.arcbees.com

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




-- 
Christian Goudreau
www.arcbees.com

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



Re: GWT-Validation with GWT 2.2.0

2011-02-23 Thread klemensr
Yes, I have done that already but the code seems to have errors.
(http://gwt-validation.googlecode.com/svn/trunk/)
Some of the jUnit Tests failed. So I tried it without these tests. In
this case I could compile the project but when I tried to use it I got
lots of errors.

I had the same problems with the code from
http://gwt-validation.googlecode.com/svn/branches/jrs303_dev/

I have heard that the validator is going to be included in the GWT
core libraries, but this doesn't really help me at the moment... :)


On 23 Feb., 14:11, Christian Goudreau goudreau.christ...@gmail.com
wrote:
 Gwt-validation is incompatible with Gwt 2.2, you have to checkout the code
 and compile it against Gwt 2.2.

 Cheers,









 On Wed, Feb 23, 2011 at 7:30 AM, klemensr klem...@reinthaler.info wrote:
  Thanks for the response.
  I have created an own test project so that should not be the
  problem...

  Any other suggestions?

  On 23 Feb., 12:38, tdk kloe...@ics.de wrote:
   maybe rebuilding your project from scratch (clean build) helps.
   I had a similar issue which went away after doing a clean build.

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

 --
 Christian Goudreauwww.arcbees.com

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



GWT Validation Framework

2011-01-17 Thread SVR
Has anybody used the  GWT Validation Framework based on the
JSR-303http://code.google.com/p/gwt-validation/

Can you please provide your thoughts on its usefulness and can you please
point to some useful links on its usage with examples.
thanks

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



Re: GWT Validation Framework

2011-01-17 Thread Miroslav Genov
You can take a look into DynatableRf example that comes with the SDK.

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



Re: GWT Validation Framework

2011-01-17 Thread SVR
I dont see it using the gwt validation framework.
do u mean a later version / beta?

On Mon, Jan 17, 2011 at 1:57 PM, Miroslav Genov mge...@gmail.com wrote:

 You can take a look into DynatableRf example that comes with the SDK.

 --
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


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



Re: GWT Validation Framework

2011-01-17 Thread Nick Chalko
On Mon, Jan 17, 2011 at 7:43 AM, SVR svr...@gmail.com wrote:

 Has anybody used the  GWT Validation Framework based on the 
 JSR-303http://code.google.com/p/gwt-validation/

 Can you please provide your thoughts on its usefulness and can you please
 point to some useful links on its usage with examples.
 thanks

 --


JSR-303 of course already works on the server side, DynatableRf should show
that.   I am working on getting the client side working.
See 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 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.



Re: GWT Validation Framework

2011-01-17 Thread SVR
This is not part of any released code? Is it planned to be part of ver x.y?
Is http://code.google.com/p/gwt-validation/ a different project?

thanks

On Mon, Jan 17, 2011 at 2:47 PM, Nick Chalko ncha...@google.com wrote:



 On Mon, Jan 17, 2011 at 7:43 AM, SVR svr...@gmail.com wrote:

 Has anybody used the  GWT Validation Framework based on the 
 JSR-303http://code.google.com/p/gwt-validation/

 Can you please provide your thoughts on its usefulness and can you please
 point to some useful links on its usage with examples.
 thanks

 --


 JSR-303 of course already works on the server side, DynatableRf should show
 that.   I am working on getting the client side working.
 See 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 email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


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



Re: GWT Validation Framework

2011-01-17 Thread Nick Chalko
On Mon, Jan 17, 2011 at 12:02 PM, SVR svr...@gmail.com wrote:

 This is not part of any released code? Is it planned to be part of ver x.y?

Eventually it will be in released code.  No time line yet.

 Is http://code.google.com/p/gwt-validation/ a different project?

yes it is a different project and does not match the JSR-303 spec

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



[gwt-contrib] [google-web-toolkit] r9427 committed - Stub documentation of GWT Validation

2010-12-15 Thread codesite-noreply

Revision: 9427
Author: ncha...@google.com
Date: Wed Dec 15 10:48:50 2010
Log: Stub documentation of GWT Validation
http://code.google.com/p/google-web-toolkit/source/detail?r=9427

Added:
 /wiki/BeanValidation.wiki

===
--- /dev/null
+++ /wiki/BeanValidation.wiki   Wed Dec 15 10:48:50 2010
@@ -0,0 +1,6 @@
+#summary JSR 303 Bean Validation for GWT
+#labels jsr303,beanvalidation
+
+= Introduction =
+
+GWT supports a subset of JSR 303 Bean Validation.

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: Generate BeanDescriptors for GWT Validation. (issue1212801)

2010-12-14 Thread rchandia

LGTM
On 2010/12/11 00:38:11, Nick Chalko wrote:

[JSR 303 TCK Result] 31 of 258 (12.02%) Pass with 10 Failures and 13

Errors.



http://gwt-code-reviews.appspot.com/1212801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r9421 committed - Public: Generate BeanDescriptors for GWT Validation....

2010-12-14 Thread codesite-noreply

Revision: 9421
Author: ncha...@google.com
Date: Tue Dec 14 08:48:08 2010
Log: Public: Generate BeanDescriptors for GWT Validation.

[JSR 303 TCK Result] 31 of 258 (12.02%) Pass with 10 Failures and 13 Errors.

Review at http://gwt-code-reviews.appspot.com/1212801

Review by: rchan...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=9421

Added:
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/ConstraintInheritanceTest.java
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/ConstraintsInheritanceGwtSuite.java
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/TckTest.gwt.xml
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/TckTestValidator.java
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/metadata
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/metadata/BeanDescriptorTest.java
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/metadata/MetadataGwtSuite.java
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/metadata/TckTest.gwt.xml
  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/metadata/TckTestValidator.java
  
/trunk/user/src/com/google/gwt/validation/client/impl/GwtBeanDescriptorImpl.java

Deleted:
  
/trunk/user/src/com/google/gwt/validation/client/impl/AbstractBeanDescriptor.java

Modified:
 /trunk/user/src/com/google/gwt/validation/rebind/BeanHelper.java
  
/trunk/user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java

 /trunk/user/src/com/google/gwt/validation/rebind/ValidatorCreator.java

===
--- /dev/null
+++  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/ConstraintInheritanceTest.java	 
Tue Dec 14 08:48:08 2010

@@ -0,0 +1,41 @@
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of

+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,  
WITHOUT

+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under

+ * the License.
+ */
+package com.google.gwt.sample.validationtck.constraints.inheritance;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+/**
+ * Test wrapper for
+ * {...@link  
org.hibernate.jsr303.tck.tests.constraints.inheritance.ConstraintInheritanceTest}

+ * .
+ */
+public class ConstraintInheritanceTest extends GWTTestCase {
+  private final  
org.hibernate.jsr303.tck.tests.constraints.inheritance.ConstraintInheritanceTest  
delegate =
+  new   
org.hibernate.jsr303.tck.tests.constraints.inheritance.ConstraintInheritanceTest();

+
+  @Override
+  public String getModuleName() {
+ 
return com.google.gwt.sample.validationtck.constraints.inheritance.TckTest;

+  }
+
+  public void testConstraintsOnInterfaceAreInherited() {
+delegate.testConstraintsOnInterfaceAreInherited();
+  }
+
+  public void testConstraintsOnSuperClassAreInherited() {
+delegate.testConstraintsOnSuperClassAreInherited();
+  }
+}
===
--- /dev/null
+++  
/trunk/samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/ConstraintsInheritanceGwtSuite.java	 
Tue Dec 14 08:48:08 2010

@@ -0,0 +1,32 @@
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of

+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,  
WITHOUT

+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under

+ * the License.
+ */
+package com.google.gwt.sample.validationtck.constraints.inheritance;
+
+import com.google.gwt.junit.tools.GWTTestSuite;
+
+import junit.framework.Test;
+
+/**
+ * Tck Tests for the {...@code constraints inheritance} package.
+ */
+public class ConstraintsInheritanceGwtSuite {
+  public static Test suite() {
+GWTTestSuite suite = new GWTTestSuite(
+TCK for GWT Validation, constraints inheritance package);
+suite.addTestSuite(ConstraintInheritanceTest.class);
+return suite

[gwt-contrib] Public: Generate BeanDescriptors for GWT Validation. (issue1212801)

2010-12-10 Thread nchalko

Reviewers: rchandia,

Description:
Public: Generate BeanDescriptors for GWT Validation.


Please review this at http://gwt-code-reviews.appspot.com/1212801/show

Affected files:
  A  
samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/ConstraintInheritanceTest.java
  A  
samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/ConstraintsInheritanceGwtSuite.java
  A  
samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/TckTest.gwt.xml
  A  
samples/validationtck/test/com/google/gwt/sample/validationtck/constraints/inheritance/TckTestValidator.java
  A  
samples/validationtck/test/com/google/gwt/sample/validationtck/metadata/BeanDescriptorTest.java
  A  
samples/validationtck/test/com/google/gwt/sample/validationtck/metadata/MetadataGwtSuite.java
  A  
samples/validationtck/test/com/google/gwt/sample/validationtck/metadata/TckTest.gwt.xml
  A  
samples/validationtck/test/com/google/gwt/sample/validationtck/metadata/TckTestValidator.java
  D  
user/src/com/google/gwt/validation/client/impl/AbstractBeanDescriptor.java
  A  
user/src/com/google/gwt/validation/client/impl/GwtBeanDescriptorImpl.java

  M user/src/com/google/gwt/validation/rebind/BeanHelper.java
  M  
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java

  M user/src/com/google/gwt/validation/rebind/ValidatorCreator.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: Generate BeanDescriptors for GWT Validation. (issue1212801)

2010-12-10 Thread nchalko

[JSR 303 TCK Result] 31 of 258 (12.02%) Pass with 10 Failures and 13
Errors.

http://gwt-code-reviews.appspot.com/1212801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8952 committed - Public: First take at GWT validation that actually validates on the c...

2010-10-06 Thread codesite-noreply

Revision: 8952
Author: ncha...@google.com
Date: Wed Oct  6 06:53:06 2010
Log: Public:  First take at GWT validation that actually validates on the  
client side.


Review at http://gwt-code-reviews.appspot.com/863801

Review by: robertvaw...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=8952

Added:
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/shared/NoOp.java
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/shared/NoOpValidator.java

 /trunk/samples/validation/war/WEB-INF/lib
 /trunk/samples/validation/war/WEB-INF/lib/gwt-servlet.jar
  
/trunk/user/src/com/google/gwt/validation/client/constraints/NotGwtCompatibleValidator.java

 /trunk/user/src/org
 /trunk/user/src/org/hibernate
 /trunk/user/src/org/hibernate/validator
 /trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml
 /trunk/user/src/org/hibernate/validator/README.txt
 /trunk/user/src/org/hibernate/validator/super
 /trunk/user/src/org/hibernate/validator/super/org
 /trunk/user/src/org/hibernate/validator/super/org/hibernate
 /trunk/user/src/org/hibernate/validator/super/org/hibernate/validator
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/ScriptAssert.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/EmailValidator.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/FutureValidatorForCalendar.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/PastValidatorForCalendar.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/PatternValidator.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/ScriptAssertValidator.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArray.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfBoolean.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfByte.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfChar.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfDouble.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfFloat.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfInt.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfLong.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfShort.java
  
/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/URLValidator.java

Modified:
 /trunk/build.xml
 /trunk/eclipse/samples/Validation/.classpath
 /trunk/eclipse/user/.classpath
 /trunk/samples/common.ant.xml
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/client/GreetingServiceAsync.java
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/client/SampleValidator.java
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java
  
/trunk/samples/validation/src/com/google/gwt/sample/validation/shared/Person.java

 /trunk/samples/validation/war/favicon.ico
 /trunk/user/build.xml
  
/trunk/user/src/com/google/gwt/validation/client/impl/AbstractGwtSpecificValidator.java
  
/trunk/user/src/com/google/gwt/validation/client/impl/AbstractGwtValidator.java
  
/trunk/user/src/com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java

 /trunk/user/src/com/google/gwt/validation/rebind/AbstractCreator.java
 /trunk/user/src/com/google/gwt/validation/rebind/BeanHelper.java
  
/trunk/user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java
  
/trunk/user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorGenerator.java

 /trunk/user/src/com/google/gwt/validation/rebind/ValidatorCreator.java
  
/trunk/user/test/com/google/gwt/validation/example/ValidationExample.gwt.xml

 /trunk/user/test/com/google/gwt/validation/example/client/Author.java
 /trunk/user/test/com/google/gwt/validation/example/client/AuthorTest.java
  
/trunk/user/test/com/google/gwt/validation

[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-10-05 Thread nchalko

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-10-05 Thread nchalko


http://gwt-code-reviews.appspot.com/863801/diff/32001/33004
File samples/common.ant.xml (right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33004#newcode100
samples/common.ant.xml:100: /classpath
On 2010/10/04 20:52:02, bobv wrote:

Low priority: Can you extract this classpath as an ant environment

variable so

it's not buried down in the target definition?


I will do that in a separate CL.  They way I want to do it will touch
all the sample build.xml's

http://gwt-code-reviews.appspot.com/863801/diff/32001/33005
File samples/validation/build.xml (right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33005#newcode2
samples/validation/build.xml:2: !-- Must be compiled using jdk 1.6,
because hibernate needs jaxb --
Wont't compile without.  I have added all the needed jdk1.5 jars.

http://gwt-code-reviews.appspot.com/863801/diff/32001/33006
File
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
(right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33006#newcode20
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml:20:
inherits name='org.hibernate.validator.HibernateValidator'/
On 2010/10/04 20:52:02, bobv wrote:

Since HibernateValidator also includes the Validation package, I think

you

should drop the redundant import to reduce the huh? factor in the

sample app.

Done.

http://gwt-code-reviews.appspot.com/863801/diff/32001/33015
File user/build.xml (right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33015#newcode67
user/build.xml:67: pathelement
location=${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final-sources.jar
/
On 2010/10/04 20:52:02, bobv wrote:

Indentation looks off, could just be rietveld.


Done.

http://gwt-code-reviews.appspot.com/863801/diff/32001/33025
File user/src/org/hibernate/validator/HibernateValidator.gwt.xml
(right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33025#newcode1
user/src/org/hibernate/validator/HibernateValidator.gwt.xml:1: ?xml
version=1.0 encoding=UTF-8?
On 2010/10/04 20:52:02, bobv wrote:

Add a comment in this file explaining when/how to import this module

and a

readme file in same directory explaining why these files exist and any
maintenance directions.


Done.

http://gwt-code-reviews.appspot.com/863801/diff/32001/33044
File user/test/com/google/gwt/validation/example/client/AuthorTest.java
(right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33044#newcode53
user/test/com/google/gwt/validation/example/client/AuthorTest.java:53:
// public void testNotDefaultValidtor_EmptyNotDefualt() throws Exception
{
On 2010/10/04 20:52:02, bobv wrote:

Instead of commenting out the code rename the method to

disabled_testXyzzy just

to make sure the code doesn't rot from a compilation standpoint.


This code does not compile yet.

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-10-04 Thread bobv

LGTM, just comment / documentation nits.


http://gwt-code-reviews.appspot.com/863801/diff/32001/33004
File samples/common.ant.xml (right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33004#newcode100
samples/common.ant.xml:100: /classpath
Low priority: Can you extract this classpath as an ant environment
variable so it's not buried down in the target definition?

http://gwt-code-reviews.appspot.com/863801/diff/32001/33005
File samples/validation/build.xml (right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33005#newcode2
samples/validation/build.xml:2: !-- Must be compiled using jdk 1.6,
because hibernate needs jaxb --
What's the failure mode for this?  The GWT distribution is supposed to
be usable with a 1.5 install to support enterprise folks who can't
upgrade.  If it's just the server components of the sample app that
won't fire up, it's not a big deal.  If it means that you can't run the
GWT compiler to compile the app on 1.5, that's a problem.

http://gwt-code-reviews.appspot.com/863801/diff/32001/33006
File
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
(right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33006#newcode20
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml:20:
inherits name='org.hibernate.validator.HibernateValidator'/
Since HibernateValidator also includes the Validation package, I think
you should drop the redundant import to reduce the huh? factor in the
sample app.

http://gwt-code-reviews.appspot.com/863801/diff/32001/33015
File user/build.xml (right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33015#newcode67
user/build.xml:67: pathelement
location=${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final-sources.jar
/
Indentation looks off, could just be rietveld.

http://gwt-code-reviews.appspot.com/863801/diff/32001/33025
File user/src/org/hibernate/validator/HibernateValidator.gwt.xml
(right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33025#newcode1
user/src/org/hibernate/validator/HibernateValidator.gwt.xml:1: ?xml
version=1.0 encoding=UTF-8?
Add a comment in this file explaining when/how to import this module and
a readme file in same directory explaining why these files exist and any
maintenance directions.

http://gwt-code-reviews.appspot.com/863801/diff/32001/33044
File user/test/com/google/gwt/validation/example/client/AuthorTest.java
(right):

http://gwt-code-reviews.appspot.com/863801/diff/32001/33044#newcode53
user/test/com/google/gwt/validation/example/client/AuthorTest.java:53:
// public void testNotDefaultValidtor_EmptyNotDefualt() throws Exception
{
Instead of commenting out the code rename the method to
disabled_testXyzzy just to make sure the code doesn't rot from a
compilation standpoint.

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-23 Thread nchalko

Please take a look now.


http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-21 Thread bobv

For the untranslatable validators, it seems more straightforward to have
a super-source version of the annotation that's tagged as
@NotGwtCompatible.

Instead of having the sample app import the HibernateValidator package,
would it make sense to have the gwt.Validation package include the
HibernateValidator instead?


http://gwt-code-reviews.appspot.com/863801/diff/3002/15002
File eclipse/samples/Validation/.classpath (right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15002#newcode5
eclipse/samples/Validation/.classpath:5: classpathentry kind=src
path=gwt-gen/
Is this left over from debugging?

http://gwt-code-reviews.appspot.com/863801/diff/3002/15016
File
user/src/com/google/gwt/validation/client/constraints/NotGwtCompatibleValidator.java
(right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15016#newcode25
user/src/com/google/gwt/validation/client/constraints/NotGwtCompatibleValidator.java:25:
* as strongNOT GWT COMPATIBLE/strong.
If the validator weren't GWT-compatible, it couldn't be in the
TypeOracle to begin with.  If you think it's necessary to be able to
exclude a validator, would an inheritable annotation make sense instead?

http://gwt-code-reviews.appspot.com/863801/diff/3002/15019
File
user/src/com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java
(right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15019#newcode88
user/src/com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java:88:
*/
Empty javadoc.

http://gwt-code-reviews.appspot.com/863801/diff/3002/15022
File
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java
(right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15022#newcode89
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java:89:
// TODO handle the rest
Todo?

http://gwt-code-reviews.appspot.com/863801/diff/3002/15022#newcode282
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java:282:
sw.print(//GWT.create();
What's going on here?

http://gwt-code-reviews.appspot.com/863801/diff/3002/15022#newcode487
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java:487:
sw.print(//  GWT.create();
Same construct as above?

http://gwt-code-reviews.appspot.com/863801/diff/3002/15025
File user/src/org/hibernate/validator/HibernateValidator.gwt.xml
(right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15025#newcode3
user/src/org/hibernate/validator/HibernateValidator.gwt.xml:3: !DOCTYPE
module PUBLIC -//Google Inc.//DTD Google Web Toolkit 1.6.4//EN
http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-source/core/src/gwt-module.dtd;
Cut the DTD.

http://gwt-code-reviews.appspot.com/863801/diff/3002/15025#newcode6
user/src/org/hibernate/validator/HibernateValidator.gwt.xml:6: source
path=constraints
Indentation is off.

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-21 Thread Nick Chalko
On Tue, Sep 21, 2010 at 7:04 AM, b...@google.com wrote:

 For the untranslatable validators, it seems more straightforward to have
 a super-source version of the annotation that's tagged as
 @NotGwtCompatible.


Hmm,  that might work.
However it could be complicated because I am actually deciding what
validators to use for GWT from the server side.  Note also the spec allows
the constraints defined in source to be overridden via a config file.



 Instead of having the sample app import the HibernateValidator package,
 would it make sense to have the gwt.Validation package include the
 HibernateValidator instead?


That would tie the user to Hibernate,  I think it is better to let the
choose between hibernate or  apache bval, or any serverside
JSR-303 implementation.



-- 
Generate you java flags for easier testing.
go/java_flags https://goto.google.com/java_flags
 https://goto.google.com/java_flags

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-21 Thread nchalko


http://gwt-code-reviews.appspot.com/863801/diff/3002/15002
File eclipse/samples/Validation/.classpath (right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15002#newcode5
eclipse/samples/Validation/.classpath:5: classpathentry kind=src
path=gwt-gen/
On 2010/09/21 14:04:18, bobv wrote:

Is this left over from debugging?


Done.

http://gwt-code-reviews.appspot.com/863801/diff/3002/15016
File
user/src/com/google/gwt/validation/client/constraints/NotGwtCompatibleValidator.java
(right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15016#newcode25
user/src/com/google/gwt/validation/client/constraints/NotGwtCompatibleValidator.java:25:
* as strongNOT GWT COMPATIBLE/strong.
The idea here is to provide a Gwt-compatible version that will always
return invalid.
Take a look at the updated javadoc.

http://gwt-code-reviews.appspot.com/863801/diff/3002/15019
File
user/src/com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java
(right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15019#newcode88
user/src/com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java:88:
*/
On 2010/09/21 14:04:18, bobv wrote:

Empty javadoc.

removed

http://gwt-code-reviews.appspot.com/863801/diff/3002/15022
File
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java
(right):

http://gwt-code-reviews.appspot.com/863801/diff/3002/15022#newcode89
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java:89:
// TODO handle the rest
On 2010/09/21 14:04:18, bobv wrote:

Todo?


Clarified todo.

http://gwt-code-reviews.appspot.com/863801/diff/3002/15022#newcode282
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java:282:
sw.print(//GWT.create();
On 2010/09/21 14:04:18, bobv wrote:

What's going on here?

I am leaving myself a note in the generated code for things I still have
to do.

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-21 Thread nchalko

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-20 Thread nchalko

ping

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-20 Thread nchalko

ping



http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-12 Thread nchalko

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-12 Thread nchalko

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-12 Thread nchalko

On 2010/09/12 06:30:55, Nick Chalko wrote:


Please take a look now.

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-12 Thread nchalko

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-10 Thread nchalko

Reviewers: robertvawter,

Description:
Public:  First take at GWT validation that actually validates on the
client side.


Please review this at http://gwt-code-reviews.appspot.com/863801/show

Affected files:
  M eclipse/samples/Validation/.classpath
  M eclipse/user/.classpath
  M  
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
  M  
samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java
  M  
samples/validation/src/com/google/gwt/sample/validation/client/GreetingServiceAsync.java
  M  
samples/validation/src/com/google/gwt/sample/validation/client/SampleValidator.java
  M  
samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
  M  
samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java

  A samples/validation/src/com/google/gwt/sample/validation/shared/NoOp.java
  A  
samples/validation/src/com/google/gwt/sample/validation/shared/NoOpValidator.java
  M  
samples/validation/src/com/google/gwt/sample/validation/shared/Person.java
  A  
user/src/com/google/gwt/validation/client/constraints/NotGwtCompatibleValidator.java
  M  
user/src/com/google/gwt/validation/client/impl/AbstractGwtSpecificValidator.java

  M user/src/com/google/gwt/validation/client/impl/AbstractGwtValidator.java
  M  
user/src/com/google/gwt/validation/client/impl/ConstraintDescriptorImpl.java

  M user/src/com/google/gwt/validation/rebind/AbstractCreator.java
  M user/src/com/google/gwt/validation/rebind/BeanHelper.java
  A user/src/com/google/gwt/validation/rebind/FieldHelper.java
  M  
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java
  M  
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorGenerator.java

  M user/src/com/google/gwt/validation/rebind/ValidatorCreator.java
  A user/src/org/hibernate/validator/HibernateValidator.gwt.xml
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/ScriptAssert.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/EmailValidator.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/FutureValidatorForCalendar.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/PastValidatorForCalendar.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/PatternValidator.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/ScriptAssertValidator.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArray.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfBoolean.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfByte.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfChar.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfDouble.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfFloat.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfInt.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfLong.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/SizeValidatorForArraysOfShort.java
  A  
user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/URLValidator.java

  M user/test/com/google/gwt/validation/example/client/AuthorTest.java
  M  
user/test/com/google/gwt/validation/example/client/ExampleGwtValidator.java



--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-10 Thread nchalko

This is not ready for a full review yet.  But I want to get some early
feed back.

I am using using the HibernateValidator during the compile.
To do this I created
user/src/org/hibernate/validator/HibernateValidator.gwt.xml and
associated files.
It might be better if this actually lived in the hibernate source.

It should be easy to use a different Validator implementation like
Apache BVAL

The hibernate XxxValidator's  sources must be available for GWT to
compile them.
I override some of them as needed to either use the GWT version, or
always fail if they are actually called from the client.

How shall we package the Hibernate Validation jars and Module?





http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: First take at GWT validation that actually validates on the client side. (issue863801)

2010-09-10 Thread nchalko

http://gwt-code-reviews.appspot.com/863801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-25 Thread bobv

LGTM


http://gwt-code-reviews.appspot.com/760802/diff/6001/1032
File
samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1032#newcode55
samples/validation/src/com/google/gwt/sample/validation/client/Validation.java:55:
public void onModuleLoad() {

Note this is what the Eclipse, create a sample app does.


Looks like the webapp sample creator is a few years behind the curve.
I'll file a bug about modernizing it.

http://gwt-code-reviews.appspot.com/760802/diff/20001/21007
File samples/build.xml (right):

http://gwt-code-reviews.appspot.com/760802/diff/20001/21007#newcode37
samples/build.xml:37: target name=validation description=Build
validaiton
typo in the description attribute.

http://gwt-code-reviews.appspot.com/760802/diff/20001/21010
File
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
(right):

http://gwt-code-reviews.appspot.com/760802/diff/20001/21010#newcode2
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml:2:
!DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit
0.0.999//EN
http://google-web-toolkit.googlecode.com/svn/tags/0.0.999/distro-source/core/src/gwt-module.dtd;
This doctype produced by the webapp creator is wrong and unnecessary.

http://gwt-code-reviews.appspot.com/760802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-25 Thread Nick Chalko
I will need a g4 approved also

On Aug 25, 2010 5:26 AM, b...@google.com wrote:
 LGTM


 http://gwt-code-reviews.appspot.com/760802/diff/6001/1032
 File

samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
 (right):

 http://gwt-code-reviews.appspot.com/760802/diff/6001/1032#newcode55

samples/validation/src/com/google/gwt/sample/validation/client/Validation.java:55:
 public void onModuleLoad() {
 Note this is what the Eclipse, create a sample app does.

 Looks like the webapp sample creator is a few years behind the curve.
 I'll file a bug about modernizing it.

 http://gwt-code-reviews.appspot.com/760802/diff/20001/21007
 File samples/build.xml (right):

 http://gwt-code-reviews.appspot.com/760802/diff/20001/21007#newcode37
 samples/build.xml:37: target name=validation description=Build
 validaiton
 typo in the description attribute.

 http://gwt-code-reviews.appspot.com/760802/diff/20001/21010
 File
 samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
 (right):

 http://gwt-code-reviews.appspot.com/760802/diff/20001/21010#newcode2

samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml:2:
 !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit
 0.0.999//EN
 
http://google-web-toolkit.googlecode.com/svn/tags/0.0.999/distro-source/core/src/gwt-module.dtd

 This doctype produced by the webapp creator is wrong and unnecessary.

 http://gwt-code-reviews.appspot.com/760802/show

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-24 Thread nchalko


http://gwt-code-reviews.appspot.com/760802/diff/6001/1029
File
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1029#newcode3
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml:3:
!-- Copyright 2007 Google Inc.
   --
On 2010/08/23 13:35:14, bobv wrote:

Update copyright date for new code.


Done.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1030
File
samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1030#newcode26
samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java:26:
public interface GreetingService extends RemoteService {
On 2010/08/23 13:35:14, bobv wrote:

Since this is new, please use



com.google.gwt.rpc.client.RpcService
and rpc.server.RpcServlet



to use the deRPC code-base (which I'd like to make the new default in

2.1).  No

other changes are required.


Done.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1032
File
samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1032#newcode55
samples/validation/src/com/google/gwt/sample/validation/client/Validation.java:55:
public void onModuleLoad() {
On 2010/08/23 13:35:14, bobv wrote:

Please UIBinder-ize this.

Sure,

Note this is what the Eclipse, create a sample app does.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1033
File
samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1033#newcode52
samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java:52:
private String escapeHtml(String html) {
On 2010/08/23 13:35:14, bobv wrote:

Add a TODO here to use SafeHtml after it's integrated.


Done.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1035
File samples/validation/war/Validation.css (right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1035#newcode1
samples/validation/war/Validation.css:1: /** Add css rules here for your
application. */
On 2010/08/23 13:35:14, bobv wrote:

Move into .ui.xml file.


Done.  Except for the h1, which I left in the HTML page.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1035#newcode19
samples/validation/war/Validation.css:19: .gwt-DialogBox {
On 2010/08/23 13:35:14, bobv wrote:

Add to the ui:style



@external .gwt-*;



to disable obfuscation for the .gwt-DialogBox selector.


Done.

http://gwt-code-reviews.appspot.com/760802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-23 Thread bobv


http://gwt-code-reviews.appspot.com/760802/diff/6001/1029
File
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1029#newcode3
samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml:3:
!-- Copyright 2007 Google Inc.
   --
Update copyright date for new code.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1030
File
samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1030#newcode26
samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java:26:
public interface GreetingService extends RemoteService {
Since this is new, please use

com.google.gwt.rpc.client.RpcService
and rpc.server.RpcServlet

to use the deRPC code-base (which I'd like to make the new default in
2.1).  No other changes are required.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1032
File
samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1032#newcode55
samples/validation/src/com/google/gwt/sample/validation/client/Validation.java:55:
public void onModuleLoad() {
Please UIBinder-ize this.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1032#newcode107
samples/validation/src/com/google/gwt/sample/validation/client/Validation.java:107:
public void onClick(ClickEvent event) {
This inner class can go, replaced with

@UiHandler(closeButton)
void onKeyUp(KeyUpEvent evt) {...}

@UiHandler(closeButton)
void onClick(ClickEvent evt) {...}

http://gwt-code-reviews.appspot.com/760802/diff/6001/1033
File
samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java
(right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1033#newcode52
samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java:52:
private String escapeHtml(String html) {
Add a TODO here to use SafeHtml after it's integrated.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1035
File samples/validation/war/Validation.css (right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1035#newcode1
samples/validation/war/Validation.css:1: /** Add css rules here for your
application. */
Move into .ui.xml file.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1035#newcode19
samples/validation/war/Validation.css:19: .gwt-DialogBox {
Add to the ui:style

@external .gwt-*;

to disable obfuscation for the .gwt-DialogBox selector.

http://gwt-code-reviews.appspot.com/760802/diff/6001/1036
File samples/validation/war/Validation.html (right):

http://gwt-code-reviews.appspot.com/760802/diff/6001/1036#newcode3
samples/validation/war/Validation.html:3: !-- Copyright 2008 Google
Inc. --
Update date.

http://gwt-code-reviews.appspot.com/760802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-23 Thread nchalko

Bob do you think the Contacts App from
http://code.google.com/webtoolkit/articles/mvp-architecture.html#model

Is a better starting place

http://gwt-code-reviews.appspot.com/760802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-20 Thread nchalko

http://gwt-code-reviews.appspot.com/760802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-19 Thread nchalko

http://gwt-code-reviews.appspot.com/760802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-17 Thread Arthur Kalmenson
I'm really excited for this validation component, you guys/gals are
doing a great job! But it looks like Validation is using
VerticalPanel, but from my understand we're trying to discourage the
use of table based widgets where possible. Could this be done with
UiBinder and divs instead?

--
Arthur Kalmenson



On Tue, Aug 17, 2010 at 10:35 AM,  ncha...@google.com wrote:
 Reviewers: robertvater_google.com,

 Description:
 Public: Start of a sample application showing GWT validation.


 Please review this at http://gwt-code-reviews.appspot.com/760802/show

 Affected files:
  A eclipse/samples/Validation/.checkstyle
  A eclipse/samples/Validation/.classpath
  A eclipse/samples/Validation/.project
  A eclipse/samples/Validation/Validation-gwtc.launch
  A eclipse/samples/Validation/Validation.launch
  M eclipse/user/.classpath
  M samples/build.xml
  A samples/validation/build.xml
  A samples/validation/src/com/google/gwt/sample/validation/COPYING
  A
 samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
  A
 samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java
  A
 samples/validation/src/com/google/gwt/sample/validation/client/GreetingServiceAsync.java
  A
 samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
  A
 samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java
  A
 samples/validation/src/com/google/gwt/sample/validation/shared/Person.java
  A samples/validation/war/Validation.css
  A samples/validation/war/Validation.html
  A samples/validation/war/WEB-INF/classes/marker
  A samples/validation/war/WEB-INF/web.xml


 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-17 Thread Ray Ryan
This patch is focused on the validation plumbing. The UI is throw away.

On Tue, Aug 17, 2010 at 11:02 AM, Arthur Kalmenson arthur.k...@gmail.comwrote:

 I'm really excited for this validation component, you guys/gals are
 doing a great job! But it looks like Validation is using
 VerticalPanel, but from my understand we're trying to discourage the
 use of table based widgets where possible. Could this be done with
 UiBinder and divs instead?

 --
 Arthur Kalmenson



 On Tue, Aug 17, 2010 at 10:35 AM,  ncha...@google.com wrote:
  Reviewers: robertvater_google.com,
 
  Description:
  Public: Start of a sample application showing GWT validation.
 
 
  Please review this at http://gwt-code-reviews.appspot.com/760802/show
 
  Affected files:
   A eclipse/samples/Validation/.checkstyle
   A eclipse/samples/Validation/.classpath
   A eclipse/samples/Validation/.project
   A eclipse/samples/Validation/Validation-gwtc.launch
   A eclipse/samples/Validation/Validation.launch
   M eclipse/user/.classpath
   M samples/build.xml
   A samples/validation/build.xml
   A samples/validation/src/com/google/gwt/sample/validation/COPYING
   A
 
 samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
   A
 
 samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java
   A
 
 samples/validation/src/com/google/gwt/sample/validation/client/GreetingServiceAsync.java
   A
 
 samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
   A
 
 samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java
   A
 
 samples/validation/src/com/google/gwt/sample/validation/shared/Person.java
   A samples/validation/war/Validation.css
   A samples/validation/war/Validation.html
   A samples/validation/war/WEB-INF/classes/marker
   A samples/validation/war/WEB-INF/web.xml
 
 
  --
  http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-17 Thread Arthur Kalmenson
Ah, sorry about that.

--
Arthur Kalmenson



On Tue, Aug 17, 2010 at 2:04 PM, Ray Ryan rj...@google.com wrote:
 This patch is focused on the validation plumbing. The UI is throw away.

 On Tue, Aug 17, 2010 at 11:02 AM, Arthur Kalmenson arthur.k...@gmail.com
 wrote:

 I'm really excited for this validation component, you guys/gals are
 doing a great job! But it looks like Validation is using
 VerticalPanel, but from my understand we're trying to discourage the
 use of table based widgets where possible. Could this be done with
 UiBinder and divs instead?

 --
 Arthur Kalmenson



 On Tue, Aug 17, 2010 at 10:35 AM,  ncha...@google.com wrote:
  Reviewers: robertvater_google.com,
 
  Description:
  Public: Start of a sample application showing GWT validation.
 
 
  Please review this at http://gwt-code-reviews.appspot.com/760802/show
 
  Affected files:
   A eclipse/samples/Validation/.checkstyle
   A eclipse/samples/Validation/.classpath
   A eclipse/samples/Validation/.project
   A eclipse/samples/Validation/Validation-gwtc.launch
   A eclipse/samples/Validation/Validation.launch
   M eclipse/user/.classpath
   M samples/build.xml
   A samples/validation/build.xml
   A samples/validation/src/com/google/gwt/sample/validation/COPYING
   A
 
  samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
   A
 
  samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java
   A
 
  samples/validation/src/com/google/gwt/sample/validation/client/GreetingServiceAsync.java
   A
 
  samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
   A
 
  samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java
   A
 
  samples/validation/src/com/google/gwt/sample/validation/shared/Person.java
   A samples/validation/war/Validation.css
   A samples/validation/war/Validation.html
   A samples/validation/war/WEB-INF/classes/marker
   A samples/validation/war/WEB-INF/web.xml
 
 
  --
  http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-17 Thread Arthur Kalmenson
But this is looking to be a really great release for enterprise app
building! I can just imagine how many days and weeks of work this
release would have saved me :D

--
Arthur Kalmenson



On Tue, Aug 17, 2010 at 2:12 PM, Arthur Kalmenson arthur.k...@gmail.com wrote:
 Ah, sorry about that.

 --
 Arthur Kalmenson



 On Tue, Aug 17, 2010 at 2:04 PM, Ray Ryan rj...@google.com wrote:
 This patch is focused on the validation plumbing. The UI is throw away.

 On Tue, Aug 17, 2010 at 11:02 AM, Arthur Kalmenson arthur.k...@gmail.com
 wrote:

 I'm really excited for this validation component, you guys/gals are
 doing a great job! But it looks like Validation is using
 VerticalPanel, but from my understand we're trying to discourage the
 use of table based widgets where possible. Could this be done with
 UiBinder and divs instead?

 --
 Arthur Kalmenson



 On Tue, Aug 17, 2010 at 10:35 AM,  ncha...@google.com wrote:
  Reviewers: robertvater_google.com,
 
  Description:
  Public: Start of a sample application showing GWT validation.
 
 
  Please review this at http://gwt-code-reviews.appspot.com/760802/show
 
  Affected files:
   A eclipse/samples/Validation/.checkstyle
   A eclipse/samples/Validation/.classpath
   A eclipse/samples/Validation/.project
   A eclipse/samples/Validation/Validation-gwtc.launch
   A eclipse/samples/Validation/Validation.launch
   M eclipse/user/.classpath
   M samples/build.xml
   A samples/validation/build.xml
   A samples/validation/src/com/google/gwt/sample/validation/COPYING
   A
 
  samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
   A
 
  samples/validation/src/com/google/gwt/sample/validation/client/GreetingService.java
   A
 
  samples/validation/src/com/google/gwt/sample/validation/client/GreetingServiceAsync.java
   A
 
  samples/validation/src/com/google/gwt/sample/validation/client/Validation.java
   A
 
  samples/validation/src/com/google/gwt/sample/validation/server/GreetingServiceImpl.java
   A
 
  samples/validation/src/com/google/gwt/sample/validation/shared/Person.java
   A samples/validation/war/Validation.css
   A samples/validation/war/Validation.html
   A samples/validation/war/WEB-INF/classes/marker
   A samples/validation/war/WEB-INF/web.xml
 
 
  --
  http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


UI Binder and gwt-validation

2010-04-27 Thread John Ivens
Does anyone have these two (UI Binder and gwt-validation) working together?
Whenever I make a class that has an equivalent ui.xml file (and which
extends Composite, but this may not matter) implement IValidatable, I get an
error saying that GWT.create() can only be run on the client side.  All of
my code is on the client side, so I should not be getting this error... any
ideas?

What do people use for validation if not gwt-validation?

-- 
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-tool...@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.



Re: GWT Validation Best Practice

2010-01-13 Thread simonob007
Hi Deanna

Thanks for the reply. It sounds like from the recent incubator
announcement (http://groups.google.com/group/google-web-toolkit/
browse_thread/thread/26f883d9b0c02136) that with any luck validation
support might be built into core GWT in the 2.2 time frame (anybody
hazard a guess when this might be)? In the meantime I will take a look
at the validation support built into gwt-incubator.

Thanks

Simon

On Jan 12, 8:28 pm, Deanna Bonds deanna.bo...@gmail.com wrote:
 There is a validation library in gwt-incubator but I haven't used it
 yet.  It is on my todo list to explore it.  There isn't much doc to it
 so you will have to dissect the code in the jar file.

 On Jan 12, 6:30 am, simonob007 simonob...@googlemail.com wrote:



  Hi GWT Community

  I am in the process of evaluating GWT as a basis for building RIA's so
  am building out a basic form based application to test out GWT.

  So far my GWT experience has been really good however I appear to have
  hit a brick wall in terms of validation (such as basic client side
  form validation) as from what I can see GWT does not have any built in
  validation components so I would have to build validation components
  manually.

  From my investigations (including searching this group) I have not
  been able to come to any conclusions on best practice for validation
  with GWT, I have seen there are a number of separate GWT  validation
  projects available however I have not been able to come to a
  conclusion on a best practice.

  Please could you share your personally experiences around GWT
  validation and share any best practices?

  NOTE: I know that there are also a couple of 3rd party libraries such
  as SmartGWT and Ext GWT that provide built in validation techniques
  however I would like to discount these for now due to licensing
  questions (particularly over Ext GWT) and as I understand from my
  research these libraries do not seem to benefit from key GWT features
  such as code splitting, code elimination, etc and don't really adhere
  to GWT 'best practice' (I hope I'm not opening a can of worms with
  this statement)

  Many Thanks

  Simon
-- 
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-tool...@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.




GWT Validation Best Practice

2010-01-12 Thread simonob007
Hi GWT Community

I am in the process of evaluating GWT as a basis for building RIA's so
am building out a basic form based application to test out GWT.

So far my GWT experience has been really good however I appear to have
hit a brick wall in terms of validation (such as basic client side
form validation) as from what I can see GWT does not have any built in
validation components so I would have to build validation components
manually.

From my investigations (including searching this group) I have not
been able to come to any conclusions on best practice for validation
with GWT, I have seen there are a number of separate GWT  validation
projects available however I have not been able to come to a
conclusion on a best practice.

Please could you share your personally experiences around GWT
validation and share any best practices?

NOTE: I know that there are also a couple of 3rd party libraries such
as SmartGWT and Ext GWT that provide built in validation techniques
however I would like to discount these for now due to licensing
questions (particularly over Ext GWT) and as I understand from my
research these libraries do not seem to benefit from key GWT features
such as code splitting, code elimination, etc and don't really adhere
to GWT 'best practice' (I hope I'm not opening a can of worms with
this statement)

Many Thanks

Simon
-- 
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-tool...@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.




Re: GWT Validation Best Practice

2010-01-12 Thread Deanna Bonds
There is a validation library in gwt-incubator but I haven't used it
yet.  It is on my todo list to explore it.  There isn't much doc to it
so you will have to dissect the code in the jar file.

On Jan 12, 6:30 am, simonob007 simonob...@googlemail.com wrote:
 Hi GWT Community

 I am in the process of evaluating GWT as a basis for building RIA's so
 am building out a basic form based application to test out GWT.

 So far my GWT experience has been really good however I appear to have
 hit a brick wall in terms of validation (such as basic client side
 form validation) as from what I can see GWT does not have any built in
 validation components so I would have to build validation components
 manually.

 From my investigations (including searching this group) I have not
 been able to come to any conclusions on best practice for validation
 with GWT, I have seen there are a number of separate GWT  validation
 projects available however I have not been able to come to a
 conclusion on a best practice.

 Please could you share your personally experiences around GWT
 validation and share any best practices?

 NOTE: I know that there are also a couple of 3rd party libraries such
 as SmartGWT and Ext GWT that provide built in validation techniques
 however I would like to discount these for now due to licensing
 questions (particularly over Ext GWT) and as I understand from my
 research these libraries do not seem to benefit from key GWT features
 such as code splitting, code elimination, etc and don't really adhere
 to GWT 'best practice' (I hope I'm not opening a can of worms with
 this statement)

 Many Thanks

 Simon
-- 
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-tool...@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.




Re: gwt-validation is this project being maintained?

2009-10-19 Thread David

Hi,

That is the dilema of all small opensource projects. I personally try
to avoid many of these small but useful extensions. If I do use them,
then I try to limit my exposure to project specific classes as much as
possible. If you notice that the framework is a deadend or something
better comes along then you can easily switch.

I'm still hoping GWT will have a good validation framework build in in
some future.

David

On Oct 18, 5:05 am, Ben benzhe...@gmail.com wrote:
 Judging from their code change history, it is an active project maybe
 not highly active. I have not used it by myself, so I can not really
 tell much.

 On Oct 17, 4:58 pm, myapplicationquestions parag.bhag...@cgi.com
 wrote:



  Hi All,

  I have a requirement where i need to do input validation for a lot of
  form fields through out the application, i was thinking of using

 http://code.google.com/p/gwt-validation/

  as it seems to be the best of what we have avaliable, is this a good
  library? i did not see a future road map for this? I want to be sure
  that this will be upgraded as GWT keeps on releasing new versions. Is
  there a way to get that confirmation?

  Thanks,- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



gwt-validation is this project being maintained?

2009-10-17 Thread myapplicationquestions

Hi All,

I have a requirement where i need to do input validation for a lot of
form fields through out the application, i was thinking of using

http://code.google.com/p/gwt-validation/

as it seems to be the best of what we have avaliable, is this a good
library? i did not see a future road map for this? I want to be sure
that this will be upgraded as GWT keeps on releasing new versions. Is
there a way to get that confirmation?

Thanks,

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: gwt-validation is this project being maintained?

2009-10-17 Thread Ben

Judging from their code change history, it is an active project maybe
not highly active. I have not used it by myself, so I can not really
tell much.

On Oct 17, 4:58 pm, myapplicationquestions parag.bhag...@cgi.com
wrote:
 Hi All,

 I have a requirement where i need to do input validation for a lot of
 form fields through out the application, i was thinking of using

 http://code.google.com/p/gwt-validation/

 as it seems to be the best of what we have avaliable, is this a good
 library? i did not see a future road map for this? I want to be sure
 that this will be upgraded as GWT keeps on releasing new versions. Is
 there a way to get that confirmation?

 Thanks,
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Has anyone used gwt-validation api? or is there a better one?

2009-08-30 Thread Sri

Its a good framework as long as you only want to do client side
validations. The moment you want to do server side validations, GWTC
starts complaining. The Annotation based framework would start
requiring server side classes, which won't be available to GWTC.

On Aug 29, 10:51 pm, myapplicationquestions parag.bhag...@cgi.com
wrote:
 Has anyone used gwt-validation api? or is there a better one? I need
 mostly data type validations, and some basic constraints on UI side..
 Let me know what you all think

 http://code.google.com/p/gwt-validation/
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Has anyone used gwt-validation api? or is there a better one?

2009-08-29 Thread myapplicationquestions

Has anyone used gwt-validation api? or is there a better one? I need
mostly data type validations, and some basic constraints on UI side..
Let me know what you all think

http://code.google.com/p/gwt-validation/
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Google Eclipse plugin + gin + gwt validation

2009-08-18 Thread Gary S

I'm creating a project for the plugin + guice gin + gwt validation. It
looks easy enough to do myself, but I want to check if there's a
standard way of doing this. I'd think lots of Google plugin projects
would also use gin and perhaps gwt validation.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: GWT Validation Library

2009-05-15 Thread 0710

thank you for your reply but it doesn't seems correct.

i got this :
[ERROR] Unable to find 'eu/maydu/gwt/validation/
ValidationLibrary .gwt.xml' on your classpath; could be a typo, or
maybe you forgot to include a classpath entry for source?

i included the jar already.. does anyone else got this error?

On May 13, 5:07 pm, Salvador Diaz diaz.salva...@gmail.com wrote:
 eu.maydu.gwt.validation.ValidationLibrary

 On 13 mai, 16:53,ytbryanytbr...@gmail.com wrote:

  hi all,

  I refer to this gwt validation library.http://gwt-vl.maydu.eu/
  ValidationShowcase.html
  does anybody know what is the name of the inherited module?

  thank yoU!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: GWT Validation Library

2009-05-15 Thread amayen

Hi,

could it be that you have a space between 'ValidationLibrary' and
'.gwt.xml'?
If so, this is probably the source of the error.

For further questions or feedback you can also use the projects forums
at sourceforge
as I will be primarily monitoring these forums (I found that issue
only by 'accident').

(See http://sourceforge.net/forum/forum.php?forum_id=932715)

Kind regards,


Anatol Mayen

On 15 Mai, 15:38, 0710 ytbr...@gmail.com wrote:
 thank you for your reply but it doesn't seems correct.

 i got this :
 [ERROR] Unable to find 'eu/maydu/gwt/validation/
 ValidationLibrary .gwt.xml' on your classpath; could be a typo, or
 maybe you forgot to include a classpath entry for source?

 i included the jar already.. does anyone else got this error?

 On May 13, 5:07 pm, Salvador Diaz diaz.salva...@gmail.com wrote:

  eu.maydu.gwt.validation.ValidationLibrary

  On 13 mai, 16:53,ytbryanytbr...@gmail.com wrote:

   hi all,

   I refer to this gwt validation library.http://gwt-vl.maydu.eu/
   ValidationShowcase.html
   does anybody know what is the name of the inherited module?

   thank yoU!

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: GWT Validation Library

2009-05-15 Thread amayen

Hi,

The inherits you should use should be like this: inherits
name='eu.maydu.gwt.validation.ValidationLibrary'/

I see that in the error message you posted there is a blank between
the 'y' of ValidationLibrary and '.gwt.xml'.
If this is in your code too, this is probably the cause.

Additionally if you have questions or general feedback for the library
you could always post in the
sourceforge forums, as I will primarily monitor these (I only came
across this post 'accidentally').

Kind regards,

Anatol Mayen

On 15 Mai, 15:38, 0710 ytbr...@gmail.com wrote:
 thank you for your reply but it doesn't seems correct.

 i got this :
 [ERROR] Unable to find 'eu/maydu/gwt/validation/
 ValidationLibrary .gwt.xml' on your classpath; could be a typo, or
 maybe you forgot to include a classpath entry for source?

 i included the jar already.. does anyone else got this error?

 On May 13, 5:07 pm, Salvador Diaz diaz.salva...@gmail.com wrote:

  eu.maydu.gwt.validation.ValidationLibrary

  On 13 mai, 16:53,ytbryanytbr...@gmail.com wrote:

   hi all,

   I refer to this gwt validation library.http://gwt-vl.maydu.eu/
   ValidationShowcase.html
   does anybody know what is the name of the inherited module?

   thank yoU!

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



GWT Validation Library

2009-05-13 Thread ytbryan

hi all,

I refer to this gwt validation library.http://gwt-vl.maydu.eu/
ValidationShowcase.html
does anybody know what is the name of the inherited module?

thank yoU!


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: GWT Validation Library

2009-05-13 Thread Salvador Diaz

eu.maydu.gwt.validation.ValidationLibrary

On 13 mai, 16:53, ytbryan ytbr...@gmail.com wrote:
 hi all,

 I refer to this gwt validation library.http://gwt-vl.maydu.eu/
 ValidationShowcase.html
 does anybody know what is the name of the inherited module?

 thank yoU!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



GWT Validation

2009-04-07 Thread poonam

Hello,
   Actually I have developed a simple GWT validation program ,
where I have set the gwt-validation-1[1].0.jar  path into the
classpath; but I am getting the warnings as follows :

[WARN] Unknown type
'com.google.gwt.validation.client.interfaces.IValidatable' specified
in deferred binding rule

Please help me in solving this.
Or else let me know the website which gives the step-by-step process
for developing GWT Validation program.

Thanks,
Poonam
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



GWT-Validation

2008-11-21 Thread kasp

je veux avoir un exemple d'utilisation du framewok gwt-validation avec
les services RPC.y'a t'il quelqu'un qu'a jeter un coup d'oeil la
dessus?

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---