From: Denis F. <de...@de...> - 2007-06-01 07:20:54
|
On Jun 1, 2007, at 5:36 AM, Stephen Edwards wrote: > In other words, the rules in the ERD2W framework make > ERD2WDisplayString > the default, then override it in the case of relationships to entities > with shared objects (only). The default for entities without shared > fetch specs is not ERD2WEditToManyFault (or ERD2WEditToOneFault) or > something. So no shared fetch specs == no editing of relationships. > That seems broken. Yes, this looks like a bug to me. I don't see the effect since I override rules from ERD in my own framework. The problem is caused by this rule: 1: not (task = 'query') => componentName = "ERD2WDisplayString" which overrides: 0: (task = 'edit' and propertyType = 'r' and not (relationship.isToMany = 1)) => componentAvailable = "D2WEditToOneFault" from JavaDirectToWeb.framework And you are right, it looks like a proper solution would be add a rule like one from JavaDirectToWeb.framework for ERD2WEditToOneFault. -- Denis Frolov Design Maximum MA Tel: +7 863 2648211 Fax: +7 863 2645229 Web: http://www.designmaximum.com |