From: Denis F. <de...@de...> - 2007-05-14 16:08:40
|
Hi, ERD2WPropertyName.displayRequiredMarker seems to be duplicating logic in rules now. This prevents overriding of "isMandatory" via rules. Such overriding can be useful in cases like: (task = 'edit' and componentName = 'D2WEditBoolean') => isMandatory = false, since it doesn't make sense to show a required mark for checkbox. Attached is a patch that removes duplication and allows overriding of isMandatory. Alternatively it probably makes sense to move "displayRequiredMarker" to rules and define a rule like: (task = 'edit' and isMandatory = '0') => displayRequiredMarker = true Thanks in advance for reviewing this suggestion and patch. -- Denis Frolov Design Maximum MA Tel: +7 863 2648211 Fax: +7 863 2645229 Web: http://www.designmaximum.com |