myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <>
Subject [jira] Created: (EXTCDI-58) support for @Inject in converters and validators
Date Sun, 19 Sep 2010 00:06:32 GMT
support for @Inject in converters and validators

                 Key: EXTCDI-58
             Project: MyFaces CODI
          Issue Type: New Feature
          Components: JEE-JSF12-Module, JEE-JSF20-Module
            Reporter: Gerhard Petracek

the qualifier annotation @Advanced should be re-used as marker annotation for marking jsf
converters and validators which should benefit from dependency injection.

example in combination with jsf2:

public class DependencyInjectionAwareValidator implements Validator
  private CustomValidationService customValidationService;

  public void validate(FacesContext ctx, UIComponent component, Object value) throws ValidatorException
    Violation violation = this.customValidationService.validate(value);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message