See 
https://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts#Flow
 for 
the flow on the server-side.
Notably, validation shouldn't happen in a transaction.
How are managing your sessions/transactions? What are their respective 
lifetimes?

On Saturday, March 23, 2013 7:38:15 PM UTC+1, Nils wrote:
>
> Hello,
> any ideas why the Receiver method onFailure is triggered instead of 
> onConstraintViolation when validation fails on server side?
> I just have to annotate the entities in my ejb module right? I'm using 
> RequestFactory for communication with server.
> On server side i'm getting a rollback exception caused by a 
> constraintViolationException, so everything seems to be right.
> I'm using JBoss 6.1.0 Final and gwt 2.4 with requestfactory(also tried gwt 
> 2.5).
> I have an extra webapplication for RequestFactory, there i have a class 
> extending DefaultRequestTransport. On my client project i'm
> doing requestFactory.initialize(eventBus, <class extending 
> DefaultRequestTransport>.
> I also did a post on gwt-validation group (
> https://groups.google.com/forum/#!topic/gwt-validation/skPpP2kOvaQ) with 
> some more
> information.
>
> Thanks in advance.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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.


Reply via email to