So you have an association class with some properties like "type of relationship", "time of union", etc. You want users to edit these properties or rewire the relationships or both?
If its just modifying the "modifiers" of the relationship then I believe you can treat the association object as a simple CRUD pattern. But you will need to be sure to load the object in Prepare and then apply parameters so that you don't lose your relationships when you save the updated properties. Aled Rhys Jones wrote: > > Hi all > > I've got a many to many relationship between two models, but in this > case the relationship is also represented by a model as it contains data > that represents a reference of sorts between both models. Its table > therefore has data in addition to the UID's of the other models. > > Any one got any pointers what the best method is for allowing the user > to edit the relationship data in the web interface? I'm using Spring MVC > with hibernate. One idea I had was to emulate the many to many table > e.g. used by the user-role relationship in the user form, but make the > added models on the right clickable so the user could edit the > relationship data. Feasible? Appfuse has a load of great tools and I'd > hate to be reinventing the wheel here. > > Cheers > Aled > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Add-ManyToOne-relationship-between-user-and-a-new-pojo-tf3993393s2369.html#a11354912 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
