Tuesday, June 26, 2012

changing an entity proxy within request in GWT editor framework

I try to build an application based on spring-roo generated GWT code. now I want to do this scenario.

class Foo{      List<Bar> barList;  }  class Bar{      Foo foo;  }  

and barList is owned entity collection for Foo, that means Bars will be saved in Foo crud scenario. but foo link in Bar is not set automatically and I got a constraint violation.

I want to find best place for setting foo link in each newly created Bar. where can I create such link in an application with spring roo gwt application architecture like or generally in an mvp gwt application which used editor framework and request factory?

--
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/-/XTBto4o43k4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment