[ http://galaxy.andromda.org:8080/jira/browse/BPM-155?page=history ]
Wouter Zoons closed BPM-155:
----------------------------
Resolution: Fixed
this has been implemented as follows:
you may have multiple validator tagged value, it is not allowed anymore to
specify more than one per value
these are a few valid examples:
@andromda.struts.view.field.validator=myValidator
@andromda.struts.view.field.validator=myValidator(myVar=myArg)
@andromda.struts.view.field.validator=myValidator(myVar=myArg,myVar2=myArg2)
be careful when using multiple validators with the same 'var' name, the last
one found will be used, but normally this should not happen (I recommend not
using names used by known validators: minlength, test, datePattern, ...)
> Custom validator vars
> ---------------------
>
> Key: BPM-155
> URL: http://galaxy.andromda.org:8080/jira/browse/BPM-155
> Project: Bpm4Struts Cartridge
> Type: Improvement
> Versions: 3.0 RC1
> Environment: all platforms
> Reporter: Augustin Vidovic
> Assignee: Wouter Zoons
> Fix For: 3.0 RC2
>
> It is needed to have the possibility of specifying vars for the custom
> validators set up with the @andromda.struts.view.field.validators tagged
> value.
> Wouter's suggestion for the format is ok :
> @andromda.struts.view.field.validators=myValidator(minLength=X,maxLength=Y)
> Regards,
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://galaxy.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
-------------------------------------------------------
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