On Sep 7, 2009, at 8:51 PM, David LeBer wrote:
I find it helpful to create a model group for my projects in RuleModeler (File -> New Model Group) that I add references to all of the model files that my project depends on. Something like:
MyApp: user.d2wmodel
MyFramework: d2w.d2wmodel
MyLook: d2w.d2wmodel
ERDirectToWeb: d2w.d2wmodel
JavaDirectToWeb: d2w.d2wmodel
This makes it easier to trace all of the rules that may apply.
For your particular problem, try adding rules like the following:
90 (task = 'edit' and smartRelationship != null and not (smartRelationship.isToMany = 1)) => componentName = "ERD2WEditToOneRelationship" [Assignment]
90 (task = 'edit' and smartRelationship.isToMany = 1) => componentName = "ERD2WEditToManyFault" [Assignment]
If I remember correctly the default Wonder rules seem to miss these.