Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?

2011-08-03 Thread Miroslav Genov
Yeah, in 2.3 validation is a little bit broken, cause it was fully 
refactored after GWT 2.2. The things are working well in GWT 2.4-rc1 I 
think. 

DynaTableRf contains a nice validation example. To check whether JSR-303 is 
working, just check that demo project but don't forget to remove this 
validation check from PersonEditorWorkflow.java

// Check for errors
if (editorDriver.hasErrors()) {
  dialog.setText(Errors detected locally);
//  return;
}

-- 
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/-/Mc9rsviUCqAJ.
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: Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?

2011-08-03 Thread Karthik Reddy
Thanks for the helpful info.

I will go ahead and build the DynatableRF sample in 2.4 and try it out . 
Hopefully, in 2.4's  DynatableRF,  I could witness the fruits of the 
 marriage between client-side validation and editor framework.

-- 
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/-/p9JDcU2Dwq8J.
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: Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?

2011-08-03 Thread objectuser
Did you happen to follow any sort of guide to getting validation working in 
2.4 RC1?  I failed in my attempt.

-- 
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/-/VyH9zyXHd0QJ.
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: Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?

2011-08-03 Thread Karthik Reddy
First bump in the road. As I try to run my DynatableRF sample (2.4 ) I run 
into the following exception:
*
*
*Caused by: java.lang.NoClassDefFoundError: org/json/JSONException
*
*at 
com.google.web.bindery.autobean.shared.impl.StringQuoter.createSplittable(StringQuoter.java:58)
*
*
*
Caused by: java.lang.ClassNotFoundException: null
at 
com.google.gwt.dev.shell.CompilingClassLoader$MultiParentClassLoader.findClass(CompilingClassLoader.java:365)

I did make sure I have json-20090211.jar(this is the jar that contains the 
class org.json.JSONException) in my server's classpath. 


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