Thanks Gerhard. This solved my problem.
Gerhard Petracek wrote: > > hi, > > you can create a cdi extension, observe ProcessAnnotatedType and call > ProcessAnnotatedType#veto if the class (returned by > processAnnotatedType.getAnnotatedType().getJavaClass()) is > org.apache.myfaces.extensions.cdi.jsf.impl.util.FacesInformationProducer > > regards, > gerhard > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > > 2011/11/4 lindberg <[email protected]>: >> >> I have two procuder methods to the FactesContext type. Myfaces has one >> producer method in FacesInformationProducer class and i have in another >> jar >> other producer to same type. This causes a "Ambiguous Dependency" >> exception. >> How can i solve this problem? Thanks! >> -- >> View this message in context: >> http://old.nabble.com/How-to-deactivate-myfaces-CODI-producer-method-%28CDI%29--tp32781741p32781741.html >> Sent from the My Faces - Dev mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://old.nabble.com/How-to-deactivate-myfaces-CODI-producer-method-%28CDI%29--tp32781741p32782272.html Sent from the My Faces - Dev mailing list archive at Nabble.com.
