[ http://thecla.homeftp.net:8380/jira/browse/BPM-110?page=history ]
Wouter Zoons updated BPM-110:
-----------------------------
Description:
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.
was:
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.
Environment:
Version: 3.0 M3
Fix Version: 3.0 RC2
> extending validator
> -------------------
>
> Key: BPM-110
> URL: http://thecla.homeftp.net:8380/jira/browse/BPM-110
> Project: Bpm4Struts Cartridge
> Type: Improvement
> Versions: 3.0 M3
> Reporter: Carlos Cuenca
> Assignee: Wouter Zoons
> Fix For: 3.0 RC2
>
>
> 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://thecla.homeftp.net:8380/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel