extending validator
-------------------

         Key: BPM-110
         URL: http://team.andromda.org:8080/jira/browse/BPM-110
     Project: Bpm4Struts Cartridge
        Type: Improvement
    Reporter: Carlos Cuenca
 Assigned to: Wouter Zoons 


I am trying to extend the validation of the fields in Bpm4Struts, my
idea is to write by hand the validator code and  modify the
validator-rules.xml file, but I want the "validation.xml" be written
from the model.

This validation can not be done with simple regular expression, because
they are things like account numbers (which need a calculation within
the numbers to determine if it is correct)

My idea is to be able to specify names within the
@andromda.struts.view.field.validwhen tagged value, and this values
written within the validation.xml.

My problem is with the handleGetValidatorTypes form
StrutsParameterLogic.java does not return anything when the name is not
one of the permited ones. Should not this be "opened" just to allow
writting our own validators?

..in this way a Validator class could contain the validators, so the 
validation-rules can be written correctly form the model.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://team.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to