-
Dec 8th, 2010, 12:24 AM
#1
Are set relationships implemented in GWT scaffolding?
I created a simple GWT app and ran gwt setup to generate a scaffold. Unlike the expenses sample, though, none of my entity classes had entityProxy classes created in client.managed.request. This causes ApplicationEntityTypesProcess.getAll to return an empty set, and the module fails to load then because ScaffoldDesktopApp.init assumes at least one entity class.
Comparing the roo logs, expenses.roo uses references for many-to-one relationships, while I used sets for many-to-many. Is support for sets implemented in GWT scaffolding? If not, I can look into adding it unless someone else is working on it.
Tom
-
Dec 13th, 2010, 03:47 PM
#2
Hey, Tom.
I believe sets work on the "many" end of a 1:many relationship, although the widget that shows up is a bit on the squirrelly side. So I think you're running into a lack of support for many:many relationships in addon-gwt, rather than anything about sets in particular.
I really don't remember why those aren't supported, maybe for no good reason. But if you do jump on the issue I imagine you'll be doing some exciting corner case pioneering.
-
Dec 13th, 2010, 04:20 PM
#3
"Corner case pioneer" -- sounds like good resume material. :-)
Thanks,
Tom
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules