Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Adrian Gonzalez
Hello, Implemented solution 3 in my github repo [1]. I've tested it on JBoss 7.1.0.Final. I need to test it on WAS 8.0.x now. This solution is fine for my needs :  * EAR usage with 0..n webapps  * I don't use @JsfPhaseListener in my code  * I'm only using CODI JSF Scopes, no other functionnality

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Пестов Алексей
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

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Adrian Gonzalez
Also, you can download directly the patch from github by appending .patch to the commit : In our case; it's  https://github.com/gonzalad/myfaces-extcdi/commit/d141ac555cb263c6413c6f4ddebbd41bd4768eac.patch Best regards, Adrian - Mail original - De : Пестов Алексей

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Adrian Gonzalez
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 

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Пестов Алексей
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_gonza...@yahoo.frwrote: 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

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Mark Struberg
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.ale...@gmail.com To: MyFaces Discussion

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Adrian Gonzalez
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

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Gerhard Petracek
hi adrian, you can try if the approach i used in deltaspike would help. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2013/3/21 Adrian Gonzalez adr_gonza...@yahoo.fr

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Adrian Gonzalez
Hi Gerhard, Thanks, didn't know you already coded @JsfPhaseListener support in DS. Looking at your source code [1], it should work like my patch in CODI : it should work in EAR situation with JBoss 7.1.0, but 'for multiple wars in the same ear all @JsfPhaseListener will be executed - even if

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Gerhard Petracek
hi adrian, we had a lot of discussions about such (ear-)topics (e.g. see the comments at [1]). regards, gerhard [1] https://issues.jboss.org/browse/CDI-129 http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support