O'Reilly logo

Liferay 6.2 User Interface Development by Jonas X. Yuan, Xinsheng Chen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The jQuery UI

The jQuery UI consists of web page effects, interactions, widgets, themes, and utilities. It is the most popular UI API, plus it is open source.

Usually, we import a core jQuery JavaScript API into our JavaServer Pages (JSP) file. Then, we import one or more jQuery plugin JavaScript API files. Thus, we use jQuery features in our UI.

jQuery can be easily integrated into the Liferay Portal. In this section, we will create a melon portlet that uses the date picker of jQuery. The date picker has the localization feature.

Creating a localized calendar with jQuery

Execute the following steps to create a melon portlet in the Liferay IDE:

  1. Create a Liferay project with melon as the Project name value.
  2. Update the view.jsp file of the portlet to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required