PUBLIC - Liferay Faces
  1. PUBLIC - Liferay Faces
  2. FACES-1211

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

    Details

    • Similar Issues:
      Show 5 results 

      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.

        Issue Links

          Activity

          Hide
          Juan Gonzalez added a comment -

          Great step forward having CDI in Liferay

          Show
          Juan Gonzalez added a comment - Great step forward having CDI in Liferay
          Hide
          Neil Griffin added a comment -

          @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

          Show
          Neil Griffin added a comment - @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
          Hide
          Alfonso Mateos added a comment -

          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

          Show
          Alfonso Mateos added a comment - 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
          Hide
          Neil Griffin added a comment - - 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: FACES-1507. 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 (FACES-1211) to learn about when that code is available. You might also want to look at FACES-1546 which documents a new feature for detecting the version of CDI in the classpath.

          Thanks again,

          Neil

          Show
          Neil Griffin added a comment - - 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: FACES-1507 . 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 ( FACES-1211 ) to learn about when that code is available. You might also want to look at FACES-1546 which documents a new feature for detecting the version of CDI in the classpath. Thanks again, Neil
          Hide
          Neil Griffin added a comment -

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

          Show
          Neil Griffin added a comment - Please refer to the wiki article titled Developing JSF Portlets with CDI .

            People

            • Votes:
              12 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Structure Helper Panel