myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Gonzalez <adr_gonza...@yahoo.fr>
Subject Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x
Date Thu, 21 Mar 2013 22:25:46 GMT
Hi Mark,

I find CODI really usefull - great library (IMO the JSF scopes are a must-have for any JSF
application).
I'll test the patch on monday on websphere with CLASSLOADER SINGLE and MULTIPLE and wait for Aleksey
feedback before opening the JIRA.


Best regards,

Adrian

P.S. Please note that the patch doesn't solve all the problems (i.e. for multiple wars in
the same ear all @JsfPhaseListener will be executed - even if one of them is only defined
in one ear).
I don't know how to fully resolve this CDI / EAR / WAR / Classloading issue, not sure it's
even doable for now.


----- Mail original -----
De : Mark Struberg <struberg@yahoo.de>
À : MyFaces Discussion <users@myfaces.apache.org>; Adrian Gonzalez <adr_gonzalez@yahoo.fr>
Cc : 
Envoyé le : Jeudi 21 mars 2013 22h01
Objet : Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

Hi folks!

a.) I hope you find CODI useful nontheless ;)
b.) if this fix solves the problems, can you please open a JIRA for the EXTCDI project and
attach the patch?

txs and LieGrue,
strub




----- Original Message -----
> From: Пестов Алексей <pestov.alexey@gmail.com>
> To: MyFaces Discussion <users@myfaces.apache.org>; Adrian Gonzalez <adr_gonzalez@yahoo.fr>
> Cc: 
> Sent: Thursday, March 21, 2013 8:38 PM
> Subject: Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x
> 
> Adrian, thank you very much for quick response!
> 
> I'll try to apply your patch.
> 
> 
> On Thu, Mar 21, 2013 at 9:38 PM, Adrian Gonzalez 
> <adr_gonzalez@yahoo.fr>wrote:
> 
>>  Hi Aleksey,
>> 
>>  Here's the patch file (my first one with git).
>>  I've obtained it executing [1]
>> 
>>  I've changed CODI version from 1.0.5 to 1.0.5.nxs1-SNAPSHOT in the same
>>  commit (so sorry, you have this modification with this patch).
>> 
>> 
>>  Hope this helps,
>> 
>>  [1] execute the following line after cloning
>>  https://github.com/gonzalad/myfaces-extcdi
>>  git diff d141ac555cb263c6413c6f4ddebbd41bd4768eac^
>>  d141ac555cb263c6413c6f4ddebbd41bd4768eac on my
>> 
>> 
>> 
>> 
>>  ----- Mail original -----
>>  De : Пестов Алексей <pestov.alexey@gmail.com>
>>  À : users@myfaces.apache.org
>>  Cc :
>>  Envoyé le : Jeudi 21 mars 2013 18h22
>>  Objet : Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x
>> 
>>  Hello. Today I decided to use it and got the same problem. This does not
>>  work in the EAR to JBoss 7.1.1.
>> 
>>  Adrian, could you please make a patch (*.diff) with your solution?
>> 
>>  I would also like to know about your option 2)
>> 
>>  >>2. remove @JsfPhaseListener and rely on classic phaseListeners 
> configured
>>  with faces-config.xml
>> 
>>  Can do this in faces-config.xml of my application, not in
>>  myfaces-extcdi-bundle-jsf20-1.0.5.jar
>>  ?
>> 
>>  Best regards,
>> 
>>  Aleksey
>> 
> 
> 
> 
> -- 
> С уважением,
> Алексей Пестов
> тел. +7 (925) 067-32-13
>


Mime
View raw message