BeanValidation JSR 303
Hello People. What do you recommend for DTO validation? Regards Fabricio -- 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: BeanValidation JSR 303
Hello, Fabricio. I try to use GWT validation (http://code.google.com/p/google-web- toolkit/wiki/BeanValidation , started from GWT 2.4.0). This package is in EXPERIMENTAL state but I suppose it will be released soon (1year). There are some troubles with usage (I still cannot use 2 validators per application, not all constraints can be used to validate beans - @AssertTrue on properties are ignored, for example), but it is JSR-303 validation. Sample from GWT - http://code.google.com/p/google-web-toolkit/source/browse/#svn%2Ftrunk%2Fsamples%2Fvalidation There is another implementation of JSR-303 for GWT - http://code.google.com/p/gwt-validation/w/list I have no experience with this implementation. Regards, Alex. On 30 ноя, 20:38, Fabricio Pizzichillo fpizzichi...@gmail.com wrote: Hello People. What do you recommend for DTO validation? Regards Fabricio -- 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.
Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?
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 ?
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 ?
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 ?
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.
Do Beanvalidation(JSR-303) and editor framework play along well ?
In other words does a call like SimpleBeanEditorDriver.getErrors() give me a list of errors. I am trying this in 2.3 and I do not seem to be able to retrieve the errors via SimpleBeanEditorDriver.getErrors() . -- 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/-/-6kbyKDXOp4J. 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.