Overview
Other MyFaces Extensions
- ExtVal
- Ext-Script
- [Orchestra]
- [Portlet Bridge]
Community
Development
Sponsorship
Unknown macro: {iframe}
Your browser does not support iframes
...
Add Apache OpenWebBeans to the project (see the documentation of the project).
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<dependency> <groupId>org.apache.myfaces.extensions.cdi.modules.jee5-support</groupId> <artifactId>myfaces-extcdi-jee5-openwebbeans-support</artifactId> <version>${myfaces.codi.version}</version> <scope>runtime</scope> </dependency> |
Furthermore, you have to replace the WebBeans listener in the web.xml with the listener provided by MyFaces CODI.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<listener> <listener-class>org.apache.myfaces.extensions.cdi.openwebbeans.startup.WebBeansAwareConfigurationListener</listener-class> </listener> |
...
Add Weld to the project (see the documentation of the project).
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<dependency> <groupId>org.apache.myfaces.extensions.cdi.modules.jee5-support</groupId> <artifactId>myfaces-extcdi-jee5-weld-support</artifactId> <version>${myfaces.codi.version}</version> <scope>runtime</scope> </dependency> |
Furthermore, you have to replace the Weld listener in the web.xml with the listener provided by MyFaces CODI.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<listener> <listener-class>org.apache.myfaces.extensions.cdi.weld.startup.WeldAwareConfigurationListener</listener-class> </listener> |