[ http://mc4j.org/jira/browse/STS-260?page=all ]
Ben Gunter resolved STS-260.
----------------------------
Resolution: Fixed
662 [bengunter] (12/11/07 12:22 PM) Fixed STS-260: Expose validation
metadata via a public interface. Validation metadata is now globally accessible
through the ValidationMetadataProvider interface, an instance of which can be
obtained from Configuration.
> Expose validation metadata via a public interface
> -------------------------------------------------
>
> Key: STS-260
> URL: http://mc4j.org/jira/browse/STS-260
> Project: Stripes
> Issue Type: New Feature
> Components: Validation
> Reporter: Tim Fennell
> Assigned To: Ben Gunter
> Fix For: Release 1.5
>
>
> Right now all the validation metadata is kept internally in the
> DefaultActionBeanPropertyBinder, which means that if anyone wants access to
> it they either have to extend it and provide hooks, or duplicate the logic
> used to inspect the ActionBean classes.
> It would be really nice to see the information exposed via something like:
> Map<String,ValidationMetadata> getValidationMetadata(Class<? extends
> ActionBean> beanclass);
> Where the key to the Map would be the field name. The only limitation is
> that this could only supply staticly available configuration information.
> Since we're working towards being able to supply validation information
> dynically, it might be nice to also supply something like:
> Map<String,ValidationMetadata> getValidationMetadata(ActionBean instance);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development