Blogs

Blogs

Announcement: Support for JSF in Liferay Portal 7.0 / DXP

On August 29, 2016 Liferay released a new version of Liferay Faces based on the new Liferay Faces Version Scheme. Because of our efforts towards greater modularity, many of the Liferay Faces artifacts now have independent release schedules.

This new release includes support for JSF in Liferay Portal 7.0 / DXP as well as updated support for Liferay Portal 6.2.

Downloads

The www.liferayfaces.org site has been updated with a new portlet on the home page that enables developers to choose their desired combination of Liferay Portal + JSF + Component Suite in order to find project templates (archetypes), and determine dependency configuration.

Component Showcases

Visit www.liferayfaces.org to test-drive our component showcases:

Component Suites

This new release has been tested with the following component suites:

  • Liferay Faces Alloy 3.0.0
  • PrimeFaces 6.0
  • ICEfaces 4.1.1
  • RichFaces 4.5.17.Final

Updated Demos

Visit the demos page in order to find links to updated demo portlets that you can download and try in your Liferay Portal 7.0 / DXP environment.

Related Blogs

The following blog posts are related to this new release and provide important details about the Liferay Faces project:

Thank You

The Liferay Faces team has worked diligently for more than a year in order to make this release possible. Many thanks to Vernon Singleton, Kyle Stiemann, Phil White, Juan Gonzalez, and Cody Hoag for all their hard work and dedication. Also thanks to the members of the Liferay Portal Core Engineering team (Ray Auge, Miguel Pastor, Carlos Sierra, et al.) for all their help in making JSF support a reality in Liferay Portal 7 / DXP. Finally, thanks to Brian Chan and Jorge Ferrer for their leadership and support for our team!

Hello Neil,
Do you have a roadmap concerning the development of a JSF portlet as an OSGi module?
I saw there was the beginning of something over there: https://github.com/liferay/liferay-blade-samples/tree/c1e9d99261e30c5570d0a96f582ad7fb79647c46/gradle/blade.jsf.portlet.ds
But this sample project has been discontinued / removed.
Best regards,
Fabian
Hi Fabian,

You can develop JSF portlets as OSGi modules today.

The project you mentioned was moved to the liferay-faces-portal project:
https://github.com/liferay/liferay-faces-portal/tree/master/demo/jsf-ds-applicant-portlet

Also, I recommend that you watch my Liferay DEVCON 2016 presentation titled "Developing WABs With a View to the Future" https://www.youtube.com/watch?v=z5JkXJeJmmA in which I demonstrate the portlet and discuss the CDI compatibility roadmap.

Kind Regards,

Neil
Thank you very much Neil!
I think I'm almost done making a sample work in my development environment.
However I'm not done amending my bill of materials. I noticed your sample has dependencies with some SNAPSHOT versions.
For example:
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>2.3.0-m07-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
//Where ${mojarra.version} == 2.3.0-m07-SNAPSHOT
I'm running the tomcat bundle for Liferay DXP Digital Enterprise 7.0.10 GA1 (Wilberforce / Build 7010 / June 15, 2016)
Could you please point at a set of dependencies with "release" versions that should work well together for this version of DXP?

Best regards,
Fabian