Hello devs, last days I was working in adding a way for filling the components depending on its domain. In the way throught it I have rewrote the validation engine to make it easier to use.
I have uploaded a new branch in the repository to work on this, as it sustitutes the current validation engine in NavTableForms. If you like the approach I propose here, before integrating it in the trunk, I'd rather prefer to grow and fine-tune it with your suggestions, ideas and patches. A couple of remarks: - It is in prototype phase. It works for me. But needs more love to be a real alternative to current validation engine. - At the moment, you need to have extDBConnection [1] installed, as the values for domain are retrieved from Postgresql database. I'm working in letting the developer to define where she wants to retrieve the values from (database, shapefile, txt). - Let the user to define her own validations. The prototype has only 1 rule (althought including more is almost trivial) and at the end I suppose it won't have more than a dozens of available rules. Nevertheless, I'm looking for a way to let the developer defining her own rules: sometimes, we need a very specific rule for our application but makes no sense to integrate it in navtableforms. To test it, you have to link in your gvsig workspace both the navtableforms and navtableformsexample which are in the branch "extNavTableForms-ValidationAndDomain". I'd like to hear from you. Ideas, comments and patches are welcome! best, amaneiro [1] https://gitorious.org/extdbconnection _______________________________________________ Navtable-devel mailing list [email protected] https://lists.forge.osor.eu/listinfo/navtable-devel
