Dec 8th, 2010, 12:24 AM
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.
Dec 13th, 2010, 03:47 PM
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
"Corner case pioneer" -- sounds like good resume material. :-)
Tags for this Thread