RE: [OFBiz] Dev - Entity field validators

Posted by Robert Riggins on
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Dev-Entity-field-validators-tp166047p166048.html

I don't have an answer, but I'm interested in this also. I've watched
for a response to this message and after a couple days without a
response, I thought I'd try to keep this topic alive.

Does anyone have experience with the type of validation Peter mentions
below?

Thanks,
Rob Riggins

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of Peter Goron
Sent: Friday, September 23, 2005 3:37 AM
To: [hidden email]
Subject: [OFBiz] Dev - Entity field validators

Hi,

Entity engine defines in its xml schemas that a validation method can be
associated to entity field type and/or to a specific field of an entity.
e.g:
<field-type-def type="id-ne" sql-type="VARCHAR(20)"java-type="String">
  <validate method="isNotEmpty" />
</field-type-def>

I would like to know when validation methods are called because after
having done some tests and checked entity engine source code, it seems
that validation methods are never called.

Do I miss something ?

Peter


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev