I have a custom document and I want to validate one of the fields, which is a text field, before document creation. Validation means parsing it against a regular expression. Is there any way to do this in Nuxeo?
Each field is implemented as a JSF component. You can use validation system.
Easy way with Nuxeo Studio/IDE, here is the documentation:
http://doc.nuxeo.com/x/XYSE
But if you want to do it yourself, because you feel as an JSF expert :
http://doc.nuxeo.com/x/pgQz
Hi have created a validator but nuxeo can't find it.
I just solved it.
I recommend to use Seam component instead a pure JSF validator, for refactoring and managing, all will be easier.