hi thomas,

please have a look at [1].

regards,
gerhard

[1]
http://people.apache.org/~gpetracek/myfaces/codi/demos/view-config-navigation-demo.zip

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2011/10/30 Thomas Andraschko <zoi...@googlemail.com>

> Hi Gerhard,
>
> thanks for your answer.
> I tried to reproduce the warning at home and it does not occur. I will try
> this next week @ work.
> But the redirect with p:commandButton does also not work. Following warning
> occurs:
>
> No navigation case match for viewId /pages/index.xhtml,  action
> #{loginController.login()} and outcome class Pages$Secure$Index.
>
> If i use a String as return value for the login method with
> "/pages/secure/index.xhtml?faces-redirect=true", it works without problem.
>
> Thanks and best regards,
> Thomas
>
>
>
>
>
>
> 2011/10/28 Gerhard Petracek <gerhard.petra...@gmail.com>
>
> > hi thomas,
> >
> > all of our examples and applications work without such a warning ->
> please
> > provide an example which illustrates the issue.
> >
> > regards,
> > gerhard
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > 2011/10/28 Thomas Andraschko <zoi...@googlemail.com>
> >
> > > 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
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
>

Reply via email to