Beginning Development with Liferay Faces

Getting started with a JSF application for Liferay is very easy. This learning path guides you step-by-step through creating and developing a JSF application. In particular, you’ll develop a guestbook application which users can use to add messages to a page. When you’re finished, the final guestbook application will look like this:

final-jsf-guestbook.png

Figure 1: The JSF guestbook can store and display entries for many different guestbooks.

You may be wondering how and why JSF is so easy to deploy to Liferay. Isn’t JSF a separate technology? Liferay supports JSF applications with the use of Liferay Faces, which is an umbrella project that provides support for the JSF standard.

JSF portlets use Liferay Faces Bridge, which supports deploying JSF web applications as portlets on any JSR 286 (Portlet 2.0) compliant portlet container, like Liferay Portal 5.2, 6.0, 6.1, and 6.2. You’ll explore more about the bridge later on, but you won’t have to worry about it when creating your JSF application, since it’s configured behind the scenes.

Ready to begin creating a JSF application for Liferay Portal?

Beginning Liferay JSF Development

Before you begin developing a JSF application, you’ll need to install a Liferay development environment. Although it’s possible to use anything from a text editor and command line to any Java IDE...

Read More

Creating a JSF Portlet

Since you’re configured with Liferay IDE/Developer Studio, you can jump right in to creating a JSF application. Applications in Liferay Portal are called portlets, so you’ll create a JSF portlet...

Read More
0 (0 Votes)
Writing a JSF Application Using Liferay Faces Previous