[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-135) Patch to allow pluggable validation implementations
Gavin King (JIRA)
jira-events at jboss.com
Sat Dec 16 08:51:43 EST 2006
[ http://jira.jboss.com/jira/browse/JBSEAM-135?page=all ]
Gavin King closed JBSEAM-135.
-----------------------------
Resolution: Out of Date
No longer relevant since @IfInvalid was deprecated
> Patch to allow pluggable validation implementations
> ---------------------------------------------------
>
> Key: JBSEAM-135
> URL: http://jira.jboss.com/jira/browse/JBSEAM-135
> Project: JBoss Seam
> Issue Type: Patch
> Components: Core
> Affects Versions: 1.0 beta 2
> Reporter: Marvin van Schalkwyk
> Attachments: pluggable-validator.patch, validation- at ifValid.patch
>
>
> I needed to replace the Hibernate Validator implementation with my own. I also needed to allow invalid values that were not associated with a particular property.
> Summary of changes:
> - New package, org.jboss.seam.validator, that defines interfaces for Component Validator Factories, Component Validators, and Invalid Values. Also in here are the default Hibernate Validator implementations of each.
> - New built-in component, org.jboss.seam.core.Validator, that provides the ComponentValidatorFactory instances. Exposes a factoryClass attribute for seam.properties to replace the default Hibernate Validator factory implementation.
> - Changes to Component for obvious reasons, and also to lazily initialize validators, since validation now depends on a component in application scope.
> - Changes to Initialization to init new Validator component.
> - Changes to the InterceptorTest to get it working with the changes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list