Develop JSF Portlet Compatibility with Contexts and Dependency Injection (CDI)

Description

This feature includes making sure that the new Java EE 6 Contexts and Dependency Injection (CDI) feature works with Liferay Faces Bridge in Liferay Portal. Plans are to test against JBoss Weld, but not Open WebBeans. Now that the WELD-510 issue has been fixed, it should be possible to verify that this works.

Environment

None

Activity

Show:

Neil Griffin June 18, 2013 at 12:53 PM

Please refer to the wiki article titled Developing JSF Portlets with CDI .

Neil Griffin April 18, 2013 at 2:06 PM
Edited

Hi Everyone,

I want to thank everyone watching this ticket for being so patient. I know that this feature has been a long time coming.

The good news is that we just committed the new jsf2-cdi-portlet demo to Git. For more information, see: . As I mentioned in that ticket, we don't have the source code committed to Git for the new cdi1-portlet-bridge-shared.jar dependency. Please continue watching this issue () to learn about when that code is available. You might also want to look at which documents a new feature for detecting the version of CDI in the classpath.

Thanks again,

Neil

Alfonso Mateos Alarcon April 18, 2013 at 2:25 AM

Good Morning, Neil, do you know an approximate date for this issue to be closed? It would be great to use CDI right from JSF portlets

Neil Griffin March 28, 2013 at 10:42 AM

@Ivar: We are developing a CDI compatibility JAR that might help. I will report back here when we have a JAR you can try. It might be another week or two before it's ready. Thanks for being so patient. – Neil

Juan Gonzalez March 28, 2013 at 1:14 AM

Great step forward having CDI in Liferay

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Zendesk Support

Created May 8, 2012 at 3:21 PM
Updated June 18, 2013 at 12:53 PM
Resolved June 18, 2013 at 12:52 PM