Are there also any limitations which ajax and redirects or could the warning break this functionality? I tried a simple redirect with ajax and the action attribute of p:commandButton but this does not work if i use the page class as return value. The page class is also annotated with: @Page(navigation = NavigationMode.REDIRECT). Navigation Rules for example works without problems :)
2011/10/28 Thomas Andraschko <zoi...@googlemail.com> > Hi Mark! > > I using CODI 1.0.1 with OWB 1.1.2. > > It's almost a clean project! > I just added a ViewConfig (like [1]) and these warnings occured. Without > this ViewConfig, no warnings occured :) > > Thanks and best regards, > Thomas > > [1] > http://code.google.com/a/apache-extras.org/p/myfaces-codi-examples/source/browse/community/src/main/java/org/apache/extras/myfaces/codi/examples/community/view/config/Pages.java > > > 2011/10/28 Mark Struberg <strub...@yahoo.de> > >> hi Thomas! >> >> Which CODI version are you using and which server environment (OWB or >> Weld)? >> Is there any example project to reproduce this issue? >> >> >> LieGrue, >> strub >> >> >> >> ----- Original Message ----- >> > From: Thomas Andraschko <zoi...@googlemail.com> >> > To: MyFaces Discussion <users@myfaces.apache.org> >> > Cc: >> > Sent: Friday, October 28, 2011 2:05 PM >> > Subject: Warning with CODI and MyFaces >> > >> > Hi, >> > >> > i get following warning from OWB: >> > WARNUNG: No suitable constructor found for injection target class : >> [class >> > >> org.apache.myfaces.shared.context.SwitchAjaxExceptionHandlerWrapperImpl]. >> > produce() method does not work! >> > 28.10.2011 14:00:42 >> > org.apache.webbeans.component.creation.AnnotatedTypeBeanCreatorImpl >> > defineConstructor >> > WARNUNG: No suitable constructor found for injection target class : >> [class >> > org.apache.myfaces.context.MyFacesExceptionHandlerWrapperImpl]. >> produce() >> > method does not work! >> > >> > How can i solve this? This warnings will be logged on each request and >> will >> > blow up my logs :) >> > >> > Best regards >> > Thomas >> > >> > >