Re: Discussion: Entity Engine Field Validators

2010-07-01 Thread Jacques Le Roux
files? -Adrian --- On Sat, 6/26/10, David E Jones d...@me.com wrote: From: David E Jones d...@me.com Subject: Re: Discussion: Entity Engine Field Validators To: dev@ofbiz.apache.org Date: Saturday, June 26, 2010, 9:58 AM The validators are only used in the WebTools Entity Data Maintenance screens

Re: Discussion: Entity Engine Field Validators

2010-07-01 Thread Adrian Crum
me. -David On Jun 30, 2010, at 11:45 PM, Adrian Crum wrote: Would there be any objections to me removing the validators from the fieldtype*.xml files? -Adrian --- On Sat, 6/26/10, David E Jonesd...@me.com wrote: From: David E Jonesd...@me.com Subject: Re: Discussion: Entity Engine Field

Re: Discussion: Entity Engine Field Validators

2010-06-30 Thread Adrian Crum
Would there be any objections to me removing the validators from the fieldtype*.xml files? -Adrian --- On Sat, 6/26/10, David E Jones d...@me.com wrote: From: David E Jones d...@me.com Subject: Re: Discussion: Entity Engine Field Validators To: dev@ofbiz.apache.org Date: Saturday, June 26

Re: Discussion: Entity Engine Field Validators

2010-06-30 Thread David E Jones
: Entity Engine Field Validators To: dev@ofbiz.apache.org Date: Saturday, June 26, 2010, 9:58 AM The validators are only used in the WebTools Entity Data Maintenance screens. They are intentionally not used in other parts of the project as validation is best in the logic layer

Discussion: Entity Engine Field Validators

2010-06-26 Thread Adrian Crum
The entity engine allows you to specify field validators in two places: in the fieldtypeXxx.xml files and in the the entity definition. The validators in the fieldtype files are not used as far as I can tell. The validators in the entity definitions require complicated client code to use them

Re: Discussion: Entity Engine Field Validators

2010-06-26 Thread David E Jones
The validators are only used in the WebTools Entity Data Maintenance screens. They are intentionally not used in other parts of the project as validation is best in the logic layer, and not in the data layer (makes things far more reusable and flexible). I actually consider these to be a bad

Re: Discussion: Entity Engine Field Validators

2010-06-26 Thread Adrian Crum
Cool - thanks! -Adrian --- On Sat, 6/26/10, David E Jones d...@me.com wrote: From: David E Jones d...@me.com Subject: Re: Discussion: Entity Engine Field Validators To: dev@ofbiz.apache.org Date: Saturday, June 26, 2010, 9:58 AM The validators are only used in the WebTools Entity Data