JSR303 Pre-Persist / Pre-Persist / Pre-Remove Validation not covered by onConstraintViolations() and throws Exception

2012-04-03 Thread Romain BIARD
Hi all, I'm writing Custom Validators (server side I mean) in order to validate an entity before a persist() call (and only in this specific case). Actually my final goal is to display localized messages when users want to insert a duplicate entry in my CRUD Webapp. To do this, i have

Re: JSR303 Pre-Persist / Pre-Persist / Pre-Remove Validation not covered by onConstraintViolations() and throws Exception

2012-04-03 Thread Romain BIARD
avril 2012 22:40:04 UTC+2, Romain BIARD a écrit : Hi all, I'm writing Custom Validators (server side I mean) in order to validate an entity before a persist() call (and only in this specific case). Actually my final goal is to display localized messages when users want to insert

Interface composition on Proxies

2012-03-12 Thread Romain BIARD
Hi all, I'm trying to do this kind of things: interface HasCode{ void setCode(String code); String getCode(); } interface IsIdentifiable{ void setId(Long id); Long getId(); Integer getVersion(); void setVersion(Integer version); } @ProxyFor(AProxy.class) interface AProxy

RequestFactory and JSR 303 validator behavior customization

2011-09-30 Thread Romain BIARD
Hi all, My project has some Entities stored in Mysql and we are using Hibernate Validator as JSR 303 implementation. My problem is that GWT ServiceLayerDecorator considers that any operations on the database need a complete validation on the objects, even delete (in my case). Maybe it would

Class Cast Exception while running requestfactory-apt

2011-09-27 Thread Romain BIARD
Hi all, I'm updating my project to GWT 2.4.0 but i'm facing an issue not really documented while running requestfactory-apt. [INFO] javac option: -proc:only [INFO] javac option: -d [INFO] javac option: /Users/romainbiard/Soft/workspace-foo/bar/target/ foobar-1.0.8-SNAPSHOT/WEB-INF/classes [INFO]

Re: Class Cast Exception while running requestfactory-apt

2011-09-27 Thread Romain BIARD
Thank you Thomas, I found the issue just after i started this thread. -- 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/-/7CH_yeS5P9UJ. To post to

ValueProxy Implementation Rule ?

2011-07-30 Thread Romain BIARD
Hi all, I'm using valueProxies in order to give Criterias to a static method find located in my ServerSide Entity. Each ValueProxy had a setter and a getter. But today I realized that only setter had to be used Client side so I decided to remove all the getters on the Proxy but let them on

Re: RF constraint violation reporting with unpersisted proxies

2011-07-19 Thread Romain BIARD
I just posted the whole patched class ... It works great for me: http://code.google.com/p/google-web-toolkit/issues/detail?id=6319 Romain On Jul 18, 8:25 pm, Jesse Hutton jesse.hut...@gmail.com wrote: I'm just starting with RF and I hit a snag related to the workflow of

NPE when HasDataEditor for field of type List initialize()

2011-06-22 Thread Romain BIARD
for instance). Best Regards Romain BIARD -- 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

Re: Need Feedback on charts frameworks for GWT

2011-03-23 Thread Romain BIARD
Ok first of all thanks for sharing your XP ;) @Martin Trummer In fact I don't have internet access while most of applications we are developing are located on client's intranet :( I'll take a look on chronoscope :) @Daniel Renner GXT was my first idea but GPLv3 or Commercial License don't fit my

Need Feedback on charts frameworks for GWT

2011-03-21 Thread Romain BIARD
Hi everybody, I'm looking for different feedback about frameworks which provides client-side charts, especially well integrated with GWT MVP Architecture (I managed to persuade my client to migrate to GWT 2.2.0 :p ) . I don't know which solution fit the best and the community didn't discuss about

NPE on Integrating GIN with Request Factory

2011-01-21 Thread Romain BIARD
Hi everybody, I'm currently trying to integrate GIN on a POC which deals with RequestFactory and EventBus. 1) I first noticed that I had to extends some Technical Classes with no reasons except to mark the constructor whit @Inject like this : public class PamdaPlaceHistoryHandler extends