[jboss-jira] [JBoss JIRA] Commented: (JBAS-8061) Integrate JSF with new Annotation Scanning

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Wed Jul 28 15:19:33 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12541661#action_12541661 ] 

Lincoln Baxter III commented on JBAS-8061:
------------------------------------------

I'm not sure this is working in M4 -- I'm still getting: 

15:11:21,069 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] JSF1005: Cannot instantiate validator of type integerValidator

When this class is on the classpath:

-----------------------------------------------------------------------------------------------------------------------------------------------
package com.ocpsoft.socialpm.validator;

import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;

@FacesValidator("integerValidator")
public class IntegerValidator implements Validator
{
   @Override
   public void validate(final FacesContext context, final UIComponent component, final Object value) throws ValidatorException
   {
       //...
   }
}


> Integrate JSF with new Annotation Scanning
> ------------------------------------------
>
>                 Key: JBAS-8061
>                 URL: https://jira.jboss.org/browse/JBAS-8061
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: JSF
>    Affects Versions: 6.0.0.M4
>            Reporter: Stan Silvert
>            Assignee: Stan Silvert
>             Fix For: 6.0.0.M4
>
>
> Make JSF use the JBossAnnotationProvider from the new scanning lib that Ales just integrated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list