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

Something more

Furthermore, you would like to use more UI taglibs in your portlets such as captcha, flash, group search, user display and user search, and the header, as shown in the following table. Note that the tag liferay-ui:captcha is going to display CAPTCHA by default or reCAPTCHA when reCAPTCHA is enabled in Control Panel | Server Administration | CAPTCHA, and both Public Key and Private Key are provided too:

Name

Tag

Sample code

Attributes

captcha

liferay-ui:captcha

<liferay-ui:captcha url="<%= captchaURL %>" />

Required: url

flash

liferay-ui:flash

<liferay-ui:flash

allowFullScreen="true"

allowScriptAccess="true"

height="<%= height %>"

movie='<%= _SWF_URL + "?" + sb.toString() %>'

width="<%= width %>" ...

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