deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PÉNET LUDOVIC" <l.pe...@senat.fr>
Subject Re: Problem with JSF module / static view config
Date Sat, 09 May 2015 11:58:19 GMT

"PÉNET LUDOVIC" a écrit :
>
> Gerhard Petracek a écrit :
>> 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)
> I am not sure it is a purely OWB 1.5.0 issue.
>
> If I moved the beans.xml file to META-INF, I am still in the same
> situation.
Oh, I did a mistake when testing.

Moving the beans.xml file solves the issue. That will be enough for me.

Thank you for your help.

By the way, is there a doc on CDI you would recommend to read for someone
jumping from CDI 1.0 (I read the RFC) to 1.2 ?

Thanks again,

Ludovic

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Mime
View raw message