hi ludovic,

that's also an owb issue of version 1.5.0.
once the beans.xml file is in the WEB-INF folder, the new bda-mode
"annotated" is used (independent of the information provided by the
beans.xml file).
-> we should move this thread to the owb list as well.

fyi - there are different "workarounds" for it:
#1 annotate the Pages interface with @ViewConfigRoot + e.g.
@ApplicationScoped (see [1])
or
#2 move the beans.xml file to META-INF
or
#3 move the view-config to a jar-file (with a META-INF/beans.xml)

regards,
gerhard

[1] http://deltaspike.apache.org/documentation/jsf.html#@ViewConfigRoot



2015-05-09 1:54 GMT+02:00 "PÉNET LUDOVIC" <[email protected]>:

> Dear all,
>
> I can not resolve a view config when using DS 1.3.0 / OWB 1.5.0.
>
> Please find attached an example in which :
> * if you navigate to /accueil.xhtml, an exception is raised when trying to
> resolve a statically configured view
> * if you navigate to /accueil2.xhtml, you got even less as the
> @ApplicationScoped bean does not seem to be found.
>
> I am using Tomcat 8.0.21 / Java 8 b45.
>
> Thanks in advance,
>
> Ludovic
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>

Reply via email to