You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2010/02/28 18:29:05 UTC
[jira] Created: (EXTCDI-8) producers for bean-validation artifacts
producers for bean-validation artifacts
---------------------------------------
Key: EXTCDI-8
URL: https://issues.apache.org/jira/browse/EXTCDI-8
Project: MyFaces CODI
Issue Type: New Feature
Reporter: Gerhard Petracek
in jee 6+ application servers it's possible to use @Inject in combination with
- javax.validation.Validator
- javax.validation.ValidatorFactory
this should also work outside jee 6+ application servers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (EXTCDI-8) producers for bean-validation artifacts
Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/EXTCDI-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek resolved EXTCDI-8.
-----------------------------------
Resolution: Fixed
> producers for bean-validation artifacts
> ---------------------------------------
>
> Key: EXTCDI-8
> URL: https://issues.apache.org/jira/browse/EXTCDI-8
> Project: MyFaces CODI
> Issue Type: New Feature
> Reporter: Gerhard Petracek
>
> support for
> - javax.validation.Validator (compatible with EXTCDI-20)
> - javax.validation.ValidatorFactory (compatible with EXTCDI-20)
> - javax.validation.ConstraintValidatorFactory (compatible with EXTCDI-20)
> - javax.validation.MessageInterpolator
> usage e.g.:
> @Inject @Advanced
> private javax.validation.Validator validator;
> ...
> this.validator.validate(...);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (EXTCDI-8) producers for bean-validation
artifacts
Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/EXTCDI-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841479#action_12841479 ]
Mark Struberg commented on EXTCDI-8:
------------------------------------
OWB provides this already out of the box (if the openwebbeans-resource is in the classpath).
Will ask JBoss guys whether this is also available if weld is used with native tomcat/jetty
> producers for bean-validation artifacts
> ---------------------------------------
>
> Key: EXTCDI-8
> URL: https://issues.apache.org/jira/browse/EXTCDI-8
> Project: MyFaces CODI
> Issue Type: New Feature
> Reporter: Gerhard Petracek
>
> in jee 6+ application servers it's possible to use @Inject in combination with
> - javax.validation.Validator
> - javax.validation.ValidatorFactory
> this should also work outside jee 6+ application servers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (EXTCDI-8) producers for bean-validation
artifacts
Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/EXTCDI-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841502#action_12841502 ]
Mark Struberg commented on EXTCDI-8:
------------------------------------
Weld doesn't provide this yet, OWB takes the Validator and ValidatorFactory from JNDI.
> producers for bean-validation artifacts
> ---------------------------------------
>
> Key: EXTCDI-8
> URL: https://issues.apache.org/jira/browse/EXTCDI-8
> Project: MyFaces CODI
> Issue Type: New Feature
> Reporter: Gerhard Petracek
>
> in jee 6+ application servers it's possible to use @Inject in combination with
> - javax.validation.Validator
> - javax.validation.ValidatorFactory
> this should also work outside jee 6+ application servers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (EXTCDI-8) producers for bean-validation
artifacts
Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/EXTCDI-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841556#action_12841556 ]
Gerhard Petracek commented on EXTCDI-8:
---------------------------------------
extval supports some special features like dependency injection for constraint validators.
furthermore, it's possible to provide a custom impl. easily. so there might be an add-on which uses cdi for the di part (like the current spring3 add-on)
-> imo it makes sense that codi is able to re-use such customized versions at least for validation in the view-layer.
so we could solve it via the @Jsf qualifier to get a special version (which is cached in the application scope of jsf).
> producers for bean-validation artifacts
> ---------------------------------------
>
> Key: EXTCDI-8
> URL: https://issues.apache.org/jira/browse/EXTCDI-8
> Project: MyFaces CODI
> Issue Type: New Feature
> Reporter: Gerhard Petracek
>
> in jee 6+ application servers it's possible to use @Inject in combination with
> - javax.validation.Validator
> - javax.validation.ValidatorFactory
> this should also work outside jee 6+ application servers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.