I used Apache CODI ViewAccessScope in my jsf application. But when i migrate Apache CODI to DeltaSpike (version 0.4), i did't find VViewAccessScope. Can anyone advise me, how to use ViewAccessScope with DeltaSpike
Asked
Active
Viewed 1,038 times
0
-
1Replacing CODI is not recommended yet. – Karl Kildén Jun 19 '13 at 10:53
-
Replacing code 6 years later IS recommended – Kukeltje Nov 23 '19 at 07:53
3 Answers
1
I userd org.apache.deltaspike.core.api.scope.ViewAccessScoped and worked like a charm.
All i had to do was put the folloging dependencies in my pom.xml:
<dependency>
<groupId>org.apache.deltaspike.core</groupId>
<artifactId>deltaspike-core-api</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.deltaspike.core</groupId>
<artifactId>deltaspike-core-impl</artifactId>
<version>1.5.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.deltaspike.modules</groupId>
<artifactId>deltaspike-jsf-module-api</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.deltaspike.modules</groupId>
<artifactId>deltaspike-jsf-module-impl</artifactId>
<version>1.5.1</version>
<scope>runtime</scope>
</dependency>
Hope it helps

Tiago PC
- 109
- 1
- 7
0
Currently it isn't in DeltaSpike. I don't see that they started with it. Anyway, today I learned about http://os890.blogspot.com/2013/07/add-on-codi-scopes-for-deltaspike.html That works perfectly fine in a first test. It looks like it's the original implementation based on DeltaSpike modules instead of CODI-Core.

Dar Whi
- 822
- 5
- 14